gateway

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceIDServiceNetwork = "ServiceNetwork"
)

Variables

This section is empty.

Functions

func NewLatticeServiceBuilder

func NewLatticeServiceBuilder(client client.Client, datastore *latticestore.LatticeDataStore, cloud lattice_aws.Cloud) *latticeServiceModelBuilder

func NewServiceNetworkModelBuilder

func NewServiceNetworkModelBuilder() *serviceNetworkModelBuilder

func NewTargetGroupBuilder

func NewTargetGroupBuilder(client client.Client, datastore *latticestore.LatticeDataStore, cloud lattice_aws.Cloud) *targetGroupBuilder

triggered from serviceexport

func NewTargetsBuilder

func NewTargetsBuilder(client client.Client, cloud lattice_aws.Cloud, datastore *latticestore.LatticeDataStore) *latticeTargetsModelBuilder

Types

type LatticeServiceBuilder

type LatticeServiceBuilder interface {
	Build(ctx context.Context, httpRoute *v1alpha2.HTTPRoute) (core.Stack, *latticemodel.Service, error)
}

type LatticeTargetsBuilder

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

type ServiceNetworkModelBuilder

type ServiceNetworkModelBuilder interface {
	// Build model stack for service
	Build(ctx context.Context, gw *v1alpha2.Gateway) (core.Stack, *latticemodel.ServiceNetwork, error)
}

ModelBuilder builds the model stack for the mesh resource.

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