bootstrapv3

package
v1.36.3-20230328150320... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const Bootstrap_StatsFlushOnAdmin_case case_Bootstrap_StatsFlush = 29
View Source
const Bootstrap_StatsFlush_not_set_case case_Bootstrap_StatsFlush = 0
View Source
const RuntimeLayer_AdminLayer_case case_RuntimeLayer_LayerSpecifier = 4
View Source
const RuntimeLayer_DiskLayer_case case_RuntimeLayer_LayerSpecifier = 3
View Source
const RuntimeLayer_LayerSpecifier_not_set_case case_RuntimeLayer_LayerSpecifier = 0
View Source
const RuntimeLayer_RtdsLayer_case case_RuntimeLayer_LayerSpecifier = 5
View Source
const RuntimeLayer_StaticLayer_case case_RuntimeLayer_LayerSpecifier = 2

Variables

View Source
var (
	Watchdog_WatchdogAction_WatchdogEvent_name = map[int32]string{
		0: "UNKNOWN",
		1: "KILL",
		2: "MULTIKILL",
		3: "MEGAMISS",
		4: "MISS",
	}
	Watchdog_WatchdogAction_WatchdogEvent_value = map[string]int32{
		"UNKNOWN":   0,
		"KILL":      1,
		"MULTIKILL": 2,
		"MEGAMISS":  3,
		"MISS":      4,
	}
)

Enum value maps for Watchdog_WatchdogAction_WatchdogEvent.

View Source
var (
	CustomInlineHeader_InlineHeaderType_name = map[int32]string{
		0: "REQUEST_HEADER",
		1: "REQUEST_TRAILER",
		2: "RESPONSE_HEADER",
		3: "RESPONSE_TRAILER",
	}
	CustomInlineHeader_InlineHeaderType_value = map[string]int32{
		"REQUEST_HEADER":   0,
		"REQUEST_TRAILER":  1,
		"RESPONSE_HEADER":  2,
		"RESPONSE_TRAILER": 3,
	}
)

Enum value maps for CustomInlineHeader_InlineHeaderType.

View Source
var File_envoy_config_bootstrap_v3_bootstrap_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Admin

type Admin struct {

	// Configuration for :ref:`access logs <arch_overview_access_logs>`
	// emitted by the administration server.
	AccessLog []*v34.AccessLog `protobuf:"bytes,5,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"`
	// The path to write the access log for the administration server. If no
	// access log is desired specify ‘/dev/null’. This is only required if
	// :ref:`address <envoy_v3_api_field_config.bootstrap.v3.Admin.address>` is set.
	// Deprecated in favor of “access_log“ which offers more options.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	AccessLogPath string `protobuf:"bytes,1,opt,name=access_log_path,json=accessLogPath,proto3" json:"access_log_path,omitempty"`
	// The cpu profiler output path for the administration server. If no profile
	// path is specified, the default is ‘/var/log/envoy/envoy.prof’.
	ProfilePath string `protobuf:"bytes,2,opt,name=profile_path,json=profilePath,proto3" json:"profile_path,omitempty"`
	// The TCP address that the administration server will listen on.
	// If not specified, Envoy will not start an administration server.
	Address *v3.Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// Additional socket options that may not be present in Envoy source code or
	// precompiled binaries.
	SocketOptions []*v3.SocketOption `protobuf:"bytes,4,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
	// Indicates whether :ref:`global_downstream_max_connections <config_overload_manager_limiting_connections>`
	// should apply to the admin interface or not.
	IgnoreGlobalConnLimit bool `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Administration interface :ref:`operations documentation <operations_admin_interface>`. [#next-free-field: 7]

func (*Admin) ClearAddress

func (x *Admin) ClearAddress()

func (*Admin) GetAccessLog

func (x *Admin) GetAccessLog() []*v34.AccessLog

func (*Admin) GetAccessLogPath deprecated

func (x *Admin) GetAccessLogPath() string

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Admin) GetAddress

func (x *Admin) GetAddress() *v3.Address

func (*Admin) GetIgnoreGlobalConnLimit

func (x *Admin) GetIgnoreGlobalConnLimit() bool

func (*Admin) GetProfilePath

func (x *Admin) GetProfilePath() string

func (*Admin) GetSocketOptions

func (x *Admin) GetSocketOptions() []*v3.SocketOption

func (*Admin) HasAddress

func (x *Admin) HasAddress() bool

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) ProtoReflect

func (x *Admin) ProtoReflect() protoreflect.Message

func (*Admin) Reset

func (x *Admin) Reset()

func (*Admin) SetAccessLog

func (x *Admin) SetAccessLog(v []*v34.AccessLog)

func (*Admin) SetAccessLogPath deprecated

func (x *Admin) SetAccessLogPath(v string)

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Admin) SetAddress

func (x *Admin) SetAddress(v *v3.Address)

func (*Admin) SetIgnoreGlobalConnLimit

func (x *Admin) SetIgnoreGlobalConnLimit(v bool)

func (*Admin) SetProfilePath

func (x *Admin) SetProfilePath(v string)

func (*Admin) SetSocketOptions

func (x *Admin) SetSocketOptions(v []*v3.SocketOption)

func (*Admin) String

func (x *Admin) String() string

type Admin_builder

type Admin_builder struct {

	// Configuration for :ref:`access logs <arch_overview_access_logs>`
	// emitted by the administration server.
	AccessLog []*v34.AccessLog
	// The path to write the access log for the administration server. If no
	// access log is desired specify ‘/dev/null’. This is only required if
	// :ref:`address <envoy_v3_api_field_config.bootstrap.v3.Admin.address>` is set.
	// Deprecated in favor of “access_log“ which offers more options.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	AccessLogPath string
	// The cpu profiler output path for the administration server. If no profile
	// path is specified, the default is ‘/var/log/envoy/envoy.prof’.
	ProfilePath string
	// The TCP address that the administration server will listen on.
	// If not specified, Envoy will not start an administration server.
	Address *v3.Address
	// Additional socket options that may not be present in Envoy source code or
	// precompiled binaries.
	SocketOptions []*v3.SocketOption
	// Indicates whether :ref:`global_downstream_max_connections <config_overload_manager_limiting_connections>`
	// should apply to the admin interface or not.
	IgnoreGlobalConnLimit bool
	// contains filtered or unexported fields
}

func (Admin_builder) Build

func (b0 Admin_builder) Build() *Admin

type Bootstrap

