gateway

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	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"
)

Variables

This section is empty.

Functions

func GetAttachedPolicy added in v0.0.17

func GetAttachedPolicy[T core.Policy](ctx context.Context, k8sClient client.Client, refObjNamespacedName types.NamespacedName, policy T) (T, error)

func GetServiceForBackendRef added in v0.0.17

func GetServiceForBackendRef(ctx context.Context, client client.Client, route core.Route, backendRef core.BackendRef) (*corev1.Service, error)

func NewServiceNetworkModelBuilder

func NewServiceNetworkModelBuilder(client client.Client) *serviceNetworkModelBuilder

Types

type LatticeServiceBuilder

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

type LatticeTargetsModelBuilder added in v0.0.16

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

func NewTargetsBuilder

func NewTargetsBuilder(
	log gwlog.Logger,
	client client.Client,
	cloud pkg_aws.Cloud,
	datastore *latticestore.LatticeDataStore,
) *LatticeTargetsModelBuilder

func (*LatticeTargetsModelBuilder) Build added in v0.0.16

func (b *LatticeTargetsModelBuilder) Build(ctx context.Context, service *corev1.Service, routeName string) (core.Stack, *model.Targets, error)

type ServiceNetworkModelBuilder

type ServiceNetworkModelBuilder interface {
	Build(ctx context.Context, gw *gateway_api.Gateway) (core.Stack, *model.ServiceNetwork, error)
}

type SvcExportTargetGroupBuilder added in v0.0.17

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

func NewSvcExportTargetGroupBuilder added in v0.0.17

func NewSvcExportTargetGroupBuilder(
	log gwlog.Logger,
	client client.Client,
	datastore *latticestore.LatticeDataStore,
	cloud pkg_aws.Cloud,
) *SvcExportTargetGroupBuilder

func (*SvcExportTargetGroupBuilder) Build added in v0.0.17

type SvcExportTargetGroupModelBuilder added in v0.0.17

type SvcExportTargetGroupModelBuilder interface {
	Build(ctx context.Context, srvExport *mcsv1alpha1.ServiceExport) (core.Stack, *model.TargetGroup, error)
}

Jump to

Keyboard shortcuts

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