generator

package
v0.0.0-...-8aa1e91 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

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

type IngressGenerator

type IngressGenerator struct{}

func (IngressGenerator) Generator

type OutboundProxyGenerator

type OutboundProxyGenerator struct{}

func (OutboundProxyGenerator) Generator

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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