type Bootstrap struct {

	// Node identity to present to the management server and for instance
	// identification purposes (e.g. in generated headers).
	Node *v3.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
	// that will be included in the context parameters of the effective
	// xdstp:// URL that is sent in a discovery request when resource
	// locators are used for LDS/CDS. Any non-string field will have its JSON
	// encoding set as the context parameter value, with the exception of
	// metadata, which will be flattened (see example below). The supported field
	// names are:
	// - "cluster"
	// - "id"
	// - "locality.region"
	// - "locality.sub_zone"
	// - "locality.zone"
	// - "metadata"
	// - "user_agent_build_version.metadata"
	// - "user_agent_build_version.version"
	// - "user_agent_name"
	// - "user_agent_version"
	//
	// The node context parameters act as a base layer dictionary for the context
	// parameters (i.e. more specific resource specific context parameters will
	// override). Field names will be prefixed with “udpa.node.” when included in
	// context parameters.
	//
	// For example, if node_context_params is “["user_agent_name", "metadata"]“,
	// the implied context parameters might be::
	//
	//	node.user_agent_name: "envoy"
	//	node.metadata.foo: "{\"bar\": \"baz\"}"
	//	node.metadata.some: "42"
	//	node.metadata.thing: "\"thing\""
	//
	// [#not-implemented-hide:]
	NodeContextParams []string `protobuf:"bytes,26,rep,name=node_context_params,json=nodeContextParams,proto3" json:"node_context_params,omitempty"`
	// Statically specified resources.
	StaticResources *Bootstrap_StaticResources `protobuf:"bytes,2,opt,name=static_resources,json=staticResources,proto3" json:"static_resources,omitempty"`
	// xDS configuration sources.
	DynamicResources *Bootstrap_DynamicResources `protobuf:"bytes,3,opt,name=dynamic_resources,json=dynamicResources,proto3" json:"dynamic_resources,omitempty"`
	// Configuration for the cluster manager which owns all upstream clusters
	// within the server.
	ClusterManager *ClusterManager `protobuf:"bytes,4,opt,name=cluster_manager,json=clusterManager,proto3" json:"cluster_manager,omitempty"`
	// Health discovery service config option.
	// (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
	HdsConfig *v3.ApiConfigSource `protobuf:"bytes,14,opt,name=hds_config,json=hdsConfig,proto3" json:"hds_config,omitempty"`
	// Optional file system path to search for startup flag files.
	FlagsPath string `protobuf:"bytes,5,opt,name=flags_path,json=flagsPath,proto3" json:"flags_path,omitempty"`
	// Optional set of stats sinks.
	StatsSinks []*v31.StatsSink `protobuf:"bytes,6,rep,name=stats_sinks,json=statsSinks,proto3" json:"stats_sinks,omitempty"`
	// Configuration for internal processing of stats.
	StatsConfig *v31.StatsConfig `protobuf:"bytes,13,opt,name=stats_config,json=statsConfig,proto3" json:"stats_config,omitempty"`
	// Optional duration between flushes to configured stats sinks. For
	// performance reasons Envoy latches counters and only flushes counters and
	// gauges at a periodic interval. If not specified the default is 5000ms (5
	// seconds). Only one of “stats_flush_interval“ or “stats_flush_on_admin“
	// can be set.
	// Duration must be at least 1ms and at most 5 min.
	StatsFlushInterval *durationpb.Duration `protobuf:"bytes,7,opt,name=stats_flush_interval,json=statsFlushInterval,proto3" json:"stats_flush_interval,omitempty"`
	// Types that are valid to be assigned to StatsFlush:
	//
	//	*Bootstrap_StatsFlushOnAdmin
	StatsFlush isBootstrap_StatsFlush `protobuf_oneof:"stats_flush"`
	// Optional watchdog configuration.
	// This is for a single watchdog configuration for the entire system.
	// Deprecated in favor of “watchdogs“ which has finer granularity.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	Watchdog *Watchdog `protobuf:"bytes,8,opt,name=watchdog,proto3" json:"watchdog,omitempty"`
	// Optional watchdogs configuration.
	// This is used for specifying different watchdogs for the different subsystems.
	// [#extension-category: envoy.guarddog_actions]
	Watchdogs *Watchdogs `protobuf:"bytes,27,opt,name=watchdogs,proto3" json:"watchdogs,omitempty"`
	// Configuration for an external tracing provider.
	//
	// .. attention::
	//
	//	This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
	//	<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	Tracing *v32.Tracing `protobuf:"bytes,9,opt,name=tracing,proto3" json:"tracing,omitempty"`
	// Configuration for the runtime configuration provider. If not
	// specified, a “null” provider will be used which will result in all defaults
	// being used.
	LayeredRuntime *LayeredRuntime `protobuf:"bytes,17,opt,name=layered_runtime,json=layeredRuntime,proto3" json:"layered_runtime,omitempty"`
	// Configuration for the local administration HTTP server.
	Admin *Admin `protobuf:"bytes,12,opt,name=admin,proto3" json:"admin,omitempty"`
	// Optional overload manager configuration.
	OverloadManager *v33.OverloadManager `protobuf:"bytes,15,opt,name=overload_manager,json=overloadManager,proto3" json:"overload_manager,omitempty"`
	// Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
	// Note that this records a value for each iteration of the event loop on every thread. This
	// should normally be minimal overhead, but when using
	// :ref:`statsd <envoy_v3_api_msg_config.metrics.v3.StatsdSink>`, it will send each observed value
	// over the wire individually because the statsd protocol doesn't have any way to represent a
	// histogram summary. Be aware that this can be a very large volume of data.
	EnableDispatcherStats bool `` /* 128-byte string literal not displayed */
	// Optional string which will be used in lieu of x-envoy in prefixing headers.
	//
	// For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
	// transformed into x-foo-retry-on etc.
	//
	// Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
	// headers Envoy will trust for core code and core extensions only. Be VERY careful making
	// changes to this string, especially in multi-layer Envoy deployments or deployments using
	// extensions which are not upstream.
	HeaderPrefix string `protobuf:"bytes,18,opt,name=header_prefix,json=headerPrefix,proto3" json:"header_prefix,omitempty"`
	// Optional proxy version which will be used to set the value of :ref:`server.version statistic
	// <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
	// :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
	StatsServerVersionOverride *wrapperspb.UInt64Value `` /* 144-byte string literal not displayed */
	// Always use TCP queries instead of UDP queries for DNS lookups.
	// This may be overridden on a per-cluster basis in cds_config,
	// when :ref:`dns_resolvers <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
	// :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
	// specified.
	// This field is deprecated in favor of “dns_resolution_config“
	// which aggregates all of the DNS resolver configuration in a single message.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	UseTcpForDnsLookups bool `` /* 126-byte string literal not displayed */
	// DNS resolution configuration which includes the underlying dns resolver addresses and options.
	// This may be overridden on a per-cluster basis in cds_config, when
	// :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
	// is specified.
	// This field is deprecated in favor of
	// :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	DnsResolutionConfig *v3.DnsResolutionConfig `protobuf:"bytes,30,opt,name=dns_resolution_config,json=dnsResolutionConfig,proto3" json:"dns_resolution_config,omitempty"`
	// DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
	// or any other DNS resolver types and the related parameters.
	// For example, an object of
	// :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
	// can be packed into this “typed_dns_resolver_config“. This configuration replaces the
	// :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
	// configuration.
	// During the transition period when both “dns_resolution_config“ and “typed_dns_resolver_config“ exists,
	// when “typed_dns_resolver_config“ is in place, Envoy will use it and ignore “dns_resolution_config“.
	// When “typed_dns_resolver_config“ is missing, the default behavior is in place.
	// [#extension-category: envoy.network.dns_resolver]
	TypedDnsResolverConfig *v3.TypedExtensionConfig `` /* 132-byte string literal not displayed */
	// Specifies optional bootstrap extensions to be instantiated at startup time.
	// Each item contains extension specific configuration.
	// [#extension-category: envoy.bootstrap]
	BootstrapExtensions []*v3.TypedExtensionConfig `protobuf:"bytes,21,rep,name=bootstrap_extensions,json=bootstrapExtensions,proto3" json:"bootstrap_extensions,omitempty"`
	// Specifies optional extensions instantiated at startup time and
	// invoked during crash time on the request that caused the crash.
	FatalActions []*FatalAction `protobuf:"bytes,28,rep,name=fatal_actions,json=fatalActions,proto3" json:"fatal_actions,omitempty"`
	// Configuration sources that will participate in
	// xdstp:// URL authority resolution. The algorithm is as
	// follows:
	//  1. The authority field is taken from the xdstp:// URL, call
	//     this “resource_authority“.
	//  2. “resource_authority“ is compared against the authorities in any peer
	//     “ConfigSource“. The peer “ConfigSource“ is the configuration source
	//     message which would have been used unconditionally for resolution
	//     with opaque resource names. If there is a match with an authority, the
	//     peer “ConfigSource“ message is used.
	//  3. “resource_authority“ is compared sequentially with the authorities in
	//     each configuration source in “config_sources“. The first “ConfigSource“
	//     to match wins.
	//  4. As a fallback, if no configuration source matches, then
	//     “default_config_source“ is used.
	//  5. If “default_config_source“ is not specified, resolution fails.
	//
	// [#not-implemented-hide:]
	ConfigSources []*v3.ConfigSource `protobuf:"bytes,22,rep,name=config_sources,json=configSources,proto3" json:"config_sources,omitempty"`
	// Default configuration source for xdstp:// URLs if all
	// other resolution fails.
	// [#not-implemented-hide:]
	DefaultConfigSource *v3.ConfigSource `protobuf:"bytes,23,opt,name=default_config_source,json=defaultConfigSource,proto3" json:"default_config_source,omitempty"`
	// Optional overriding of default socket interface. The value must be the name of one of the
	// socket interface factories initialized through a bootstrap extension
	DefaultSocketInterface string `` /* 130-byte string literal not displayed */
	// Global map of CertificateProvider instances. These instances are referred to by name in the
	// :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
	// <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
	// field.
	// [#not-implemented-hide:]
	CertificateProviderInstances map[string]*v3.TypedExtensionConfig `` /* 222-byte string literal not displayed */
	// Specifies a set of headers that need to be registered as inline header. This configuration
	// allows users to customize the inline headers on-demand at Envoy startup without modifying
	// Envoy's source code.
	//
	// Note that the 'set-cookie' header cannot be registered as inline header.
	InlineHeaders []*CustomInlineHeader `protobuf:"bytes,32,rep,name=inline_headers,json=inlineHeaders,proto3" json:"inline_headers,omitempty"`
	// Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
	// ProtoBuf format. The default value is "envoy.pftrace".
	PerfTracingFilePath string `protobuf:"bytes,33,opt,name=perf_tracing_file_path,json=perfTracingFilePath,proto3" json:"perf_tracing_file_path,omitempty"`
	// Optional overriding of default regex engine.
	// If the value is not specified, Google RE2 will be used by default.
	// [#extension-category: envoy.regex_engines]
	DefaultRegexEngine *v3.TypedExtensionConfig `protobuf:"bytes,34,opt,name=default_regex_engine,json=defaultRegexEngine,proto3" json:"default_regex_engine,omitempty"`
	// Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
	// fetch and load events during xDS processing.
	// If a value is not specified, no XdsResourcesDelegate will be used.
	// TODO(abeyad): Add public-facing documentation.
	// [#not-implemented-hide:]
	XdsDelegateExtension *v3.TypedExtensionConfig `protobuf:"bytes,35,opt,name=xds_delegate_extension,json=xdsDelegateExtension,proto3" json:"xds_delegate_extension,omitempty"`
	// Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
	// e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
	// process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
	//
	// .. note::
	//
	//	There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
	//	interface should be implemented before using.
	//	See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
	//	for an example usage of the interface.
	XdsConfigTrackerExtension *v3.TypedExtensionConfig `` /* 141-byte string literal not displayed */
	// [#not-implemented-hide:]
	// This controls the type of listener manager configured for Envoy. Currently
	// Envoy only supports ListenerManager for this field and Envoy Mobile
	// supports ApiListenerManager.
	ListenerManager *v3.TypedExtensionConfig `protobuf:"bytes,37,opt,name=listener_manager,json=listenerManager,proto3" json:"listener_manager,omitempty"`
	// contains filtered or unexported fields
}

Bootstrap :ref:`configuration overview <config_overview_bootstrap>`. [#next-free-field: 38]

func (*Bootstrap) ClearAdmin

func (x *Bootstrap) ClearAdmin()

func (*Bootstrap) ClearClusterManager

func (x *Bootstrap) ClearClusterManager()

func (*Bootstrap) ClearDefaultConfigSource

func (x *Bootstrap) ClearDefaultConfigSource()

func (*Bootstrap) ClearDefaultRegexEngine

func (x *Bootstrap) ClearDefaultRegexEngine()

func (*Bootstrap) ClearDnsResolutionConfig deprecated

func (x *Bootstrap) ClearDnsResolutionConfig()

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) ClearDynamicResources

func (x *Bootstrap) ClearDynamicResources()

func (*Bootstrap) ClearHdsConfig

func (x *Bootstrap) ClearHdsConfig()

func (*Bootstrap) ClearLayeredRuntime

func (x *Bootstrap) ClearLayeredRuntime()

func (*Bootstrap) ClearListenerManager

func (x *Bootstrap) ClearListenerManager()

func (*Bootstrap) ClearNode

func (x *Bootstrap) ClearNode()

func (*Bootstrap) ClearOverloadManager

func (x *Bootstrap) ClearOverloadManager()

func (*Bootstrap) ClearStaticResources

func (x *Bootstrap) ClearStaticResources()

func (*Bootstrap) ClearStatsConfig

func (x *Bootstrap) ClearStatsConfig()

func (*Bootstrap) ClearStatsFlush

func (x *Bootstrap) ClearStatsFlush()

func (*Bootstrap) ClearStatsFlushInterval

func (x *Bootstrap) ClearStatsFlushInterval()

func (*Bootstrap) ClearStatsFlushOnAdmin

func (x *Bootstrap) ClearStatsFlushOnAdmin()

func (*Bootstrap) ClearStatsServerVersionOverride

func (x *Bootstrap) ClearStatsServerVersionOverride()

func (*Bootstrap) ClearTracing deprecated

func (x *Bootstrap) ClearTracing()

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) ClearTypedDnsResolverConfig

func (x *Bootstrap) ClearTypedDnsResolverConfig()

func (*Bootstrap) ClearWatchdog deprecated

func (x *Bootstrap) ClearWatchdog()

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) ClearWatchdogs

func (x *Bootstrap) ClearWatchdogs()

func (*Bootstrap) ClearXdsConfigTrackerExtension

func (x *Bootstrap) ClearXdsConfigTrackerExtension()

func (*Bootstrap) ClearXdsDelegateExtension

func (x *Bootstrap) ClearXdsDelegateExtension()

func (*Bootstrap) GetAdmin

func (x *Bootstrap) GetAdmin() *Admin

func (*Bootstrap) GetBootstrapExtensions

func (x *Bootstrap) GetBootstrapExtensions() []*v3.TypedExtensionConfig

func (*Bootstrap) GetCertificateProviderInstances

func (x *Bootstrap) GetCertificateProviderInstances() map[string]*v3.TypedExtensionConfig

func (*Bootstrap) GetClusterManager

func (x *Bootstrap) GetClusterManager() *ClusterManager

func (*Bootstrap) GetConfigSources

func (x *Bootstrap) GetConfigSources() []*v3.ConfigSource

func (*Bootstrap) GetDefaultConfigSource

func (x *Bootstrap) GetDefaultConfigSource() *v3.ConfigSource

func (*Bootstrap) GetDefaultRegexEngine

func (x *Bootstrap) GetDefaultRegexEngine() *v3.TypedExtensionConfig

func (*Bootstrap) GetDefaultSocketInterface

func (x *Bootstrap) GetDefaultSocketInterface() string

func (*Bootstrap) GetDnsResolutionConfig deprecated

func (x *Bootstrap) GetDnsResolutionConfig() *v3.DnsResolutionConfig

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) GetDynamicResources

func (x *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources

func (*Bootstrap) GetEnableDispatcherStats

func (x *Bootstrap) GetEnableDispatcherStats() bool

func (*Bootstrap) GetFatalActions

func (x *Bootstrap) GetFatalActions() []*FatalAction

func (*Bootstrap) GetFlagsPath

func (x *Bootstrap) GetFlagsPath() string

func (*Bootstrap) GetHdsConfig

func (x *Bootstrap) GetHdsConfig() *v3.ApiConfigSource

func (*Bootstrap) GetHeaderPrefix

func (x *Bootstrap) GetHeaderPrefix() string

func (*Bootstrap) GetInlineHeaders

func (x *Bootstrap) GetInlineHeaders() []*CustomInlineHeader

func (*Bootstrap) GetLayeredRuntime

func (x *Bootstrap) GetLayeredRuntime() *LayeredRuntime

func (*Bootstrap) GetListenerManager

func (x *Bootstrap) GetListenerManager() *v3.TypedExtensionConfig

func (*Bootstrap) GetNode

func (x *Bootstrap) GetNode() *v3.Node

func (*Bootstrap) GetNodeContextParams

func (x *Bootstrap) GetNodeContextParams() []string

func (*Bootstrap) GetOverloadManager

func (x *Bootstrap) GetOverloadManager() *v33.OverloadManager

func (*Bootstrap) GetPerfTracingFilePath

func (x *Bootstrap) GetPerfTracingFilePath() string

func (*Bootstrap) GetStaticResources

func (x *Bootstrap) GetStaticResources() *Bootstrap_StaticResources

func (*Bootstrap) GetStatsConfig

func (x *Bootstrap) GetStatsConfig() *v31.StatsConfig

func (*Bootstrap) GetStatsFlush

func (x *Bootstrap) GetStatsFlush() isBootstrap_StatsFlush

func (*Bootstrap) GetStatsFlushInterval

func (x *Bootstrap) GetStatsFlushInterval() *durationpb.Duration

func (*Bootstrap) GetStatsFlushOnAdmin

func (x *Bootstrap) GetStatsFlushOnAdmin() bool

func (*Bootstrap) GetStatsServerVersionOverride

func (x *Bootstrap) GetStatsServerVersionOverride() *wrapperspb.UInt64Value

func (*Bootstrap) GetStatsSinks

func (x *Bootstrap) GetStatsSinks() []*v31.StatsSink

func (*Bootstrap) GetTracing deprecated

func (x *Bootstrap) GetTracing() *v32.Tracing

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) GetTypedDnsResolverConfig

func (x *Bootstrap) GetTypedDnsResolverConfig() *v3.TypedExtensionConfig

func (*Bootstrap) GetUseTcpForDnsLookups deprecated

func (x *Bootstrap) GetUseTcpForDnsLookups() bool

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) GetWatchdog deprecated

func (x *Bootstrap) GetWatchdog() *Watchdog

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) GetWatchdogs

func (x *Bootstrap) GetWatchdogs() *Watchdogs

func (*Bootstrap) GetXdsConfigTrackerExtension

func (x *Bootstrap) GetXdsConfigTrackerExtension() *v3.TypedExtensionConfig

func (*Bootstrap) GetXdsDelegateExtension

func (x *Bootstrap) GetXdsDelegateExtension() *v3.TypedExtensionConfig

func (*Bootstrap) HasAdmin

func (x *Bootstrap) HasAdmin() bool

func (*Bootstrap) HasClusterManager

func (x *Bootstrap) HasClusterManager() bool

func (*Bootstrap) HasDefaultConfigSource

func (x *Bootstrap) HasDefaultConfigSource() bool

func (*Bootstrap) HasDefaultRegexEngine

func (x *Bootstrap) HasDefaultRegexEngine() bool

func (*Bootstrap) HasDnsResolutionConfig deprecated

func (x *Bootstrap) HasDnsResolutionConfig() bool

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) HasDynamicResources

func (x *Bootstrap) HasDynamicResources() bool

func (*Bootstrap) HasHdsConfig

func (x *Bootstrap) HasHdsConfig() bool

func (*Bootstrap) HasLayeredRuntime

func (x *Bootstrap) HasLayeredRuntime() bool

func (*Bootstrap) HasListenerManager

func (x *Bootstrap) HasListenerManager() bool

func (*Bootstrap) HasNode

func (x *Bootstrap) HasNode() bool

func (*Bootstrap) HasOverloadManager

func (x *Bootstrap) HasOverloadManager() bool

func (*Bootstrap) HasStaticResources

func (x *Bootstrap) HasStaticResources() bool

func (*Bootstrap) HasStatsConfig

func (x *Bootstrap) HasStatsConfig() bool

func (*Bootstrap) HasStatsFlush

func (x *Bootstrap) HasStatsFlush() bool

func (*Bootstrap) HasStatsFlushInterval

func (x *Bootstrap) HasStatsFlushInterval() bool

func (*Bootstrap) HasStatsFlushOnAdmin

func (x *Bootstrap) HasStatsFlushOnAdmin() bool

func (*Bootstrap) HasStatsServerVersionOverride

func (x *Bootstrap) HasStatsServerVersionOverride() bool

func (*Bootstrap) HasTracing deprecated

func (x *Bootstrap) HasTracing() bool

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) HasTypedDnsResolverConfig

func (x *Bootstrap) HasTypedDnsResolverConfig() bool

func (*Bootstrap) HasWatchdog deprecated

func (x *Bootstrap) HasWatchdog() bool

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) HasWatchdogs

func (x *Bootstrap) HasWatchdogs() bool

func (*Bootstrap) HasXdsConfigTrackerExtension

func (x *Bootstrap) HasXdsConfigTrackerExtension() bool

func (*Bootstrap) HasXdsDelegateExtension

func (x *Bootstrap) HasXdsDelegateExtension() bool

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

func (x *Bootstrap) ProtoReflect() protoreflect.Message

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) SetAdmin

func (x *Bootstrap) SetAdmin(v *Admin)

func (*Bootstrap) SetBootstrapExtensions

func (x *Bootstrap) SetBootstrapExtensions(v []*v3.TypedExtensionConfig)

func (*Bootstrap) SetCertificateProviderInstances

func (x *Bootstrap) SetCertificateProviderInstances(v map[string]*v3.TypedExtensionConfig)

func (*Bootstrap) SetClusterManager

func (x *Bootstrap) SetClusterManager(v *ClusterManager)

func (*Bootstrap) SetConfigSources

func (x *Bootstrap) SetConfigSources(v []*v3.ConfigSource)

func (*Bootstrap) SetDefaultConfigSource

func (x *Bootstrap) SetDefaultConfigSource(v *v3.ConfigSource)

func (*Bootstrap) SetDefaultRegexEngine

func (x *Bootstrap) SetDefaultRegexEngine(v *v3.TypedExtensionConfig)

func (*Bootstrap) SetDefaultSocketInterface

func (x *Bootstrap) SetDefaultSocketInterface(v string)

func (*Bootstrap) SetDnsResolutionConfig deprecated

func (x *Bootstrap) SetDnsResolutionConfig(v *v3.DnsResolutionConfig)

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) SetDynamicResources

func (x *Bootstrap) SetDynamicResources(v *Bootstrap_DynamicResources)

func (*Bootstrap) SetEnableDispatcherStats

func (x *Bootstrap) SetEnableDispatcherStats(v bool)

func (*Bootstrap) SetFatalActions

func (x *Bootstrap) SetFatalActions(v []*FatalAction)

func (*Bootstrap) SetFlagsPath

func (x *Bootstrap) SetFlagsPath(v string)

func (*Bootstrap) SetHdsConfig

func (x *Bootstrap) SetHdsConfig(v *v3.ApiConfigSource)

func (*Bootstrap) SetHeaderPrefix

func (x *Bootstrap) SetHeaderPrefix(v string)

func (*Bootstrap) SetInlineHeaders

func (x *Bootstrap) SetInlineHeaders(v []*CustomInlineHeader)

func (*Bootstrap) SetLayeredRuntime

func (x *Bootstrap) SetLayeredRuntime(v *LayeredRuntime)

func (*Bootstrap) SetListenerManager

func (x *Bootstrap) SetListenerManager(v *v3.TypedExtensionConfig)

func (*Bootstrap) SetNode

func (x *Bootstrap) SetNode(v *v3.Node)

func (*Bootstrap) SetNodeContextParams

func (x *Bootstrap) SetNodeContextParams(v []string)

func (*Bootstrap) SetOverloadManager

func (x *Bootstrap) SetOverloadManager(v *v33.OverloadManager)

func (*Bootstrap) SetPerfTracingFilePath

func (x *Bootstrap) SetPerfTracingFilePath(v string)

func (*Bootstrap) SetStaticResources

func (x *Bootstrap) SetStaticResources(v *Bootstrap_StaticResources)

func (*Bootstrap) SetStatsConfig

func (x *Bootstrap) SetStatsConfig(v *v31.StatsConfig)

func (*Bootstrap) SetStatsFlushInterval

func (x *Bootstrap) SetStatsFlushInterval(v *durationpb.Duration)

func (*Bootstrap) SetStatsFlushOnAdmin

func (x *Bootstrap) SetStatsFlushOnAdmin(v bool)

func (*Bootstrap) SetStatsServerVersionOverride

func (x *Bootstrap) SetStatsServerVersionOverride(v *wrapperspb.UInt64Value)

func (*Bootstrap) SetStatsSinks

func (x *Bootstrap) SetStatsSinks(v []*v31.StatsSink)

func (*Bootstrap) SetTracing deprecated

func (x *Bootstrap) SetTracing(v *v32.Tracing)

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) SetTypedDnsResolverConfig

func (x *Bootstrap) SetTypedDnsResolverConfig(v *v3.TypedExtensionConfig)

func (*Bootstrap) SetUseTcpForDnsLookups deprecated

func (x *Bootstrap) SetUseTcpForDnsLookups(v bool)

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) SetWatchdog deprecated

func (x *Bootstrap) SetWatchdog(v *Watchdog)

Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.

func (*Bootstrap) SetWatchdogs

func (x *Bootstrap) SetWatchdogs(v *Watchdogs)

func (*Bootstrap) SetXdsConfigTrackerExtension

func (x *Bootstrap) SetXdsConfigTrackerExtension(v *v3.TypedExtensionConfig)

func (*Bootstrap) SetXdsDelegateExtension

func (x *Bootstrap) SetXdsDelegateExtension(v *v3.TypedExtensionConfig)

func (*Bootstrap) String

func (x *Bootstrap) String() string

func (*Bootstrap) WhichStatsFlush

func (x *Bootstrap) WhichStatsFlush() case_Bootstrap_StatsFlush

type Bootstrap_DynamicResources

type Bootstrap_DynamicResources struct {

	// All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
	// :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
	LdsConfig *v3.ConfigSource `protobuf:"bytes,1,opt,name=lds_config,json=ldsConfig,proto3" json:"lds_config,omitempty"`
	// xdstp:// resource locator for listener collection.
	// [#not-implemented-hide:]
	LdsResourcesLocator string `protobuf:"bytes,5,opt,name=lds_resources_locator,json=ldsResourcesLocator,proto3" json:"lds_resources_locator,omitempty"`
	// All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
	// provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
	// configuration source.
	CdsConfig *v3.ConfigSource `protobuf:"bytes,2,opt,name=cds_config,json=cdsConfig,proto3" json:"cds_config,omitempty"`
	// xdstp:// resource locator for cluster collection.
	// [#not-implemented-hide:]
	CdsResourcesLocator string `protobuf:"bytes,6,opt,name=cds_resources_locator,json=cdsResourcesLocator,proto3" json:"cds_resources_locator,omitempty"`
	// A single :ref:`ADS <config_overview_ads>` source may be optionally
	// specified. This must have :ref:`api_type
	// <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
	// <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
	// :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
	// the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
	// streamed on the ADS channel.
	AdsConfig *v3.ApiConfigSource `protobuf:"bytes,3,opt,name=ads_config,json=adsConfig,proto3" json:"ads_config,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 7]

func (*Bootstrap_DynamicResources) ClearAdsConfig

func (x *Bootstrap_DynamicResources) ClearAdsConfig()

func (*Bootstrap_DynamicResources) ClearCdsConfig

func (x *Bootstrap_DynamicResources) ClearCdsConfig()

func (*Bootstrap_DynamicResources) ClearLdsConfig

func (x *Bootstrap_DynamicResources) ClearLdsConfig()

func (*Bootstrap_DynamicResources) GetAdsConfig

func (x *Bootstrap_DynamicResources) GetAdsConfig() *v3.ApiConfigSource

func (*Bootstrap_DynamicResources) GetCdsConfig

func (x *Bootstrap_DynamicResources) GetCdsConfig() *v3.ConfigSource

func (*Bootstrap_DynamicResources) GetCdsResourcesLocator

func (x *Bootstrap_DynamicResources) GetCdsResourcesLocator() string

func (*Bootstrap_DynamicResources) GetLdsConfig

func (x *Bootstrap_DynamicResources) GetLdsConfig() *v3.ConfigSource

func (*Bootstrap_DynamicResources) GetLdsResourcesLocator

func (x *Bootstrap_DynamicResources) GetLdsResourcesLocator() string

func (*Bootstrap_DynamicResources) HasAdsConfig

func (x *Bootstrap_DynamicResources) HasAdsConfig() bool

func (*Bootstrap_DynamicResources) HasCdsConfig

func (x *Bootstrap_DynamicResources) HasCdsConfig() bool

func (*Bootstrap_DynamicResources) HasLdsConfig

func (x *Bootstrap_DynamicResources) HasLdsConfig() bool

func (*Bootstrap_DynamicResources) ProtoMessage

func (*Bootstrap_DynamicResources) ProtoMessage()

func (*Bootstrap_DynamicResources) ProtoReflect

func (*Bootstrap_DynamicResources) Reset

func (x *Bootstrap_DynamicResources) Reset()

func (*Bootstrap_DynamicResources) SetAdsConfig

func (x *Bootstrap_DynamicResources) SetAdsConfig(v *v3.ApiConfigSource)

func (*Bootstrap_DynamicResources) SetCdsConfig

func (x *Bootstrap_DynamicResources) SetCdsConfig(v *v3.ConfigSource)

func (*Bootstrap_DynamicResources) SetCdsResourcesLocator

func (x *Bootstrap_DynamicResources) SetCdsResourcesLocator(v string)

func (*Bootstrap_DynamicResources) SetLdsConfig

func (x *Bootstrap_DynamicResources) SetLdsConfig(v *v3.ConfigSource)

func (*Bootstrap_DynamicResources) SetLdsResourcesLocator

func (x *Bootstrap_DynamicResources) SetLdsResourcesLocator(v string)

func (*Bootstrap_DynamicResources) String

func (x *Bootstrap_DynamicResources) String() string

type Bootstrap_DynamicResources_builder

type Bootstrap_DynamicResources_builder struct {

	// All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
	// :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
	LdsConfig *v3.ConfigSource
	// xdstp:// resource locator for listener collection.
	// [#not-implemented-hide:]
	LdsResourcesLocator string
	// All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
	// provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
	// configuration source.
	CdsConfig *v3.ConfigSource
	// xdstp:// resource locator for cluster collection.
	// [#not-implemented-hide:]
	CdsResourcesLocator string
	// A single :ref:`ADS <config_overview_ads>` source may be optionally
	// specified. This must have :ref:`api_type
	// <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
	// <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
	// :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
	// the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
	// streamed on the ADS channel.
	AdsConfig *v3.ApiConfigSource
	// contains filtered or unexported fields
}

func (Bootstrap_DynamicResources_builder) Build

type Bootstrap_StaticResources

type Bootstrap_StaticResources struct {

	// Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
	// available regardless of LDS configuration.
	Listeners []*v36.Listener `protobuf:"bytes,1,rep,name=listeners,proto3" json:"listeners,omitempty"`
	// If a network based configuration source is specified for :ref:`cds_config
	// <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
	// to have some initial cluster definitions available to allow Envoy to know
	// how to speak to the management server. These cluster definitions may not
	// use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
	// IP or DNS-based).
	Clusters []*v37.Cluster `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// These static secrets can be used by :ref:`SdsSecretConfig
	// <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
	Secrets []*v38.Secret `protobuf:"bytes,3,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap_StaticResources) GetClusters

func (x *Bootstrap_StaticResources) GetClusters() []*v37.Cluster

func (*Bootstrap_StaticResources) GetListeners

func (x *Bootstrap_StaticResources) GetListeners() []*v36.Listener

func (*Bootstrap_StaticResources) GetSecrets

func (x *Bootstrap_StaticResources) GetSecrets() []*v38.Secret

func (*Bootstrap_StaticResources) ProtoMessage

func (*Bootstrap_StaticResources) ProtoMessage()

func (*Bootstrap_StaticResources) ProtoReflect

func (*Bootstrap_StaticResources) Reset

func (x *Bootstrap_StaticResources) Reset()

func (*Bootstrap_StaticResources) SetClusters

func (x *Bootstrap_StaticResources) SetClusters(v []*v37.Cluster)

func (*Bootstrap_StaticResources) SetListeners

func (x *Bootstrap_StaticResources) SetListeners(v []*v36.Listener)

func (*Bootstrap_StaticResources) SetSecrets

func (x *Bootstrap_StaticResources) SetSecrets(v []*v38.Secret)

func (*Bootstrap_StaticResources) String

func (x *Bootstrap_StaticResources) String() string

type Bootstrap_StaticResources_builder

type Bootstrap_StaticResources_builder struct {

	// Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
	// available regardless of LDS configuration.
	Listeners []*v36.Listener
	// If a network based configuration source is specified for :ref:`cds_config
	// <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
	// to have some initial cluster definitions available to allow Envoy to know
	// how to speak to the management server. These cluster definitions may not
	// use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
	// IP or DNS-based).
	Clusters []*v37.Cluster
	// These static secrets can be used by :ref:`SdsSecretConfig
	// <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
	Secrets []*v38.Secret
	// contains filtered or unexported fields
}

func (Bootstrap_StaticResources_builder) Build

type Bootstrap_StatsFlushOnAdmin

type Bootstrap_StatsFlushOnAdmin struct {
	// Flush stats to sinks only when queried for on the admin interface. If set,
	// a flush timer is not created. Only one of “stats_flush_on_admin“ or
	// “stats_flush_interval“ can be set.
	StatsFlushOnAdmin bool `protobuf:"varint,29,opt,name=stats_flush_on_admin,json=statsFlushOnAdmin,proto3,oneof"`
}

type Bootstrap_builder

type Bootstrap_builder struct {

	// Node identity to present to the management server and for instance
	// identification purposes (e.g. in generated headers).
	Node *v3.Node
	// A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
	// that will be included in the context parameters of the effective
	// xdstp:// URL that is sent in a discovery request when resource
	// locators are used for LDS/CDS. Any non-string field will have its JSON
	// encoding set as the context parameter value, with the exception of
	// metadata, which will be flattened (see example below). The supported field
	// names are:
	// - "cluster"
	// - "id"
	// - "locality.region"
	// - "locality.sub_zone"
	// - "locality.zone"
	// - "metadata"
	// - "user_agent_build_version.metadata"
	// - "user_agent_build_version.version"
	// - "user_agent_name"
	// - "user_agent_version"
	//
	// The node context parameters act as a base layer dictionary for the context
	// parameters (i.e. more specific resource specific context parameters will
	// override). Field names will be prefixed with “udpa.node.” when included in
	// context parameters.
	//
	// For example, if node_context_params is “["user_agent_name", "metadata"]“,
	// the implied context parameters might be::
	//
	//	node.user_agent_name: "envoy"
	//	node.metadata.foo: "{\"bar\": \"baz\"}"
	//	node.metadata.some: "42"
	//	node.metadata.thing: "\"thing\""
	//
	// [#not-implemented-hide:]
	NodeContextParams []string
	// Statically specified resources.
	StaticResources *Bootstrap_StaticResources
	// xDS configuration sources.
	DynamicResources *Bootstrap_DynamicResources
	// Configuration for the cluster manager which owns all upstream clusters
	// within the server.
	ClusterManager *ClusterManager
	// Health discovery service config option.
	// (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
	HdsConfig *v3.ApiConfigSource
	// Optional file system path to search for startup flag files.
	FlagsPath string
	// Optional set of stats sinks.
	StatsSinks []*v31.StatsSink
	// Configuration for internal processing of stats.
	StatsConfig *v31.StatsConfig
	// Optional duration between flushes to configured stats sinks. For
	// performance reasons Envoy latches counters and only flushes counters and
	// gauges at a periodic interval. If not specified the default is 5000ms (5
	// seconds). Only one of “stats_flush_interval“ or “stats_flush_on_admin“
	// can be set.
	// Duration must be at least 1ms and at most 5 min.
	StatsFlushInterval *durationpb.Duration
	// Fields of oneof StatsFlush:
	// Flush stats to sinks only when queried for on the admin interface. If set,
	// a flush timer is not created. Only one of “stats_flush_on_admin“ or
	// “stats_flush_interval“ can be set.
	StatsFlushOnAdmin *bool
	// -- end of StatsFlush
	// Optional watchdog configuration.
	// This is for a single watchdog configuration for the entire system.
	// Deprecated in favor of “watchdogs“ which has finer granularity.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	Watchdog *Watchdog
	// Optional watchdogs configuration.
	// This is used for specifying different watchdogs for the different subsystems.
	// [#extension-category: envoy.guarddog_actions]
	Watchdogs *Watchdogs
	// Configuration for an external tracing provider.
	//
	// .. attention::
	//
	//	This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
	//	<envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	Tracing *v32.Tracing
	// Configuration for the runtime configuration provider. If not
	// specified, a “null” provider will be used which will result in all defaults
	// being used.
	LayeredRuntime *LayeredRuntime
	// Configuration for the local administration HTTP server.
	Admin *Admin
	// Optional overload manager configuration.
	OverloadManager *v33.OverloadManager
	// Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
	// Note that this records a value for each iteration of the event loop on every thread. This
	// should normally be minimal overhead, but when using
	// :ref:`statsd <envoy_v3_api_msg_config.metrics.v3.StatsdSink>`, it will send each observed value
	// over the wire individually because the statsd protocol doesn't have any way to represent a
	// histogram summary. Be aware that this can be a very large volume of data.
	EnableDispatcherStats bool
	// Optional string which will be used in lieu of x-envoy in prefixing headers.
	//
	// For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
	// transformed into x-foo-retry-on etc.
	//
	// Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
	// headers Envoy will trust for core code and core extensions only. Be VERY careful making
	// changes to this string, especially in multi-layer Envoy deployments or deployments using
	// extensions which are not upstream.
	HeaderPrefix string
	// Optional proxy version which will be used to set the value of :ref:`server.version statistic
	// <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
	// :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
	StatsServerVersionOverride *wrapperspb.UInt64Value
	// Always use TCP queries instead of UDP queries for DNS lookups.
	// This may be overridden on a per-cluster basis in cds_config,
	// when :ref:`dns_resolvers <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
	// :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
	// specified.
	// This field is deprecated in favor of “dns_resolution_config“
	// which aggregates all of the DNS resolver configuration in a single message.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	UseTcpForDnsLookups bool
	// DNS resolution configuration which includes the underlying dns resolver addresses and options.
	// This may be overridden on a per-cluster basis in cds_config, when
	// :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
	// is specified.
	// This field is deprecated in favor of
	// :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
	//
	// Deprecated: Marked as deprecated in envoy/config/bootstrap/v3/bootstrap.proto.
	DnsResolutionConfig *v3.DnsResolutionConfig
	// DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
	// or any other DNS resolver types and the related parameters.
	// For example, an object of
	// :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
	// can be packed into this “typed_dns_resolver_config“. This configuration replaces the
	// :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
	// configuration.
	// During the transition period when both “dns_resolution_config“ and “typed_dns_resolver_config“ exists,
	// when “typed_dns_resolver_config“ is in place, Envoy will use it and ignore “dns_resolution_config“.
	// When “typed_dns_resolver_config“ is missing, the default behavior is in place.
	// [#extension-category: envoy.network.dns_resolver]
	TypedDnsResolverConfig *v3.TypedExtensionConfig
	// Specifies optional bootstrap extensions to be instantiated at startup time.
	// Each item contains extension specific configuration.
	// [#extension-category: envoy.bootstrap]
	BootstrapExtensions []*v3.TypedExtensionConfig
	// Specifies optional extensions instantiated at startup time and
	// invoked during crash time on the request that caused the crash.
	FatalActions []*FatalAction
	// Configuration sources that will participate in
	// xdstp:// URL authority resolution. The algorithm is as
	// follows:
	//  1. The authority field is taken from the xdstp:// URL, call
	//     this “resource_authority“.
	//  2. “resource_authority“ is compared against the authorities in any peer
	//     “ConfigSource“. The peer “ConfigSource“ is the configuration source
	//     message which would have been used unconditionally for resolution
	//     with opaque resource names. If there is a match with an authority, the
	//     peer “ConfigSource“ message is used.
	//  3. “resource_authority“ is compared sequentially with the authorities in
	//     each configuration source in “config_sources“. The first “ConfigSource“
	//     to match wins.
	//  4. As a fallback, if no configuration source matches, then
	//     “default_config_source“ is used.
	//  5. If “default_config_source“ is not specified, resolution fails.
	//
	// [#not-implemented-hide:]
	ConfigSources []*v3.ConfigSource
	// Default configuration source for xdstp:// URLs if all
	// other resolution fails.
	// [#not-implemented-hide:]
	DefaultConfigSource *v3.ConfigSource
	// Optional overriding of default socket interface. The value must be the name of one of the
	// socket interface factories initialized through a bootstrap extension
	DefaultSocketInterface string
	// Global map of CertificateProvider instances. These instances are referred to by name in the
	// :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
	// <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
	// field.
	// [#not-implemented-hide:]
	CertificateProviderInstances map[string]*v3.TypedExtensionConfig
	// Specifies a set of headers that need to be registered as inline header. This configuration
	// allows users to customize the inline headers on-demand at Envoy startup without modifying
	// Envoy's source code.
	//
	// Note that the 'set-cookie' header cannot be registered as inline header.
	InlineHeaders []*CustomInlineHeader
	// Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
	// ProtoBuf format. The default value is "envoy.pftrace".
	PerfTracingFilePath string
	// Optional overriding of default regex engine.
	// If the value is not specified, Google RE2 will be used by default.
	// [#extension-category: envoy.regex_engines]
	DefaultRegexEngine *v3.TypedExtensionConfig
	// Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
	// fetch and load events during xDS processing.
	// If a value is not specified, no XdsResourcesDelegate will be used.
	// TODO(abeyad): Add public-facing documentation.
	// [#not-implemented-hide:]
	XdsDelegateExtension *v3.TypedExtensionConfig
	// Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
	// e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
	// process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
	//
	// .. note::
	//
	//	There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
	//	interface should be implemented before using.
	//	See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
	//	for an example usage of the interface.
	XdsConfigTrackerExtension *v3.TypedExtensionConfig
	// [#not-implemented-hide:]
	// This controls the type of listener manager configured for Envoy. Currently
	// Envoy only supports ListenerManager for this field and Envoy Mobile
	// supports ApiListenerManager.
	ListenerManager *v3.TypedExtensionConfig
	// contains filtered or unexported fields
}

