gateway

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

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 LatticeServiceBuilder interface {
	Build(ctx context.Context, httpRoute core.Route) (core.Stack, *latticemodel.Service, error)
}

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

func (*LatticeServiceModelBuilder) Build added in v0.0.16

type LatticeTargetsBuilder

type LatticeTargetsBuilder interface {
	Build(ctx context.Context, service *corev1.Service, routeName string) (core.Stack, *latticemodel.Targets, error)
}

type LatticeTargetsModelBuilder added in v0.0.16

type LatticeTargetsModelBuilder struct {
	// contains filtered or unexported fields
}

func (*LatticeTargetsModelBuilder) Build added in v0.0.16

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

for serviceexport

type TargetGroupModelBuilder

type TargetGroupModelBuilder interface {
	Build(ctx context.Context, srvExport *mcs_api.ServiceExport) (core.Stack, *latticemodel.TargetGroup, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL