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 ¶
func (g *ExternalServicesGenerator) Generate( ctx xds_context.Context, proxy *core_xds.Proxy, listenerBuilder *envoy_listeners.ListenerBuilder, meshResources *core_xds.MeshResources, ) (*core_xds.ResourceSet, error)
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 ¶
func (g *InternalServicesGenerator) Generate( ctx xds_context.Context, proxy *core_xds.Proxy, listenerBuilder *envoy_listeners.ListenerBuilder, meshResources *core_xds.MeshResources, ) (*core_xds.ResourceSet, error)
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.
Click to show internal directories.
Click to hide internal directories.