func (Bootstrap_builder) Build

func (b0 Bootstrap_builder) Build() *Bootstrap

type ClusterManager

type ClusterManager struct {

	// Name of the local cluster (i.e., the cluster that owns the Envoy running
	// this configuration). In order to enable :ref:`zone aware routing
	// <arch_overview_load_balancing_zone_aware_routing>` this option must be set.
	// If “local_cluster_name“ is defined then :ref:`clusters
	// <envoy_v3_api_msg_config.cluster.v3.Cluster>` must be defined in the :ref:`Bootstrap
	// static cluster resources
	// <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.StaticResources.clusters>`. This is unrelated to
	// the :option:`--service-cluster` option which does not `affect zone aware
	// routing <https://github.com/envoyproxy/envoy/issues/774>`_.
	LocalClusterName string `protobuf:"bytes,1,opt,name=local_cluster_name,json=localClusterName,proto3" json:"local_cluster_name,omitempty"`
	// Optional global configuration for outlier detection.
	OutlierDetection *ClusterManager_OutlierDetection `protobuf:"bytes,2,opt,name=outlier_detection,json=outlierDetection,proto3" json:"outlier_detection,omitempty"`
	// Optional configuration used to bind newly established upstream connections.
	// This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
	UpstreamBindConfig *v3.BindConfig `protobuf:"bytes,3,opt,name=upstream_bind_config,json=upstreamBindConfig,proto3" json:"upstream_bind_config,omitempty"`
	// A management server endpoint to stream load stats to via
	// “StreamLoadStats“. This must have :ref:`api_type
	// <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
	// <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`.
	LoadStatsConfig *v3.ApiConfigSource `protobuf:"bytes,4,opt,name=load_stats_config,json=loadStatsConfig,proto3" json:"load_stats_config,omitempty"`
	// contains filtered or unexported fields
}

Cluster manager :ref:`architecture overview <arch_overview_cluster_manager>`.

func (*ClusterManager) ClearLoadStatsConfig

func (x *ClusterManager) ClearLoadStatsConfig()

func (*ClusterManager) ClearOutlierDetection

func (x *ClusterManager) ClearOutlierDetection()

func (*ClusterManager) ClearUpstreamBindConfig

func (x *ClusterManager) ClearUpstreamBindConfig()

func (*ClusterManager) GetLoadStatsConfig

func (x *ClusterManager) GetLoadStatsConfig() *v3.ApiConfigSource

func (*ClusterManager) GetLocalClusterName

func (x *ClusterManager) GetLocalClusterName() string

func (*ClusterManager) GetOutlierDetection

func (x *ClusterManager) GetOutlierDetection() *ClusterManager_OutlierDetection

func (*ClusterManager) GetUpstreamBindConfig

func (x *ClusterManager) GetUpstreamBindConfig() *v3.BindConfig

func (*ClusterManager) HasLoadStatsConfig

func (x *ClusterManager) HasLoadStatsConfig() bool

func (*ClusterManager) HasOutlierDetection

func (x *ClusterManager) HasOutlierDetection() bool

func (*ClusterManager) HasUpstreamBindConfig

func (x *ClusterManager) HasUpstreamBindConfig() bool

func (*ClusterManager) ProtoMessage

func (*ClusterManager) ProtoMessage()

func (*ClusterManager) ProtoReflect

func (x *ClusterManager) ProtoReflect() protoreflect.Message

func (*ClusterManager) Reset

func (x *ClusterManager) Reset()

func (*ClusterManager) SetLoadStatsConfig

func (x *ClusterManager) SetLoadStatsConfig(v *v3.ApiConfigSource)

func (*ClusterManager) SetLocalClusterName

func (x *ClusterManager) SetLocalClusterName(v string)

func (*ClusterManager) SetOutlierDetection

func (x *ClusterManager) SetOutlierDetection(v *ClusterManager_OutlierDetection)

func (*ClusterManager) SetUpstreamBindConfig

func (x *ClusterManager) SetUpstreamBindConfig(v *v3.BindConfig)

func (*ClusterManager) String

func (x *ClusterManager) String() string

type ClusterManager_OutlierDetection

type ClusterManager_OutlierDetection struct {

	// Specifies the path to the outlier event log.
	EventLogPath string `protobuf:"bytes,1,opt,name=event_log_path,json=eventLogPath,proto3" json:"event_log_path,omitempty"`
	// [#not-implemented-hide:]
	// The gRPC service for the outlier detection event service.
	// If empty, outlier detection events won't be sent to a remote endpoint.
	EventService *v3.EventServiceConfig `protobuf:"bytes,2,opt,name=event_service,json=eventService,proto3" json:"event_service,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterManager_OutlierDetection) ClearEventService

func (x *ClusterManager_OutlierDetection) ClearEventService()

func (*ClusterManager_OutlierDetection) GetEventLogPath

func (x *ClusterManager_OutlierDetection) GetEventLogPath() string

func (*ClusterManager_OutlierDetection) GetEventService

func (*ClusterManager_OutlierDetection) HasEventService

func (x *ClusterManager_OutlierDetection) HasEventService() bool

func (*ClusterManager_OutlierDetection) ProtoMessage

func (*ClusterManager_OutlierDetection) ProtoMessage()

func (*ClusterManager_OutlierDetection) ProtoReflect

func (*ClusterManager_OutlierDetection) Reset

func (*ClusterManager_OutlierDetection) SetEventLogPath

func (x *ClusterManager_OutlierDetection) SetEventLogPath(v string)

func (*ClusterManager_OutlierDetection) SetEventService

func (x *ClusterManager_OutlierDetection) SetEventService(v *v3.EventServiceConfig)

func (*ClusterManager_OutlierDetection) String

type ClusterManager_OutlierDetection_builder

type ClusterManager_OutlierDetection_builder struct {

	// Specifies the path to the outlier event log.
	EventLogPath string
	// [#not-implemented-hide:]
	// The gRPC service for the outlier detection event service.
	// If empty, outlier detection events won't be sent to a remote endpoint.
	EventService *v3.EventServiceConfig
	// contains filtered or unexported fields
}

func (ClusterManager_OutlierDetection_builder) Build

type ClusterManager_builder

type ClusterManager_builder struct {

	// Name of the local cluster (i.e., the cluster that owns the Envoy running
	// this configuration). In order to enable :ref:`zone aware routing
	// <arch_overview_load_balancing_zone_aware_routing>` this option must be set.
	// If “local_cluster_name“ is defined then :ref:`clusters
	// <envoy_v3_api_msg_config.cluster.v3.Cluster>` must be defined in the :ref:`Bootstrap
	// static cluster resources
	// <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.StaticResources.clusters>`. This is unrelated to
	// the :option:`--service-cluster` option which does not `affect zone aware
	// routing <https://github.com/envoyproxy/envoy/issues/774>`_.
	LocalClusterName string
	// Optional global configuration for outlier detection.
	OutlierDetection *ClusterManager_OutlierDetection
	// Optional configuration used to bind newly established upstream connections.
	// This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
	UpstreamBindConfig *v3.BindConfig
	// A management server endpoint to stream load stats to via
	// “StreamLoadStats“. This must have :ref:`api_type
	// <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
	// <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`.
	LoadStatsConfig *v3.ApiConfigSource
	// contains filtered or unexported fields
}

func (ClusterManager_builder) Build

type CustomInlineHeader

type CustomInlineHeader struct {

	// The name of the header that is expected to be set as the inline header.
	InlineHeaderName string `protobuf:"bytes,1,opt,name=inline_header_name,json=inlineHeaderName,proto3" json:"inline_header_name,omitempty"`
	// The type of the header that is expected to be set as the inline header.
	InlineHeaderType CustomInlineHeader_InlineHeaderType `` /* 179-byte string literal not displayed */
	// contains filtered or unexported fields
}

Used to specify the header that needs to be registered as an inline header.

If request or response contain multiple headers with the same name and the header name is registered as an inline header. Then multiple headers will be folded into one, and multiple header values will be concatenated by a suitable delimiter. The delimiter is generally a comma.

For example, if 'foo' is registered as an inline header, and the headers contains the following two headers:

.. code-block:: text

foo: bar
foo: eep

Then they will eventually be folded into:

.. code-block:: text

foo: bar, eep

Inline headers provide O(1) search performance, but each inline header imposes an additional memory overhead on all instances of the corresponding type of HeaderMap or TrailerMap.

func (*CustomInlineHeader) GetInlineHeaderName

func (x *CustomInlineHeader) GetInlineHeaderName() string

func (*CustomInlineHeader) GetInlineHeaderType

