-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release artifacts for release v1.0.2-rc.1
- Loading branch information
Zijun Wang
committed
Dec 18, 2023
1 parent
c41e298
commit a08daa7
Showing
12 changed files
with
948 additions
and
64 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
711 changes: 654 additions & 57 deletions
711
examples/deploy-v0.0.17.yaml → examples/deploy-v1.0.2-rc.1.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
|
||
package main | ||
|
||
import ( | ||
"encoding/gob" | ||
"flag" | ||
"fmt" | ||
"os" | ||
"path" | ||
"reflect" | ||
|
||
"github.com/golang/mock/mockgen/model" | ||
|
||
pkg_ "github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice" | ||
) | ||
|
||
var output = flag.String("output", "", "The output file name, or empty to use stdout.") | ||
|
||
func main() { | ||
flag.Parse() | ||
|
||
its := []struct{ | ||
sym string | ||
typ reflect.Type | ||
}{ | ||
|
||
{ "RuleManager", reflect.TypeOf((*pkg_.RuleManager)(nil)).Elem()}, | ||
|
||
} | ||
pkg := &model.Package{ | ||
// NOTE: This behaves contrary to documented behaviour if the | ||
// package name is not the final component of the import path. | ||
// The reflect package doesn't expose the package name, though. | ||
Name: path.Base("github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice"), | ||
} | ||
|
||
for _, it := range its { | ||
intf, err := model.InterfaceFromInterfaceType(it.typ) | ||
if err != nil { | ||
fmt.Fprintf(os.Stderr, "Reflection: %v\n", err) | ||
os.Exit(1) | ||
} | ||
intf.Name = it.sym | ||
pkg.Interfaces = append(pkg.Interfaces, intf) | ||
} | ||
|
||
outfile := os.Stdout | ||
if len(*output) != 0 { | ||
var err error | ||
outfile, err = os.Create(*output) | ||
if err != nil { | ||
fmt.Fprintf(os.Stderr, "failed to open output file %q", *output) | ||
} | ||
defer func() { | ||
if err := outfile.Close(); err != nil { | ||
fmt.Fprintf(os.Stderr, "failed to close output file %q", *output) | ||
os.Exit(1) | ||
} | ||
}() | ||
} | ||
|
||
if err := gob.NewEncoder(outfile).Encode(pkg); err != nil { | ||
fmt.Fprintf(os.Stderr, "gob encode: %v\n", err) | ||
os.Exit(1) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
|
||
package main | ||
|
||
import ( | ||
"encoding/gob" | ||
"flag" | ||
"fmt" | ||
"os" | ||
"path" | ||
"reflect" | ||
|
||
"github.com/golang/mock/mockgen/model" | ||
|
||
pkg_ "github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice" | ||
) | ||
|
||
var output = flag.String("output", "", "The output file name, or empty to use stdout.") | ||
|
||
func main() { | ||
flag.Parse() | ||
|
||
its := []struct{ | ||
sym string | ||
typ reflect.Type | ||
}{ | ||
|
||
{ "ListenerManager", reflect.TypeOf((*pkg_.ListenerManager)(nil)).Elem()}, | ||
|
||
} | ||
pkg := &model.Package{ | ||
// NOTE: This behaves contrary to documented behaviour if the | ||
// package name is not the final component of the import path. | ||
// The reflect package doesn't expose the package name, though. | ||
Name: path.Base("github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice"), | ||
} | ||
|
||
for _, it := range its { | ||
intf, err := model.InterfaceFromInterfaceType(it.typ) | ||
if err != nil { | ||
fmt.Fprintf(os.Stderr, "Reflection: %v\n", err) | ||
os.Exit(1) | ||
} | ||
intf.Name = it.sym | ||
pkg.Interfaces = append(pkg.Interfaces, intf) | ||
} | ||
|
||
outfile := os.Stdout | ||
if len(*output) != 0 { | ||
var err error | ||
outfile, err = os.Create(*output) | ||
if err != nil { | ||
fmt.Fprintf(os.Stderr, "failed to open output file %q", *output) | ||
} | ||
defer func() { | ||
if err := outfile.Close(); err != nil { | ||
fmt.Fprintf(os.Stderr, "failed to close output file %q", *output) | ||
os.Exit(1) | ||
} | ||
}() | ||
} | ||
|
||
if err := gob.NewEncoder(outfile).Encode(pkg); err != nil { | ||
fmt.Fprintf(os.Stderr, "gob encode: %v\n", err) | ||
os.Exit(1) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
|
||
package main | ||
|
||
import ( | ||
"encoding/gob" | ||
"flag" | ||
"fmt" | ||
"os" | ||
"path" | ||
"reflect" | ||
|
||
"github.com/golang/mock/mockgen/model" | ||
|
||
pkg_ "github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice" | ||
) | ||
|
||
var output = flag.String("output", "", "The output file name, or empty to use stdout.") | ||
|
||
func main() { | ||
flag.Parse() | ||
|
||
its := []struct{ | ||
sym string | ||
typ reflect.Type | ||
}{ | ||
|
||
{ "RuleManager", reflect.TypeOf((*pkg_.RuleManager)(nil)).Elem()}, | ||
|
||
} | ||
pkg := &model.Package{ | ||
// NOTE: This behaves contrary to documented behaviour if the | ||
// package name is not the final component of the import path. | ||
// The reflect package doesn't expose the package name, though. | ||
Name: path.Base("github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice"), | ||
} | ||
|
||
for _, it := range its { | ||
intf, err := model.InterfaceFromInterfaceType(it.typ) | ||
if err != nil { | ||
fmt.Fprintf(os.Stderr, "Reflection: %v\n", err) | ||
os.Exit(1) | ||
} | ||
intf.Name = it.sym | ||
pkg.Interfaces = append(pkg.Interfaces, intf) | ||
} | ||
|
||
outfile := os.Stdout | ||
if len(*output) != 0 { | ||
var err error | ||
outfile, err = os.Create(*output) | ||
if err != nil { | ||
fmt.Fprintf(os.Stderr, "failed to open output file %q", *output) | ||
} | ||
defer func() { | ||
if err := outfile.Close(); err != nil { | ||
fmt.Fprintf(os.Stderr, "failed to close output file %q", *output) | ||
os.Exit(1) | ||
} | ||
}() | ||
} | ||
|
||
if err := gob.NewEncoder(outfile).Encode(pkg); err != nil { | ||
fmt.Fprintf(os.Stderr, "gob encode: %v\n", err) | ||
os.Exit(1) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
|
||
package main | ||
|
||
import ( | ||
"encoding/gob" | ||
"flag" | ||
"fmt" | ||
"os" | ||
"path" | ||
"reflect" | ||
|
||
"github.com/golang/mock/mockgen/model" | ||
|
||
pkg_ "github.com/aws/aws-application-networking-k8s/pkg/gateway" | ||
) | ||
|
||
var output = flag.String("output", "", "The output file name, or empty to use stdout.") | ||
|
||
func main() { | ||
flag.Parse() | ||
|
||
its := []struct{ | ||
sym string | ||
typ reflect.Type | ||
}{ | ||
|
||
{ "SvcExportTargetGroupModelBuilder", reflect.TypeOf((*pkg_.SvcExportTargetGroupModelBuilder)(nil)).Elem()}, | ||
|
||
{ "BackendRefTargetGroupModelBuilder", reflect.TypeOf((*pkg_.BackendRefTargetGroupModelBuilder)(nil)).Elem()}, | ||
|
||
} | ||
pkg := &model.Package{ | ||
// NOTE: This behaves contrary to documented behaviour if the | ||
// package name is not the final component of the import path. | ||
// The reflect package doesn't expose the package name, though. | ||
Name: path.Base("github.com/aws/aws-application-networking-k8s/pkg/gateway"), | ||
} | ||
|
||
for _, it := range its { | ||
intf, err := model.InterfaceFromInterfaceType(it.typ) | ||
if err != nil { | ||
fmt.Fprintf(os.Stderr, "Reflection: %v\n", err) | ||
os.Exit(1) | ||
} | ||
intf.Name = it.sym | ||
pkg.Interfaces = append(pkg.Interfaces, intf) | ||
} | ||
|
||
outfile := os.Stdout | ||
if len(*output) != 0 { | ||
var err error | ||
outfile, err = os.Create(*output) | ||
if err != nil { | ||
fmt.Fprintf(os.Stderr, "failed to open output file %q", *output) | ||
} | ||
defer func() { | ||
if err := outfile.Close(); err != nil { | ||
fmt.Fprintf(os.Stderr, "failed to close output file %q", *output) | ||
os.Exit(1) | ||
} | ||
}() | ||
} | ||
|
||
if err := gob.NewEncoder(outfile).Encode(pkg); err != nil { | ||
fmt.Fprintf(os.Stderr, "gob encode: %v\n", err) | ||
os.Exit(1) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Description: This script is used to run e2e tests in CI. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|