Documentation ¶
Index ¶
- Constants
- func NewTemplateParams(is ...Instance) (map[string]any, error)
- type DNSLookupFamilyValue
- type HistogramBucket
- type HistogramMatch
- type Instance
- func AdditionalLocalhost(value LocalhostValue) Instance
- func AdditionalWildCard(value WildcardValue) Instance
- func ApplicationLogJSON(value bool) Instance
- func BypassOverloadManagerForStaticListeners(bypass bool) Instance
- func Cluster(value string) Instance
- func ConnectTimeout(value *durationpb.Duration) Instance
- func DNSLookupFamily(value DNSLookupFamilyValue) Instance
- func DataDogAddress(value string) Instance
- func DeferredClusterCreation(deferred bool) Instance
- func DeferredStatsCreation(deferred bool) Instance
- func DelimitedStatsTagsEnabled(value bool) Instance
- func DiscoveryAddress(value string) Instance
- func DiscoveryHost(value string) Instance
- func DualStack(value bool) Instance
- func EnvoyAccessLogServiceAddress(value string) Instance
- func EnvoyAccessLogServiceTCPKeepalive(value *networkingAPI.ConnectionPoolSettings_TCPSettings_TcpKeepalive) Instance
- func EnvoyAccessLogServiceTLS(value *networkingAPI.ClientTLSSettings, metadata *model.BootstrapNodeMetadata) Instance
- func EnvoyExtraStatTags(value []string) Instance
- func EnvoyHistogramBuckets(value []HistogramBucket) Instance
- func EnvoyMetricsServiceAddress(value string) Instance
- func EnvoyMetricsServiceTCPKeepalive(value *networkingAPI.ConnectionPoolSettings_TCPSettings_TcpKeepalive) Instance
- func EnvoyMetricsServiceTLS(value *networkingAPI.ClientTLSSettings, metadata *model.BootstrapNodeMetadata) Instance
- func EnvoyPrometheusPort(value int) Instance
- func EnvoyStatsCompression(value string) Instance
- func EnvoyStatsMatcherInclusionPrefix(value []string) Instance
- func EnvoyStatsMatcherInclusionRegexp(value []string) Instance
- func EnvoyStatsMatcherInclusionSuffix(value []string) Instance
- func EnvoyStatusPort(value int) Instance
- func GCPProjectID(value string) Instance
- func GCPProjectNumber(value string) Instance
- func LightstepAddress(value string) Instance
- func LightstepToken(value string) Instance
- func LoadStatsConfigJSONStr(node *model.Node) Instance
- func Localhost(value LocalhostValue) Instance
- func Metadata(meta *model.BootstrapNodeMetadata) Instance
- func MetadataDiscovery(value bool) Instance
- func MetricsLocalhostAccessOnly(proxyMetadata map[string]string) Instance
- func NodeID(value string) Instance
- func NodeMetadata(meta *model.BootstrapNodeMetadata, rawMeta map[string]any) Instance
- func NodeType(value string) Instance
- func OpenCensusAgentAddress(value string) Instance
- func OpenCensusAgentContexts(value []meshAPI.Tracing_OpenCensusAgent_TraceContext) Instance
- func OutlierLogPath(value string) Instance
- func PilotGRPCAddress(value string) Instance
- func PilotSubjectAltName(value []string) Instance
- func ProxyConfig(value *model.NodeMetaProxyConfig) Instance
- func Region(value string) Instance
- func RuntimeFlags(flags map[string]any) Instance
- func STSEnabled(value bool) Instance
- func STSPort(value int) Instance
- func StackDriverDebug(value bool) Instance
- func StackDriverEnabled(value bool) Instance
- func StackDriverMaxAnnotations(value int64) Instance
- func StackDriverMaxAttributes(value int64) Instance
- func StackDriverMaxEvents(value int64) Instance
- func StackDriverProjectID(value string) Instance
- func StatsdAddress(value string) Instance
- func SubZone(value string) Instance
- func TracingTLS(value *networkingAPI.ClientTLSSettings, metadata *model.BootstrapNodeMetadata, ...) Instance
- func Wildcard(value WildcardValue) Instance
- func XDSRootCert(value string) Instance
- func XdsType(value string) Instance
- func ZipkinAddress(value string) Instance
- func Zone(value string) Instance
- type LocalhostValue
- type Name
- type TCPKeepalive
- type TransportSocket
- type UpstreamConnectionOptions
- type WildcardValue
Constants ¶
View Source
const ( LocalhostIPv4 LocalhostValue = "127.0.0.1" LocalhostIPv6 LocalhostValue = "::1" WildcardIPv4 WildcardValue = "0.0.0.0" WildcardIPv6 WildcardValue = "::" DNSLookupFamilyIPv4 DNSLookupFamilyValue = "V4_ONLY" DNSLookupFamilyIPv6 DNSLookupFamilyValue = "V6_ONLY" DNSLookupFamilyIPS DNSLookupFamilyValue = "ALL" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DNSLookupFamilyValue ¶
type DNSLookupFamilyValue string
type HistogramBucket ¶
type HistogramBucket struct { Match HistogramMatch `json:"match"` Buckets []float64 `json:"buckets"` }
type HistogramMatch ¶
type HistogramMatch struct {
Prefix string `json:"prefix"`
}
type Instance ¶
type Instance interface { Name() Name // contains filtered or unexported methods }
Instance of a bootstrap option.
func AdditionalLocalhost ¶
func AdditionalLocalhost(value LocalhostValue) Instance
func AdditionalWildCard ¶
func AdditionalWildCard(value WildcardValue) Instance
func ApplicationLogJSON ¶
func ConnectTimeout ¶
func ConnectTimeout(value *durationpb.Duration) Instance
func DNSLookupFamily ¶
func DNSLookupFamily(value DNSLookupFamilyValue) Instance
func DataDogAddress ¶
func DeferredClusterCreation ¶
func DeferredStatsCreation ¶
func DiscoveryAddress ¶
func DiscoveryHost ¶
func EnvoyAccessLogServiceTCPKeepalive ¶
func EnvoyAccessLogServiceTCPKeepalive(value *networkingAPI.ConnectionPoolSettings_TCPSettings_TcpKeepalive) Instance
func EnvoyAccessLogServiceTLS ¶
func EnvoyAccessLogServiceTLS(value *networkingAPI.ClientTLSSettings, metadata *model.BootstrapNodeMetadata) Instance
func EnvoyExtraStatTags ¶
func EnvoyHistogramBuckets ¶
func EnvoyHistogramBuckets(value []HistogramBucket) Instance
func EnvoyMetricsServiceTCPKeepalive ¶
func EnvoyMetricsServiceTCPKeepalive(value *networkingAPI.ConnectionPoolSettings_TCPSettings_TcpKeepalive) Instance
func EnvoyMetricsServiceTLS ¶
func EnvoyMetricsServiceTLS(value *networkingAPI.ClientTLSSettings, metadata *model.BootstrapNodeMetadata) Instance
func EnvoyPrometheusPort ¶
func EnvoyStatsCompression ¶
func EnvoyStatusPort ¶
func GCPProjectID ¶
func GCPProjectNumber ¶
func LightstepAddress ¶
func LightstepToken ¶
func LoadStatsConfigJSONStr ¶
func Localhost ¶
func Localhost(value LocalhostValue) Instance
func Metadata ¶
func Metadata(meta *model.BootstrapNodeMetadata) Instance
func MetadataDiscovery ¶
func NodeMetadata ¶
func NodeMetadata(meta *model.BootstrapNodeMetadata, rawMeta map[string]any) Instance
func OpenCensusAgentAddress ¶
func OpenCensusAgentContexts ¶
func OpenCensusAgentContexts(value []meshAPI.Tracing_OpenCensusAgent_TraceContext) Instance
func OutlierLogPath ¶
func PilotGRPCAddress ¶
func PilotSubjectAltName ¶
func ProxyConfig ¶
func ProxyConfig(value *model.NodeMetaProxyConfig) Instance
func RuntimeFlags ¶
func STSEnabled ¶
func StackDriverDebug ¶
func StackDriverEnabled ¶
func StackDriverMaxEvents ¶
func StackDriverProjectID ¶
func StatsdAddress ¶
func TracingTLS ¶
func TracingTLS(value *networkingAPI.ClientTLSSettings, metadata *model.BootstrapNodeMetadata, isH2 bool) Instance
func Wildcard ¶
func Wildcard(value WildcardValue) Instance
func XDSRootCert ¶
func ZipkinAddress ¶
type LocalhostValue ¶
type LocalhostValue string
type TCPKeepalive ¶
type TCPKeepalive struct { KeepaliveProbes *wrappers.UInt32Value `json:"keepalive_probes,omitempty"` KeepaliveTime *wrappers.UInt32Value `json:"keepalive_time,omitempty"` KeepaliveInterval *wrappers.UInt32Value `json:"keepalive_interval,omitempty"` }
TCPKeepalive wraps is a thin JSON for xDS proto
type TransportSocket ¶
type TransportSocket struct { Name string `json:"name,omitempty"` TypedConfig *pstruct.Struct `json:"typed_config,omitempty"` }
TransportSocket wraps UpstreamTLSContext
type UpstreamConnectionOptions ¶
type UpstreamConnectionOptions struct {
TCPKeepalive *TCPKeepalive `json:"tcp_keepalive,omitempty"`
}
UpstreamConnectionOptions wraps is a thin JSON for xDS proto
type WildcardValue ¶
type WildcardValue string
Click to show internal directories.
Click to hide internal directories.