func (*CustomInlineHeader) ProtoMessage

func (*CustomInlineHeader) ProtoMessage()

func (*CustomInlineHeader) ProtoReflect

func (x *CustomInlineHeader) ProtoReflect() protoreflect.Message

func (*CustomInlineHeader) Reset

func (x *CustomInlineHeader) Reset()

func (*CustomInlineHeader) SetInlineHeaderName

func (x *CustomInlineHeader) SetInlineHeaderName(v string)

func (*CustomInlineHeader) SetInlineHeaderType

func (x *CustomInlineHeader) SetInlineHeaderType(v CustomInlineHeader_InlineHeaderType)

func (*CustomInlineHeader) String

func (x *CustomInlineHeader) String() string

type CustomInlineHeader_InlineHeaderType

type CustomInlineHeader_InlineHeaderType int32
const (
	CustomInlineHeader_REQUEST_HEADER   CustomInlineHeader_InlineHeaderType = 0
	CustomInlineHeader_REQUEST_TRAILER  CustomInlineHeader_InlineHeaderType = 1
	CustomInlineHeader_RESPONSE_HEADER  CustomInlineHeader_InlineHeaderType = 2
	CustomInlineHeader_RESPONSE_TRAILER CustomInlineHeader_InlineHeaderType = 3
)

func (CustomInlineHeader_InlineHeaderType) Descriptor

func (CustomInlineHeader_InlineHeaderType) Enum

func (CustomInlineHeader_InlineHeaderType) Number

func (CustomInlineHeader_InlineHeaderType) String

func (CustomInlineHeader_InlineHeaderType) Type

type CustomInlineHeader_builder

type CustomInlineHeader_builder struct {

	// The name of the header that is expected to be set as the inline header.
	InlineHeaderName string
	// The type of the header that is expected to be set as the inline header.
	InlineHeaderType CustomInlineHeader_InlineHeaderType
	// contains filtered or unexported fields
}

func (CustomInlineHeader_builder) Build

type FatalAction

