Documentation ¶
Index ¶
Constants ¶
View Source
const ( // error code LATTICE_NO_SUPPORT_FOR_MULTIPLE_MATCHES = "LATTICE_NO_SUPPORT_FOR_MULTIPLE_MATCHES" LATTICE_EXCEED_MAX_HEADER_MATCHES = "LATTICE_EXCEED_MAX_HEADER_MATCHES" LATTICE_UNSUPPORTED_MATCH_TYPE = "LATTICE_UNSUPPORTED_MATCH_TYPE" LATTICE_UNSUPPORTED_HEADER_MATCH_TYPE = "LATTICE_UNSUPPORTED_HEADER_MATCH_TYPE" LATTICE_UNSUPPORTED_PATH_MATCH_TYPE = "LATTICE_UNSUPPORTED_PATH_MATCH_TYPE" LATTICE_MAX_HEADER_MATCHES = 5 )
View Source
const ( ResourceIDServiceNetwork = "ServiceNetwork" LatticeVPCAssociationAnnotation = "application-networking.k8s.aws/lattice-vpc-association" ModelBuiltError = "Failed to build model" )
Variables ¶
This section is empty.
Functions ¶
func NewServiceNetworkModelBuilder ¶
func NewServiceNetworkModelBuilder() *serviceNetworkModelBuilder
Types ¶
type LatticeServiceBuilder ¶
type LatticeServiceModelBuilder ¶ added in v0.0.16
type LatticeServiceModelBuilder struct {
// contains filtered or unexported fields
}
func NewLatticeServiceBuilder ¶
func NewLatticeServiceBuilder( log gwlog.Logger, client client.Client, datastore *latticestore.LatticeDataStore, cloud lattice_aws.Cloud, ) *LatticeServiceModelBuilder
type LatticeTargetsBuilder ¶
type LatticeTargetsModelBuilder ¶ added in v0.0.16
type LatticeTargetsModelBuilder struct {
// contains filtered or unexported fields
}
func NewTargetsBuilder ¶
func NewTargetsBuilder(client client.Client, cloud lattice_aws.Cloud, datastore *latticestore.LatticeDataStore) *LatticeTargetsModelBuilder
type ServiceNetworkModelBuilder ¶
type ServiceNetworkModelBuilder interface { // Build model stack for service Build(ctx context.Context, gw *gateway_api.Gateway) (core.Stack, *latticemodel.ServiceNetwork, error) }
ModelBuilder builds the model stack for the mesh resource.
type TargetGroupBuilder ¶ added in v0.0.16
type TargetGroupBuilder struct {
// contains filtered or unexported fields
}
func NewTargetGroupBuilder ¶
func NewTargetGroupBuilder( log gwlog.Logger, client client.Client, datastore *latticestore.LatticeDataStore, cloud lattice_aws.Cloud, ) *TargetGroupBuilder
triggered from serviceexport
func (*TargetGroupBuilder) Build ¶ added in v0.0.16
func (b *TargetGroupBuilder) Build( ctx context.Context, srvExport *mcs_api.ServiceExport, ) (core.Stack, *latticemodel.TargetGroup, error)
for serviceexport
type TargetGroupModelBuilder ¶
type TargetGroupModelBuilder interface {
Build(ctx context.Context, srvExport *mcs_api.ServiceExport) (core.Stack, *latticemodel.TargetGroup, error)
}
Click to show internal directories.
Click to hide internal directories.