egress

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EgressProxy = "egress-proxy"

	// OriginEgress is a marker to indicate by which ProxyGenerator resources
	// were generated.
	OriginEgress = "egress"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalServicesGenerator

type ExternalServicesGenerator struct {
}

func (*ExternalServicesGenerator) Generate

Generate will generate envoy resources for one mesh (when mTLS enabled)

type Generator

type Generator struct {
	// These generators add to the listener builder
	ZoneEgressGenerators []ZoneEgressGenerator
	// These generators depend on the config being built
	SecretGenerator *generator_secrets.Generator
}

Generator generates xDS resources for an entire ZoneEgress.

func (Generator) Generate

func (g Generator) Generate(
	ctx xds_context.Context,
	proxy *core_xds.Proxy,
) (*core_xds.ResourceSet, error)

type InternalServicesGenerator

type InternalServicesGenerator struct {
}

func (*InternalServicesGenerator) Generate

Generate will generate envoy resources for one mesh (when mTLS enabled)

type ZoneEgressGenerator

type ZoneEgressGenerator interface {
	Generate(ctx xds_context.Context, proxy *core_xds.Proxy, listenerBuilder *envoy_listeners.ListenerBuilder, meshResources *core_xds.MeshResources) (*core_xds.ResourceSet, error)
}

ZoneEgressGenerator is responsible for generating xDS resources for a single ZoneEgress.

Jump to

Keyboard shortcuts

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