Documentation ¶
Index ¶
Constants ¶
View Source
const ( OutboundNameIPv4 = "outbound:passthrough:ipv4" OutboundNameIPv6 = "outbound:passthrough:ipv6" InboundNameIPv4 = "inbound:passthrough:ipv4" InboundNameIPv6 = "inbound:passthrough:ipv6" InPassThroughIPv4 = "127.0.0.6" InPassThroughIPv6 = "::6" )
View Source
const ( DefaultProxy = "default-proxy" IngressProxy = "ingress-proxy" )
View Source
const Ingress = "ingress"
Ingress is a marker to indicate by which ProxyGenerator resources were generated.
View Source
const OriginInbound = "inbound"
View Source
const OriginOutbound = "outbound"
OriginOutbound is a marker to indicate by which ProxyGenerator resources were generated.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultProxyProfile ¶
func NewDefaultProxyProfile() core.ResourceGenerator
func RegisterProfile ¶
func RegisterProfile(profileName string, generator core.ResourceGenerator)
Types ¶
type InboundProxyGenerator ¶
type InboundProxyGenerator struct{}
func (InboundProxyGenerator) Generator ¶
func (g InboundProxyGenerator) Generator(ctx context.Context, _ *core_xds.ResourceSet, xdsCtx xds_context.Context, proxy *core_xds.Proxy) (*core_xds.ResourceSet, error)
type IngressGenerator ¶
type IngressGenerator struct{}
func (IngressGenerator) Generator ¶
func (g IngressGenerator) Generator(ctx context.Context, _ *model.ResourceSet, xdsCtx xds_context.Context, proxy *model.Proxy) (*model.ResourceSet, error)
type OutboundProxyGenerator ¶
type OutboundProxyGenerator struct{}
func (OutboundProxyGenerator) Generator ¶
func (g OutboundProxyGenerator) Generator(ctx context.Context, _ *model.ResourceSet, xdsCtx xds_context.Context, proxy *model.Proxy) (*model.ResourceSet, error)
type OutboundWithMultipleIPs ¶
type OutboundWithMultipleIPs struct { Tags map[string]string Addresses []mesh_proto.OutboundInterface }
func (OutboundWithMultipleIPs) AdditionalAddresses ¶
func (o OutboundWithMultipleIPs) AdditionalAddresses() []mesh_proto.OutboundInterface
type ProxyTemplateGenerator ¶
type ProxyTemplateGenerator struct {
ProfileName []string
}
func (*ProxyTemplateGenerator) Generate ¶
func (g *ProxyTemplateGenerator) Generate(ctx context.Context, xdsCtx xds_context.Context, proxy *model.Proxy) (*model.ResourceSet, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.