type FatalAction struct {

	// Extension specific configuration for the action. It's expected to conform
	// to the “Envoy::Server::Configuration::FatalAction“ interface.
	Config *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

Fatal actions to run while crashing. Actions can be safe (meaning they are async-signal safe) or unsafe. We run all safe actions before we run unsafe actions. If using an unsafe action that could get stuck or deadlock, it important to have an out of band system to terminate the process.

The interface for the extension is “Envoy::Server::Configuration::FatalAction“. “FatalAction“ extensions live in the “envoy.extensions.fatal_actions“ API namespace.

func (*FatalAction) ClearConfig

func (x *FatalAction) ClearConfig()

func (*FatalAction) GetConfig

func (x *FatalAction) GetConfig() *v3.TypedExtensionConfig

func (*FatalAction) HasConfig

func (x *FatalAction) HasConfig() bool

func (*FatalAction) ProtoMessage

func (*FatalAction) ProtoMessage()

func (*FatalAction) ProtoReflect

func (x *FatalAction) ProtoReflect() protoreflect.Message

func (*FatalAction) Reset

func (x *FatalAction) Reset()

func (*FatalAction) SetConfig

func (x *FatalAction) SetConfig(v *v3.TypedExtensionConfig)

func (*FatalAction) String

func (x *FatalAction) String() string

type FatalAction_builder

type FatalAction_builder struct {

	// Extension specific configuration for the action. It's expected to conform
	// to the “Envoy::Server::Configuration::FatalAction“ interface.
	Config *v3.TypedExtensionConfig
	// contains filtered or unexported fields
}

func (FatalAction_builder) Build

func (b0 FatalAction_builder) Build() *FatalAction

type LayeredRuntime

type LayeredRuntime struct {

	// The :ref:`layers <config_runtime_layering>` of the runtime. This is ordered
	// such that later layers in the list overlay earlier entries.
	Layers []*RuntimeLayer `protobuf:"bytes,1,rep,name=layers,proto3" json:"layers,omitempty"`
	// contains filtered or unexported fields
}

Runtime :ref:`configuration overview <config_runtime>`.

func (*LayeredRuntime) GetLayers

func (x *LayeredRuntime) GetLayers() []*RuntimeLayer

func (*LayeredRuntime) ProtoMessage

func (*LayeredRuntime) ProtoMessage()

func (*LayeredRuntime) ProtoReflect

func (x *LayeredRuntime) ProtoReflect() protoreflect.Message

func (*LayeredRuntime) Reset

func (x *LayeredRuntime) Reset()

func (*LayeredRuntime) SetLayers

func (x *LayeredRuntime) SetLayers(v []*RuntimeLayer)

func (*LayeredRuntime) String

func (x *LayeredRuntime) String() string

type LayeredRuntime_builder

type LayeredRuntime_builder struct {

	// The :ref:`layers <config_runtime_layering>` of the runtime. This is ordered
	// such that later layers in the list overlay earlier entries.
	Layers []*RuntimeLayer
	// contains filtered or unexported fields
}

func (LayeredRuntime_builder) Build

type Runtime

type Runtime struct {

	// The implementation assumes that the file system tree is accessed via a
	// symbolic link. An atomic link swap is used when a new tree should be
	// switched to. This parameter specifies the path to the symbolic link. Envoy
	// will watch the location for changes and reload the file system tree when
	// they happen. If this parameter is not set, there will be no disk based
	// runtime.
	SymlinkRoot string `protobuf:"bytes,1,opt,name=symlink_root,json=symlinkRoot,proto3" json:"symlink_root,omitempty"`
	// Specifies the subdirectory to load within the root directory. This is
	// useful if multiple systems share the same delivery mechanism. Envoy
	// configuration elements can be contained in a dedicated subdirectory.
	Subdirectory string `protobuf:"bytes,2,opt,name=subdirectory,proto3" json:"subdirectory,omitempty"`
	// Specifies an optional subdirectory to load within the root directory. If
	// specified and the directory exists, configuration values within this
	// directory will override those found in the primary subdirectory. This is
	// useful when Envoy is deployed across many different types of servers.
	// Sometimes it is useful to have a per service cluster directory for runtime
	// configuration. See below for exactly how the override directory is used.
	OverrideSubdirectory string `protobuf:"bytes,3,opt,name=override_subdirectory,json=overrideSubdirectory,proto3" json:"override_subdirectory,omitempty"`
	// Static base runtime. This will be :ref:`overridden
	// <config_runtime_layering>` by other runtime layers, e.g.
	// disk or admin. This follows the :ref:`runtime protobuf JSON representation
	// encoding <config_runtime_proto_json>`.
	Base *structpb.Struct `protobuf:"bytes,4,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

Runtime :ref:`configuration overview <config_runtime>` (deprecated).

func (*Runtime) ClearBase

func (x *Runtime) ClearBase()

func (*Runtime) GetBase

func (x *Runtime) GetBase() *structpb.Struct

func (*Runtime) GetOverrideSubdirectory

func (x *Runtime) GetOverrideSubdirectory() string

func (*Runtime) GetSubdirectory

func (x *Runtime) GetSubdirectory() string

func (*Runtime) GetSymlinkRoot

func (x *Runtime) GetSymlinkRoot() string

func (*Runtime) HasBase

func (x *Runtime) HasBase() bool

func (*Runtime) ProtoMessage

func (*Runtime) ProtoMessage()

func (*Runtime) ProtoReflect

func (x *Runtime) ProtoReflect() protoreflect.Message

func (*Runtime) Reset

func (x *Runtime) Reset()

func (*Runtime) SetBase

func (x *Runtime) SetBase(v *structpb.Struct)

func (*Runtime) SetOverrideSubdirectory

func (x *Runtime) SetOverrideSubdirectory(v string)

func (*Runtime) SetSubdirectory

func (x *Runtime) SetSubdirectory(v string)

func (*Runtime) SetSymlinkRoot

func (x *Runtime) SetSymlinkRoot(v string)

func (*Runtime) String

func (x *Runtime) String() string

type RuntimeLayer

type RuntimeLayer struct {

	// Descriptive name for the runtime layer. This is only used for the runtime
	// :http:get:`/runtime` output.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to LayerSpecifier:
	//
	//	*RuntimeLayer_StaticLayer
	//	*RuntimeLayer_DiskLayer_
	//	*RuntimeLayer_AdminLayer_
	//	*RuntimeLayer_RtdsLayer_
	LayerSpecifier isRuntimeLayer_LayerSpecifier `protobuf_oneof:"layer_specifier"`
	// contains filtered or unexported fields
}

[#next-free-field: 6]

func (*RuntimeLayer) ClearAdminLayer

func (x *RuntimeLayer) ClearAdminLayer()

func (*RuntimeLayer) ClearDiskLayer

func (x *RuntimeLayer) ClearDiskLayer()

func (*RuntimeLayer) ClearLayerSpecifier

func (x *RuntimeLayer) ClearLayerSpecifier()

func (*RuntimeLayer) ClearRtdsLayer

func (x *RuntimeLayer) ClearRtdsLayer()

func (*RuntimeLayer) ClearStaticLayer

func (x *RuntimeLayer) ClearStaticLayer()

func (*RuntimeLayer) GetAdminLayer

func (x *RuntimeLayer) GetAdminLayer() *RuntimeLayer_AdminLayer

func (*RuntimeLayer) GetDiskLayer

func (x *RuntimeLayer) GetDiskLayer() *RuntimeLayer_DiskLayer

func (*RuntimeLayer) GetLayerSpecifier

func (x *RuntimeLayer) GetLayerSpecifier() isRuntimeLayer_LayerSpecifier

func (*RuntimeLayer) GetName

func (x *RuntimeLayer) GetName() string

func (*RuntimeLayer) GetRtdsLayer

func (x *RuntimeLayer) GetRtdsLayer() *RuntimeLayer_RtdsLayer

func (*RuntimeLayer) GetStaticLayer

func (x *RuntimeLayer) GetStaticLayer() *structpb.Struct

func (*RuntimeLayer) HasAdminLayer

func (x *RuntimeLayer) HasAdminLayer() bool

func (*RuntimeLayer) HasDiskLayer

func (x *RuntimeLayer) HasDiskLayer() bool

func (*RuntimeLayer) HasLayerSpecifier

func (x *RuntimeLayer) HasLayerSpecifier() bool

func (*RuntimeLayer) HasRtdsLayer

func (x *RuntimeLayer) HasRtdsLayer() bool

func (*RuntimeLayer) HasStaticLayer

func (x *RuntimeLayer) HasStaticLayer() bool

func (*RuntimeLayer) ProtoMessage

func (*RuntimeLayer) ProtoMessage()

func (*RuntimeLayer) ProtoReflect

func (x *RuntimeLayer) ProtoReflect() protoreflect.Message

func (*RuntimeLayer) Reset

func (x *RuntimeLayer) Reset()

func (*RuntimeLayer) SetAdminLayer

func (x *RuntimeLayer) SetAdminLayer(v *RuntimeLayer_AdminLayer)

func (*RuntimeLayer) SetDiskLayer

func (x *RuntimeLayer) SetDiskLayer(v *RuntimeLayer_DiskLayer)

func (*RuntimeLayer) SetName

func (x *RuntimeLayer) SetName(v string)

func (*RuntimeLayer) SetRtdsLayer

func (x *RuntimeLayer) SetRtdsLayer(v *RuntimeLayer_RtdsLayer)

func (*RuntimeLayer) SetStaticLayer

func (x *RuntimeLayer) SetStaticLayer(v *structpb.Struct)

func (*RuntimeLayer) String

func (x *RuntimeLayer) String() string

func (*RuntimeLayer) WhichLayerSpecifier

func (x *RuntimeLayer) WhichLayerSpecifier() case_RuntimeLayer_LayerSpecifier

type RuntimeLayer_AdminLayer

type RuntimeLayer_AdminLayer struct {
	// contains filtered or unexported fields
}

:ref:`Admin console runtime <config_runtime_admin>` layer.

func (*RuntimeLayer_AdminLayer) ProtoMessage

func (*RuntimeLayer_AdminLayer) ProtoMessage()

func (*RuntimeLayer_AdminLayer) ProtoReflect

func (x *RuntimeLayer_AdminLayer) ProtoReflect() protoreflect.Message

func (*RuntimeLayer_AdminLayer) Reset

func (x *RuntimeLayer_AdminLayer) Reset()

func (*RuntimeLayer_AdminLayer) String

func (x *RuntimeLayer_AdminLayer) String() string

type RuntimeLayer_AdminLayer_

type RuntimeLayer_AdminLayer_ struct {
	AdminLayer *RuntimeLayer_AdminLayer `protobuf:"bytes,4,opt,name=admin_layer,json=adminLayer,proto3,oneof"`
}

type RuntimeLayer_AdminLayer_builder

type RuntimeLayer_AdminLayer_builder struct {
	// contains filtered or unexported fields
}

func (RuntimeLayer_AdminLayer_builder) Build

type RuntimeLayer_DiskLayer

type RuntimeLayer_DiskLayer struct {

	// The implementation assumes that the file system tree is accessed via a
	// symbolic link. An atomic link swap is used when a new tree should be
	// switched to. This parameter specifies the path to the symbolic link.
	// Envoy will watch the location for changes and reload the file system tree
	// when they happen. See documentation on runtime :ref:`atomicity
	// <config_runtime_atomicity>` for further details on how reloads are
	// treated.
	SymlinkRoot string `protobuf:"bytes,1,opt,name=symlink_root,json=symlinkRoot,proto3" json:"symlink_root,omitempty"`
	// Specifies the subdirectory to load within the root directory. This is
	// useful if multiple systems share the same delivery mechanism. Envoy
	// configuration elements can be contained in a dedicated subdirectory.
	Subdirectory string `protobuf:"bytes,3,opt,name=subdirectory,proto3" json:"subdirectory,omitempty"`
	// :ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the
	// service cluster to the path under symlink root.
	AppendServiceCluster bool `protobuf:"varint,2,opt,name=append_service_cluster,json=appendServiceCluster,proto3" json:"append_service_cluster,omitempty"`
	// contains filtered or unexported fields
}

:ref:`Disk runtime <config_runtime_local_disk>` layer.

func (*RuntimeLayer_DiskLayer) GetAppendServiceCluster

func (x *RuntimeLayer_DiskLayer) GetAppendServiceCluster() bool

func (*RuntimeLayer_DiskLayer) GetSubdirectory

func (x *RuntimeLayer_DiskLayer) GetSubdirectory() string

func (*RuntimeLayer_DiskLayer) GetSymlinkRoot

func (x *RuntimeLayer_DiskLayer) GetSymlinkRoot() string

func (*RuntimeLayer_DiskLayer) ProtoMessage

func (*RuntimeLayer_DiskLayer) ProtoMessage()

func (*RuntimeLayer_DiskLayer) ProtoReflect

func (x *RuntimeLayer_DiskLayer) ProtoReflect() protoreflect.Message

func (*RuntimeLayer_DiskLayer) Reset

func (x *RuntimeLayer_DiskLayer) Reset()

func (*RuntimeLayer_DiskLayer) SetAppendServiceCluster

func (x *RuntimeLayer_DiskLayer) SetAppendServiceCluster(v bool)

func (*RuntimeLayer_DiskLayer) SetSubdirectory

func (x *RuntimeLayer_DiskLayer) SetSubdirectory(v string)

func (*RuntimeLayer_DiskLayer) SetSymlinkRoot

func (x *RuntimeLayer_DiskLayer) SetSymlinkRoot(v string)

func (*RuntimeLayer_DiskLayer) String

func (x *RuntimeLayer_DiskLayer) String() string

type RuntimeLayer_DiskLayer_

type RuntimeLayer_DiskLayer_ struct {
	DiskLayer *RuntimeLayer_DiskLayer `protobuf:"bytes,3,opt,name=disk_layer,json=diskLayer,proto3,oneof"`
}

type RuntimeLayer_DiskLayer_builder

type RuntimeLayer_DiskLayer_builder struct {

	// The implementation assumes that the file system tree is accessed via a
	// symbolic link. An atomic link swap is used when a new tree should be
	// switched to. This parameter specifies the path to the symbolic link.
	// Envoy will watch the location for changes and reload the file system tree
	// when they happen. See documentation on runtime :ref:`atomicity
	// <config_runtime_atomicity>` for further details on how reloads are
	// treated.
	SymlinkRoot string
	// Specifies the subdirectory to load within the root directory. This is
	// useful if multiple systems share the same delivery mechanism. Envoy
	// configuration elements can be contained in a dedicated subdirectory.
	Subdirectory string
	// :ref:`Append <config_runtime_local_disk_service_cluster_subdirs>` the
	// service cluster to the path under symlink root.
	AppendServiceCluster bool
	// contains filtered or unexported fields
}

func (RuntimeLayer_DiskLayer_builder) Build

type RuntimeLayer_RtdsLayer

type RuntimeLayer_RtdsLayer struct {

	// Resource to subscribe to at “rtds_config“ for the RTDS layer.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// RTDS configuration source.
	RtdsConfig *v3.ConfigSource `protobuf:"bytes,2,opt,name=rtds_config,json=rtdsConfig,proto3" json:"rtds_config,omitempty"`
	// contains filtered or unexported fields
}

:ref:`Runtime Discovery Service (RTDS) <config_runtime_rtds>` layer.

func (*RuntimeLayer_RtdsLayer) ClearRtdsConfig

func (x *RuntimeLayer_RtdsLayer) ClearRtdsConfig()

func (*RuntimeLayer_RtdsLayer) GetName

func (x *RuntimeLayer_RtdsLayer) GetName() string

func (*RuntimeLayer_RtdsLayer) GetRtdsConfig

func (x *RuntimeLayer_RtdsLayer) GetRtdsConfig() *v3.ConfigSource

func (*RuntimeLayer_RtdsLayer) HasRtdsConfig

func (x *RuntimeLayer_RtdsLayer) HasRtdsConfig() bool

func (*RuntimeLayer_RtdsLayer) ProtoMessage

func (*RuntimeLayer_RtdsLayer) ProtoMessage()

func (*RuntimeLayer_RtdsLayer) ProtoReflect

func (x *RuntimeLayer_RtdsLayer) ProtoReflect() protoreflect.Message

func (*RuntimeLayer_RtdsLayer) Reset

func (x *RuntimeLayer_RtdsLayer) Reset()

func (*RuntimeLayer_RtdsLayer) SetName

func (x *RuntimeLayer_RtdsLayer) SetName(v string)

func (*RuntimeLayer_RtdsLayer) SetRtdsConfig

func (x *RuntimeLayer_RtdsLayer) SetRtdsConfig(v *v3.ConfigSource)

func (*RuntimeLayer_RtdsLayer) String

func (x *RuntimeLayer_RtdsLayer) String() string

type RuntimeLayer_RtdsLayer_

type RuntimeLayer_RtdsLayer_ struct {
	RtdsLayer *RuntimeLayer_RtdsLayer `protobuf:"bytes,5,opt,name=rtds_layer,json=rtdsLayer,proto3,oneof"`
}

type RuntimeLayer_RtdsLayer_builder

type RuntimeLayer_RtdsLayer_builder struct {

	// Resource to subscribe to at “rtds_config“ for the RTDS layer.
	Name string
	// RTDS configuration source.
	RtdsConfig *v3.ConfigSource
	// contains filtered or unexported fields
}

func (RuntimeLayer_RtdsLayer_builder) Build

type RuntimeLayer_StaticLayer

type RuntimeLayer_StaticLayer struct {
	// :ref:`Static runtime <config_runtime_bootstrap>` layer.
	// This follows the :ref:`runtime protobuf JSON representation encoding
	// <config_runtime_proto_json>`. Unlike static xDS resources, this static
	// layer is overridable by later layers in the runtime virtual filesystem.
	StaticLayer *structpb.Struct `protobuf:"bytes,2,opt,name=static_layer,json=staticLayer,proto3,oneof"`
}

type RuntimeLayer_builder

type RuntimeLayer_builder struct {

	// Descriptive name for the runtime layer. This is only used for the runtime
	// :http:get:`/runtime` output.
	Name string
	// Fields of oneof LayerSpecifier:
	// :ref:`Static runtime <config_runtime_bootstrap>` layer.
	// This follows the :ref:`runtime protobuf JSON representation encoding
	// <config_runtime_proto_json>`. Unlike static xDS resources, this static
	// layer is overridable by later layers in the runtime virtual filesystem.
	StaticLayer *structpb.Struct
	DiskLayer   *RuntimeLayer_DiskLayer
	AdminLayer  *RuntimeLayer_AdminLayer
	RtdsLayer   *RuntimeLayer_RtdsLayer
	// contains filtered or unexported fields
}

func (RuntimeLayer_builder) Build

func (b0 RuntimeLayer_builder) Build() *RuntimeLayer

type Runtime_builder

type Runtime_builder struct {

	// The implementation assumes that the file system tree is accessed via a
	// symbolic link. An atomic link swap is used when a new tree should be
	// switched to. This parameter specifies the path to the symbolic link. Envoy
	// will watch the location for changes and reload the file system tree when
	// they happen. If this parameter is not set, there will be no disk based
	// runtime.
	SymlinkRoot string
	// Specifies the subdirectory to load within the root directory. This is
	// useful if multiple systems share the same delivery mechanism. Envoy
	// configuration elements can be contained in a dedicated subdirectory.
	Subdirectory string
	// Specifies an optional subdirectory to load within the root directory. If
	// specified and the directory exists, configuration values within this
	// directory will override those found in the primary subdirectory. This is
	// useful when Envoy is deployed across many different types of servers.
	// Sometimes it is useful to have a per service cluster directory for runtime
	// configuration. See below for exactly how the override directory is used.
	OverrideSubdirectory string
	// Static base runtime. This will be :ref:`overridden
	// <config_runtime_layering>` by other runtime layers, e.g.
	// disk or admin. This follows the :ref:`runtime protobuf JSON representation
	// encoding <config_runtime_proto_json>`.
	Base *structpb.Struct
	// contains filtered or unexported fields
}

func (Runtime_builder) Build

func (b0 Runtime_builder) Build() *Runtime

type Watchdog

type Watchdog struct {

	// Register actions that will fire on given WatchDog events.
	// See “WatchDogAction“ for priority of events.
	Actions []*Watchdog_WatchdogAction `protobuf:"bytes,7,rep,name=actions,proto3" json:"actions,omitempty"`
	// The duration after which Envoy counts a nonresponsive thread in the
	// “watchdog_miss“ statistic. If not specified the default is 200ms.
	MissTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=miss_timeout,json=missTimeout,proto3" json:"miss_timeout,omitempty"`
	// The duration after which Envoy counts a nonresponsive thread in the
	// “watchdog_mega_miss“ statistic. If not specified the default is
	// 1000ms.
	MegamissTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=megamiss_timeout,json=megamissTimeout,proto3" json:"megamiss_timeout,omitempty"`
	// If a watched thread has been nonresponsive for this duration, assume a
	// programming error and kill the entire Envoy process. Set to 0 to disable
	// kill behavior. If not specified the default is 0 (disabled).
	KillTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=kill_timeout,json=killTimeout,proto3" json:"kill_timeout,omitempty"`
	// Defines the maximum jitter used to adjust the “kill_timeout“ if “kill_timeout“ is
	// enabled. Enabling this feature would help to reduce risk of synchronized
	// watchdog kill events across proxies due to external triggers. Set to 0 to
	// disable. If not specified the default is 0 (disabled).
	MaxKillTimeoutJitter *durationpb.Duration `protobuf:"bytes,6,opt,name=max_kill_timeout_jitter,json=maxKillTimeoutJitter,proto3" json:"max_kill_timeout_jitter,omitempty"`
	// If “max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))“
	// threads have been nonresponsive for at least this duration kill the entire
	// Envoy process. Set to 0 to disable this behavior. If not specified the
	// default is 0 (disabled).
	MultikillTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=multikill_timeout,json=multikillTimeout,proto3" json:"multikill_timeout,omitempty"`
	// Sets the threshold for “multikill_timeout“ in terms of the percentage of
	// nonresponsive threads required for the “multikill_timeout“.
	// If not specified the default is 0.
	MultikillThreshold *v35.Percent `protobuf:"bytes,5,opt,name=multikill_threshold,json=multikillThreshold,proto3" json:"multikill_threshold,omitempty"`
	// contains filtered or unexported fields
}

Envoy process watchdog configuration. When configured, this monitors for nonresponsive threads and kills the process after the configured thresholds. See the :ref:`watchdog documentation <operations_performance_watchdog>` for more information. [#next-free-field: 8]

func (*Watchdog) ClearKillTimeout

func (x *Watchdog) ClearKillTimeout()

func (*Watchdog) ClearMaxKillTimeoutJitter

func (x *Watchdog) ClearMaxKillTimeoutJitter()

func (*Watchdog) ClearMegamissTimeout

func (x *Watchdog) ClearMegamissTimeout()

func (*Watchdog) ClearMissTimeout

func (x *Watchdog) ClearMissTimeout()

func (*Watchdog) ClearMultikillThreshold

func (x *Watchdog) ClearMultikillThreshold()

func (*Watchdog) ClearMultikillTimeout

func (x *Watchdog) ClearMultikillTimeout()

func (*Watchdog) GetActions

func (x *Watchdog) GetActions() []*Watchdog_WatchdogAction

func (*Watchdog) GetKillTimeout

func (x *Watchdog) GetKillTimeout() *durationpb.Duration

func (*Watchdog) GetMaxKillTimeoutJitter

func (x *Watchdog) GetMaxKillTimeoutJitter() *durationpb.Duration

func (*Watchdog) GetMegamissTimeout

func (x *Watchdog) GetMegamissTimeout() *durationpb.Duration

func (*Watchdog) GetMissTimeout

func (x *Watchdog) GetMissTimeout() *durationpb.Duration

func (*Watchdog) GetMultikillThreshold

func (x *Watchdog) GetMultikillThreshold() *v35.Percent

func (*Watchdog) GetMultikillTimeout

func (x *Watchdog) GetMultikillTimeout() *durationpb.Duration

func (*Watchdog) HasKillTimeout

func (x *Watchdog) HasKillTimeout() bool

func (*Watchdog) HasMaxKillTimeoutJitter

func (x *Watchdog) HasMaxKillTimeoutJitter() bool

func (*Watchdog) HasMegamissTimeout

func (x *Watchdog) HasMegamissTimeout() bool

func (*Watchdog) HasMissTimeout

func (x *Watchdog) HasMissTimeout() bool

func (*Watchdog) HasMultikillThreshold

func (x *Watchdog) HasMultikillThreshold() bool

func (*Watchdog) HasMultikillTimeout

func (x *Watchdog) HasMultikillTimeout() bool

func (*Watchdog) ProtoMessage

func (*Watchdog) ProtoMessage()

func (*Watchdog) ProtoReflect

func (x *Watchdog) ProtoReflect() protoreflect.Message

func (*Watchdog) Reset

func (x *Watchdog) Reset()

func (*Watchdog) SetActions

func (x *Watchdog) SetActions(v []*Watchdog_WatchdogAction)

func (*Watchdog) SetKillTimeout

func (x *Watchdog) SetKillTimeout(v *durationpb.Duration)

func (*Watchdog) SetMaxKillTimeoutJitter

func (x *Watchdog) SetMaxKillTimeoutJitter(v *durationpb.Duration)

func (*Watchdog) SetMegamissTimeout

func (x *Watchdog) SetMegamissTimeout(v *durationpb.Duration)

func (*Watchdog) SetMissTimeout

func (x *Watchdog) SetMissTimeout(v *durationpb.Duration)

func (*Watchdog) SetMultikillThreshold

func (x *Watchdog) SetMultikillThreshold(v *v35.Percent)

func (*Watchdog) SetMultikillTimeout

func (x *Watchdog) SetMultikillTimeout(v *durationpb.Duration)

func (*Watchdog) String

func (x *Watchdog) String() string

type Watchdog_WatchdogAction

type Watchdog_WatchdogAction struct {

	// Extension specific configuration for the action.
	Config *v3.TypedExtensionConfig              `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Event  Watchdog_WatchdogAction_WatchdogEvent `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Watchdog_WatchdogAction) ClearConfig

func (x *Watchdog_WatchdogAction) ClearConfig()

func (*Watchdog_WatchdogAction) GetConfig

func (*Watchdog_WatchdogAction) GetEvent

func (*Watchdog_WatchdogAction) HasConfig

func (x *Watchdog_WatchdogAction) HasConfig() bool

func (*Watchdog_WatchdogAction) ProtoMessage

func (*Watchdog_WatchdogAction) ProtoMessage()

func (*Watchdog_WatchdogAction) ProtoReflect

func (x *Watchdog_WatchdogAction) ProtoReflect() protoreflect.Message

func (*Watchdog_WatchdogAction) Reset

func (x *Watchdog_WatchdogAction) Reset()

func (*Watchdog_WatchdogAction) SetConfig

func (*Watchdog_WatchdogAction) SetEvent

func (*Watchdog_WatchdogAction) String

func (x *Watchdog_WatchdogAction) String() string

type Watchdog_WatchdogAction_WatchdogEvent

type Watchdog_WatchdogAction_WatchdogEvent int32

The events are fired in this order: KILL, MULTIKILL, MEGAMISS, MISS. Within an event type, actions execute in the order they are configured. For KILL/MULTIKILL there is a default PANIC that will run after the registered actions and kills the process if it wasn't already killed. It might be useful to specify several debug actions, and possibly an alternate FATAL action.

const (
	Watchdog_WatchdogAction_UNKNOWN   Watchdog_WatchdogAction_WatchdogEvent = 0
	Watchdog_WatchdogAction_KILL      Watchdog_WatchdogAction_WatchdogEvent = 1
	Watchdog_WatchdogAction_MULTIKILL Watchdog_WatchdogAction_WatchdogEvent = 2
	Watchdog_WatchdogAction_MEGAMISS  Watchdog_WatchdogAction_WatchdogEvent = 3
	Watchdog_WatchdogAction_MISS      Watchdog_WatchdogAction_WatchdogEvent = 4
)

func (Watchdog_WatchdogAction_WatchdogEvent) Descriptor

func (Watchdog_WatchdogAction_WatchdogEvent) Enum

func (Watchdog_WatchdogAction_WatchdogEvent) Number

func (Watchdog_WatchdogAction_WatchdogEvent) String

func (Watchdog_WatchdogAction_WatchdogEvent) Type

type Watchdog_WatchdogAction_builder

type Watchdog_WatchdogAction_builder struct {

	// Extension specific configuration for the action.
	Config *v3.TypedExtensionConfig
	Event  Watchdog_WatchdogAction_WatchdogEvent
	// contains filtered or unexported fields
}

func (Watchdog_WatchdogAction_builder) Build

type Watchdog_builder

type Watchdog_builder struct {

	// Register actions that will fire on given WatchDog events.
	// See “WatchDogAction“ for priority of events.
	Actions []*Watchdog_WatchdogAction
	// The duration after which Envoy counts a nonresponsive thread in the
	// “watchdog_miss“ statistic. If not specified the default is 200ms.
	MissTimeout *durationpb.Duration
	// The duration after which Envoy counts a nonresponsive thread in the
	// “watchdog_mega_miss“ statistic. If not specified the default is
	// 1000ms.
	MegamissTimeout *durationpb.Duration
	// If a watched thread has been nonresponsive for this duration, assume a
	// programming error and kill the entire Envoy process. Set to 0 to disable
	// kill behavior. If not specified the default is 0 (disabled).
	KillTimeout *durationpb.Duration
	// Defines the maximum jitter used to adjust the “kill_timeout“ if “kill_timeout“ is
	// enabled. Enabling this feature would help to reduce risk of synchronized
	// watchdog kill events across proxies due to external triggers. Set to 0 to
	// disable. If not specified the default is 0 (disabled).
	MaxKillTimeoutJitter *durationpb.Duration
	// If “max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))“
	// threads have been nonresponsive for at least this duration kill the entire
	// Envoy process. Set to 0 to disable this behavior. If not specified the
	// default is 0 (disabled).
	MultikillTimeout *durationpb.Duration
	// Sets the threshold for “multikill_timeout“ in terms of the percentage of
	// nonresponsive threads required for the “multikill_timeout“.
	// If not specified the default is 0.
	MultikillThreshold *v35.Percent
	// contains filtered or unexported fields
}

func (Watchdog_builder) Build

func (b0 Watchdog_builder) Build() *Watchdog

type Watchdogs

type Watchdogs struct {

	// Watchdog for the main thread.
	MainThreadWatchdog *Watchdog `protobuf:"bytes,1,opt,name=main_thread_watchdog,json=mainThreadWatchdog,proto3" json:"main_thread_watchdog,omitempty"`
	// Watchdog for the worker threads.
	WorkerWatchdog *Watchdog `protobuf:"bytes,2,opt,name=worker_watchdog,json=workerWatchdog,proto3" json:"worker_watchdog,omitempty"`
	// contains filtered or unexported fields
}

Allows you to specify different watchdog configs for different subsystems. This allows finer tuned policies for the watchdog. If a subsystem is omitted the default values for that system will be used.

func (*Watchdogs) ClearMainThreadWatchdog

func (x *Watchdogs) ClearMainThreadWatchdog()

func (*Watchdogs) ClearWorkerWatchdog

func (x *Watchdogs) ClearWorkerWatchdog()

func (*Watchdogs) GetMainThreadWatchdog

func (x *Watchdogs) GetMainThreadWatchdog() *Watchdog

func (*Watchdogs) GetWorkerWatchdog

func (x *Watchdogs) GetWorkerWatchdog() *Watchdog

func (*Watchdogs) HasMainThreadWatchdog

func (x *Watchdogs) HasMainThreadWatchdog() bool

func (*Watchdogs) HasWorkerWatchdog

func (x *Watchdogs) HasWorkerWatchdog() bool

func (*Watchdogs) ProtoMessage

func (*Watchdogs) ProtoMessage()

func (*Watchdogs) ProtoReflect

func (x *Watchdogs) ProtoReflect() protoreflect.Message

func (*Watchdogs) Reset

func (x *Watchdogs) Reset()

func (*Watchdogs) SetMainThreadWatchdog

func (x *Watchdogs) SetMainThreadWatchdog(v *Watchdog)

func (*Watchdogs) SetWorkerWatchdog

func (x *Watchdogs) SetWorkerWatchdog(v *Watchdog)

func (*Watchdogs) String

func (x *Watchdogs) String() string

type Watchdogs_builder

type Watchdogs_builder struct {

	// Watchdog for the main thread.
	MainThreadWatchdog *Watchdog
	// Watchdog for the worker threads.
	WorkerWatchdog *Watchdog
	// contains filtered or unexported fields
}

func (Watchdogs_builder) Build

func (b0 Watchdogs_builder) Build() *Watchdogs

Jump to

Keyboard shortcuts

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