Documentation ¶
Index ¶
- Constants
- Variables
- type Admin
- func (x *Admin) ClearAddress()
- func (x *Admin) GetAccessLogPath() string
- func (x *Admin) GetAddress() *core.Address
- func (x *Admin) GetProfilePath() string
- func (x *Admin) GetSocketOptions() []*core.SocketOption
- func (x *Admin) HasAddress() bool
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (x *Admin) SetAccessLogPath(v string)
- func (x *Admin) SetAddress(v *core.Address)
- func (x *Admin) SetProfilePath(v string)
- func (x *Admin) SetSocketOptions(v []*core.SocketOption)
- func (x *Admin) String() string
- type Admin_builder
- type Bootstrap
- func (x *Bootstrap) ClearAdmin()
- func (x *Bootstrap) ClearClusterManager()
- func (x *Bootstrap) ClearDynamicResources()
- func (x *Bootstrap) ClearHdsConfig()
- func (x *Bootstrap) ClearLayeredRuntime()
- func (x *Bootstrap) ClearNode()
- func (x *Bootstrap) ClearOverloadManager()
- func (x *Bootstrap) ClearRuntime()deprecated
- func (x *Bootstrap) ClearStaticResources()
- func (x *Bootstrap) ClearStatsConfig()
- func (x *Bootstrap) ClearStatsFlushInterval()
- func (x *Bootstrap) ClearStatsServerVersionOverride()
- func (x *Bootstrap) ClearTracing()
- func (x *Bootstrap) ClearWatchdog()
- func (x *Bootstrap) GetAdmin() *Admin
- func (x *Bootstrap) GetClusterManager() *ClusterManager
- func (x *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources
- func (x *Bootstrap) GetEnableDispatcherStats() bool
- func (x *Bootstrap) GetFlagsPath() string
- func (x *Bootstrap) GetHdsConfig() *core.ApiConfigSource
- func (x *Bootstrap) GetHeaderPrefix() string
- func (x *Bootstrap) GetLayeredRuntime() *LayeredRuntime
- func (x *Bootstrap) GetNode() *core.Node
- func (x *Bootstrap) GetOverloadManager() *v2alpha.OverloadManager
- func (x *Bootstrap) GetRuntime() *Runtimedeprecated
- func (x *Bootstrap) GetStaticResources() *Bootstrap_StaticResources
- func (x *Bootstrap) GetStatsConfig() *v2.StatsConfig
- func (x *Bootstrap) GetStatsFlushInterval() *durationpb.Duration
- func (x *Bootstrap) GetStatsServerVersionOverride() *wrapperspb.UInt64Value
- func (x *Bootstrap) GetStatsSinks() []*v2.StatsSink
- func (x *Bootstrap) GetTracing() *v21.Tracing
- func (x *Bootstrap) GetUseTcpForDnsLookups() bool
- func (x *Bootstrap) GetWatchdog() *Watchdog
- func (x *Bootstrap) HasAdmin() bool
- func (x *Bootstrap) HasClusterManager() bool
- func (x *Bootstrap) HasDynamicResources() bool
- func (x *Bootstrap) HasHdsConfig() bool
- func (x *Bootstrap) HasLayeredRuntime() bool
- func (x *Bootstrap) HasNode() bool
- func (x *Bootstrap) HasOverloadManager() bool
- func (x *Bootstrap) HasRuntime() booldeprecated
- func (x *Bootstrap) HasStaticResources() bool
- func (x *Bootstrap) HasStatsConfig() bool
- func (x *Bootstrap) HasStatsFlushInterval() bool
- func (x *Bootstrap) HasStatsServerVersionOverride() bool
- func (x *Bootstrap) HasTracing() bool
- func (x *Bootstrap) HasWatchdog() bool
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) SetAdmin(v *Admin)
- func (x *Bootstrap) SetClusterManager(v *ClusterManager)
- func (x *Bootstrap) SetDynamicResources(v *Bootstrap_DynamicResources)
- func (x *Bootstrap) SetEnableDispatcherStats(v bool)
- func (x *Bootstrap) SetFlagsPath(v string)
- func (x *Bootstrap) SetHdsConfig(v *core.ApiConfigSource)
- func (x *Bootstrap) SetHeaderPrefix(v string)
- func (x *Bootstrap) SetLayeredRuntime(v *LayeredRuntime)
- func (x *Bootstrap) SetNode(v *core.Node)
- func (x *Bootstrap) SetOverloadManager(v *v2alpha.OverloadManager)
- func (x *Bootstrap) SetRuntime(v *Runtime)deprecated
- func (x *Bootstrap) SetStaticResources(v *Bootstrap_StaticResources)
- func (x *Bootstrap) SetStatsConfig(v *v2.StatsConfig)
- func (x *Bootstrap) SetStatsFlushInterval(v *durationpb.Duration)
- func (x *Bootstrap) SetStatsServerVersionOverride(v *wrapperspb.UInt64Value)
- func (x *Bootstrap) SetStatsSinks(v []*v2.StatsSink)
- func (x *Bootstrap) SetTracing(v *v21.Tracing)
- func (x *Bootstrap) SetUseTcpForDnsLookups(v bool)
- func (x *Bootstrap) SetWatchdog(v *Watchdog)
- func (x *Bootstrap) String() string
- type Bootstrap_DynamicResources
- func (x *Bootstrap_DynamicResources) ClearAdsConfig()
- func (x *Bootstrap_DynamicResources) ClearCdsConfig()
- func (x *Bootstrap_DynamicResources) ClearLdsConfig()
- func (x *Bootstrap_DynamicResources) GetAdsConfig() *core.ApiConfigSource
- func (x *Bootstrap_DynamicResources) GetCdsConfig() *core.ConfigSource
- func (x *Bootstrap_DynamicResources) GetLdsConfig() *core.ConfigSource
- func (x *Bootstrap_DynamicResources) HasAdsConfig() bool
- func (x *Bootstrap_DynamicResources) HasCdsConfig() bool
- func (x *Bootstrap_DynamicResources) HasLdsConfig() bool
- func (*Bootstrap_DynamicResources) ProtoMessage()
- func (x *Bootstrap_DynamicResources) ProtoReflect() protoreflect.Message
- func (x *Bootstrap_DynamicResources) Reset()
- func (x *Bootstrap_DynamicResources) SetAdsConfig(v *core.ApiConfigSource)
- func (x *Bootstrap_DynamicResources) SetCdsConfig(v *core.ConfigSource)
- func (x *Bootstrap_DynamicResources) SetLdsConfig(v *core.ConfigSource)
- func (x *Bootstrap_DynamicResources) String() string
- type Bootstrap_DynamicResources_builder
- type Bootstrap_StaticResources
- func (x *Bootstrap_StaticResources) GetClusters() []*v22.Cluster
- func (x *Bootstrap_StaticResources) GetListeners() []*v22.Listener
- func (x *Bootstrap_StaticResources) GetSecrets() []*auth.Secret
- func (*Bootstrap_StaticResources) ProtoMessage()
- func (x *Bootstrap_StaticResources) ProtoReflect() protoreflect.Message
- func (x *Bootstrap_StaticResources) Reset()
- func (x *Bootstrap_StaticResources) SetClusters(v []*v22.Cluster)
- func (x *Bootstrap_StaticResources) SetListeners(v []*v22.Listener)
- func (x *Bootstrap_StaticResources) SetSecrets(v []*auth.Secret)
- func (x *Bootstrap_StaticResources) String() string
- type Bootstrap_StaticResources_builder
- type Bootstrap_builder
- type ClusterManager
- func (x *ClusterManager) ClearLoadStatsConfig()
- func (x *ClusterManager) ClearOutlierDetection()
- func (x *ClusterManager) ClearUpstreamBindConfig()
- func (x *ClusterManager) GetLoadStatsConfig() *core.ApiConfigSource
- func (x *ClusterManager) GetLocalClusterName() string
- func (x *ClusterManager) GetOutlierDetection() *ClusterManager_OutlierDetection
- func (x *ClusterManager) GetUpstreamBindConfig() *core.BindConfig
- func (x *ClusterManager) HasLoadStatsConfig() bool
- func (x *ClusterManager) HasOutlierDetection() bool
- func (x *ClusterManager) HasUpstreamBindConfig() bool
- func (*ClusterManager) ProtoMessage()
- func (x *ClusterManager) ProtoReflect() protoreflect.Message
- func (x *ClusterManager) Reset()
- func (x *ClusterManager) SetLoadStatsConfig(v *core.ApiConfigSource)
- func (x *ClusterManager) SetLocalClusterName(v string)
- func (x *ClusterManager) SetOutlierDetection(v *ClusterManager_OutlierDetection)
- func (x *ClusterManager) SetUpstreamBindConfig(v *core.BindConfig)
- func (x *ClusterManager) String() string
- type ClusterManager_OutlierDetection
- func (x *ClusterManager_OutlierDetection) ClearEventService()
- func (x *ClusterManager_OutlierDetection) GetEventLogPath() string
- func (x *ClusterManager_OutlierDetection) GetEventService() *core.EventServiceConfig
- func (x *ClusterManager_OutlierDetection) HasEventService() bool
- func (*ClusterManager_OutlierDetection) ProtoMessage()
- func (x *ClusterManager_OutlierDetection) ProtoReflect() protoreflect.Message
- func (x *ClusterManager_OutlierDetection) Reset()
- func (x *ClusterManager_OutlierDetection) SetEventLogPath(v string)
- func (x *ClusterManager_OutlierDetection) SetEventService(v *core.EventServiceConfig)
- func (x *ClusterManager_OutlierDetection) String() string
- type ClusterManager_OutlierDetection_builder
- type ClusterManager_builder
- type LayeredRuntime
- type LayeredRuntime_builder
- type Runtime
- func (x *Runtime) ClearBase()
- func (x *Runtime) GetBase() *structpb.Struct
- func (x *Runtime) GetOverrideSubdirectory() string
- func (x *Runtime) GetSubdirectory() string
- func (x *Runtime) GetSymlinkRoot() string
- func (x *Runtime) HasBase() bool
- func (*Runtime) ProtoMessage()
- func (x *Runtime) ProtoReflect() protoreflect.Message
- func (x *Runtime) Reset()
- func (x *Runtime) SetBase(v *structpb.Struct)
- func (x *Runtime) SetOverrideSubdirectory(v string)
- func (x *Runtime) SetSubdirectory(v string)
- func (x *Runtime) SetSymlinkRoot(v string)
- func (x *Runtime) String() string
- type RuntimeLayer
- func (x *RuntimeLayer) ClearAdminLayer()
- func (x *RuntimeLayer) ClearDiskLayer()
- func (x *RuntimeLayer) ClearLayerSpecifier()
- func (x *RuntimeLayer) ClearRtdsLayer()
- func (x *RuntimeLayer) ClearStaticLayer()
- func (x *RuntimeLayer) GetAdminLayer() *RuntimeLayer_AdminLayer
- func (x *RuntimeLayer) GetDiskLayer() *RuntimeLayer_DiskLayer
- func (x *RuntimeLayer) GetLayerSpecifier() isRuntimeLayer_LayerSpecifier
- func (x *RuntimeLayer) GetName() string
- func (x *RuntimeLayer) GetRtdsLayer() *RuntimeLayer_RtdsLayer
- func (x *RuntimeLayer) GetStaticLayer() *structpb.Struct
- func (x *RuntimeLayer) HasAdminLayer() bool
- func (x *RuntimeLayer) HasDiskLayer() bool
- func (x *RuntimeLayer) HasLayerSpecifier() bool
- func (x *RuntimeLayer) HasRtdsLayer() bool
- func (x *RuntimeLayer) HasStaticLayer() bool
- func (*RuntimeLayer) ProtoMessage()
- func (x *RuntimeLayer) ProtoReflect() protoreflect.Message
- func (x *RuntimeLayer) Reset()
- func (x *RuntimeLayer) SetAdminLayer(v *RuntimeLayer_AdminLayer)
- func (x *RuntimeLayer) SetDiskLayer(v *RuntimeLayer_DiskLayer)
- func (x *RuntimeLayer) SetName(v string)
- func (x *RuntimeLayer) SetRtdsLayer(v *RuntimeLayer_RtdsLayer)
- func (x *RuntimeLayer) SetStaticLayer(v *structpb.Struct)
- func (x *RuntimeLayer) String() string
- func (x *RuntimeLayer) WhichLayerSpecifier() case_RuntimeLayer_LayerSpecifier
- type RuntimeLayer_AdminLayer
- type RuntimeLayer_AdminLayer_
- type RuntimeLayer_AdminLayer_builder
- type RuntimeLayer_DiskLayer
- func (x *RuntimeLayer_DiskLayer) GetAppendServiceCluster() bool
- func (x *RuntimeLayer_DiskLayer) GetSubdirectory() string
- func (x *RuntimeLayer_DiskLayer) GetSymlinkRoot() string
- func (*RuntimeLayer_DiskLayer) ProtoMessage()
- func (x *RuntimeLayer_DiskLayer) ProtoReflect() protoreflect.Message
- func (x *RuntimeLayer_DiskLayer) Reset()
- func (x *RuntimeLayer_DiskLayer) SetAppendServiceCluster(v bool)
- func (x *RuntimeLayer_DiskLayer) SetSubdirectory(v string)
- func (x *RuntimeLayer_DiskLayer) SetSymlinkRoot(v string)
- func (x *RuntimeLayer_DiskLayer) String() string
- type RuntimeLayer_DiskLayer_
- type RuntimeLayer_DiskLayer_builder
- type RuntimeLayer_RtdsLayer
- func (x *RuntimeLayer_RtdsLayer) ClearRtdsConfig()
- func (x *RuntimeLayer_RtdsLayer) GetName() string
- func (x *RuntimeLayer_RtdsLayer) GetRtdsConfig() *core.ConfigSource
- func (x *RuntimeLayer_RtdsLayer) HasRtdsConfig() bool
- func (*RuntimeLayer_RtdsLayer) ProtoMessage()
- func (x *RuntimeLayer_RtdsLayer) ProtoReflect() protoreflect.Message
- func (x *RuntimeLayer_RtdsLayer) Reset()
- func (x *RuntimeLayer_RtdsLayer) SetName(v string)
- func (x *RuntimeLayer_RtdsLayer) SetRtdsConfig(v *core.ConfigSource)
- func (x *RuntimeLayer_RtdsLayer) String() string
- type RuntimeLayer_RtdsLayer_
- type RuntimeLayer_RtdsLayer_builder
- type RuntimeLayer_StaticLayer
- type RuntimeLayer_builder
- type Runtime_builder
- type Watchdog
- func (x *Watchdog) ClearKillTimeout()
- func (x *Watchdog) ClearMegamissTimeout()
- func (x *Watchdog) ClearMissTimeout()
- func (x *Watchdog) ClearMultikillTimeout()
- func (x *Watchdog) GetKillTimeout() *durationpb.Duration
- func (x *Watchdog) GetMegamissTimeout() *durationpb.Duration
- func (x *Watchdog) GetMissTimeout() *durationpb.Duration
- func (x *Watchdog) GetMultikillTimeout() *durationpb.Duration
- func (x *Watchdog) HasKillTimeout() bool
- func (x *Watchdog) HasMegamissTimeout() bool
- func (x *Watchdog) HasMissTimeout() bool
- func (x *Watchdog) HasMultikillTimeout() bool
- func (*Watchdog) ProtoMessage()
- func (x *Watchdog) ProtoReflect() protoreflect.Message
- func (x *Watchdog) Reset()
- func (x *Watchdog) SetKillTimeout(v *durationpb.Duration)
- func (x *Watchdog) SetMegamissTimeout(v *durationpb.Duration)
- func (x *Watchdog) SetMissTimeout(v *durationpb.Duration)
- func (x *Watchdog) SetMultikillTimeout(v *durationpb.Duration)
- func (x *Watchdog) String() string
- type Watchdog_builder
Constants ¶
const RuntimeLayer_AdminLayer_case case_RuntimeLayer_LayerSpecifier = 4
const RuntimeLayer_DiskLayer_case case_RuntimeLayer_LayerSpecifier = 3
const RuntimeLayer_LayerSpecifier_not_set_case case_RuntimeLayer_LayerSpecifier = 0
const RuntimeLayer_RtdsLayer_case case_RuntimeLayer_LayerSpecifier = 5
const RuntimeLayer_StaticLayer_case case_RuntimeLayer_LayerSpecifier = 2
Variables ¶
var File_envoy_config_bootstrap_v2_bootstrap_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { // 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_api_field_config.bootstrap.v2.Admin.address>` is set. 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 *core.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 []*core.SocketOption `protobuf:"bytes,4,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"` // contains filtered or unexported fields }
Administration interface :ref:`operations documentation <operations_admin_interface>`.
func (*Admin) GetSocketOptions ¶
func (x *Admin) GetSocketOptions() []*core.SocketOption
func (*Admin) ProtoReflect ¶
func (x *Admin) ProtoReflect() protoreflect.Message
func (*Admin) SetSocketOptions ¶
func (x *Admin) SetSocketOptions(v []*core.SocketOption)
type Admin_builder ¶
type Admin_builder struct { // 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_api_field_config.bootstrap.v2.Admin.address>` is set. 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 *core.Address // Additional socket options that may not be present in Envoy source code or // precompiled binaries. SocketOptions []*core.SocketOption // 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 *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,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_api_msg_core.ApiConfigSource>`) HdsConfig *core.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 []*v2.StatsSink `protobuf:"bytes,6,rep,name=stats_sinks,json=statsSinks,proto3" json:"stats_sinks,omitempty"` // Configuration for internal processing of stats. StatsConfig *v2.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). // 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"` // Optional watchdog configuration. Watchdog *Watchdog `protobuf:"bytes,8,opt,name=watchdog,proto3" json:"watchdog,omitempty"` // Configuration for an external tracing provider. // // .. attention:: // // This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`. Tracing *v21.Tracing `protobuf:"bytes,9,opt,name=tracing,proto3" json:"tracing,omitempty"` // Configuration for the runtime configuration provider (deprecated). If not // specified, a “null” provider will be used which will result in all defaults // being used. // // Deprecated: Marked as deprecated in envoy/config/bootstrap/v2/bootstrap.proto. Runtime *Runtime `protobuf:"bytes,11,opt,name=runtime,proto3" json:"runtime,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 *v2alpha.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_api_msg_config.metrics.v2.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_api_msg_config.metrics.v2.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_api_field_Cluster.dns_resolvers>` and // :ref:`use_tcp_for_dns_lookups <envoy_api_field_Cluster.use_tcp_for_dns_lookups>` are // specified. // Setting this value causes failure if the // “envoy.restart_features.use_apple_api_for_dns_lookups“ runtime value is true during // server startup. Apple' API only uses UDP for DNS resolution. UseTcpForDnsLookups bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Bootstrap :ref:`configuration overview <config_overview_bootstrap>`. [#next-free-field: 21]
func (*Bootstrap) ClearRuntime
deprecated
func (x *Bootstrap) ClearRuntime()
Deprecated: Marked as deprecated in envoy/config/bootstrap/v2/bootstrap.proto.
func (*Bootstrap) ClearStatsServerVersionOverride ¶
func (x *Bootstrap) ClearStatsServerVersionOverride()
func (*Bootstrap) GetClusterManager ¶
func (x *Bootstrap) GetClusterManager() *ClusterManager
func (*Bootstrap) GetDynamicResources ¶
func (x *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources
func (*Bootstrap) GetHdsConfig ¶
func (x *Bootstrap) GetHdsConfig() *core.ApiConfigSource
func (*Bootstrap) GetLayeredRuntime ¶
func (x *Bootstrap) GetLayeredRuntime() *LayeredRuntime
func (*Bootstrap) GetOverloadManager ¶
func (x *Bootstrap) GetOverloadManager() *v2alpha.OverloadManager
func (*Bootstrap) GetStaticResources ¶
func (x *Bootstrap) GetStaticResources() *Bootstrap_StaticResources
func (*Bootstrap) GetStatsConfig ¶
func (x *Bootstrap) GetStatsConfig() *v2.StatsConfig
func (*Bootstrap) GetStatsFlushInterval ¶
func (x *Bootstrap) GetStatsFlushInterval() *durationpb.Duration
func (*Bootstrap) GetStatsServerVersionOverride ¶
func (x *Bootstrap) GetStatsServerVersionOverride() *wrapperspb.UInt64Value
func (*Bootstrap) HasStatsServerVersionOverride ¶
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
func (*Bootstrap) SetClusterManager ¶
func (x *Bootstrap) SetClusterManager(v *ClusterManager)
func (*Bootstrap) SetDynamicResources ¶
func (x *Bootstrap) SetDynamicResources(v *Bootstrap_DynamicResources)
func (*Bootstrap) SetHdsConfig ¶
func (x *Bootstrap) SetHdsConfig(v *core.ApiConfigSource)
func (*Bootstrap) SetLayeredRuntime ¶
func (x *Bootstrap) SetLayeredRuntime(v *LayeredRuntime)
func (*Bootstrap) SetOverloadManager ¶
func (x *Bootstrap) SetOverloadManager(v *v2alpha.OverloadManager)
func (*Bootstrap) SetStaticResources ¶
func (x *Bootstrap) SetStaticResources(v *Bootstrap_StaticResources)
func (*Bootstrap) SetStatsConfig ¶
func (x *Bootstrap) SetStatsConfig(v *v2.StatsConfig)
func (*Bootstrap) SetStatsFlushInterval ¶
func (x *Bootstrap) SetStatsFlushInterval(v *durationpb.Duration)
func (*Bootstrap) SetStatsServerVersionOverride ¶
func (x *Bootstrap) SetStatsServerVersionOverride(v *wrapperspb.UInt64Value)
type Bootstrap_DynamicResources ¶
type Bootstrap_DynamicResources struct { // All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single // :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source. LdsConfig *core.ConfigSource `protobuf:"bytes,1,opt,name=lds_config,json=ldsConfig,proto3" json:"lds_config,omitempty"` // All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are // provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>` // configuration source. CdsConfig *core.ConfigSource `protobuf:"bytes,2,opt,name=cds_config,json=cdsConfig,proto3" json:"cds_config,omitempty"` // A single :ref:`ADS <config_overview_ads>` source may be optionally // specified. This must have :ref:`api_type // <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC // <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only // :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have // the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be // streamed on the ADS channel. AdsConfig *core.ApiConfigSource `protobuf:"bytes,3,opt,name=ads_config,json=adsConfig,proto3" json:"ads_config,omitempty"` // contains filtered or unexported fields }
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() *core.ApiConfigSource
func (*Bootstrap_DynamicResources) GetCdsConfig ¶
func (x *Bootstrap_DynamicResources) GetCdsConfig() *core.ConfigSource
func (*Bootstrap_DynamicResources) GetLdsConfig ¶
func (x *Bootstrap_DynamicResources) GetLdsConfig() *core.ConfigSource
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 (x *Bootstrap_DynamicResources) ProtoReflect() protoreflect.Message
func (*Bootstrap_DynamicResources) Reset ¶
func (x *Bootstrap_DynamicResources) Reset()
func (*Bootstrap_DynamicResources) SetAdsConfig ¶
func (x *Bootstrap_DynamicResources) SetAdsConfig(v *core.ApiConfigSource)
func (*Bootstrap_DynamicResources) SetCdsConfig ¶
func (x *Bootstrap_DynamicResources) SetCdsConfig(v *core.ConfigSource)
func (*Bootstrap_DynamicResources) SetLdsConfig ¶
func (x *Bootstrap_DynamicResources) SetLdsConfig(v *core.ConfigSource)
func (*Bootstrap_DynamicResources) String ¶
func (x *Bootstrap_DynamicResources) String() string
type Bootstrap_DynamicResources_builder ¶
type Bootstrap_DynamicResources_builder struct { // All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single // :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source. LdsConfig *core.ConfigSource // All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are // provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>` // configuration source. CdsConfig *core.ConfigSource // A single :ref:`ADS <config_overview_ads>` source may be optionally // specified. This must have :ref:`api_type // <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC // <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only // :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have // the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be // streamed on the ADS channel. AdsConfig *core.ApiConfigSource // contains filtered or unexported fields }
func (Bootstrap_DynamicResources_builder) Build ¶
func (b0 Bootstrap_DynamicResources_builder) Build() *Bootstrap_DynamicResources
type Bootstrap_StaticResources ¶
type Bootstrap_StaticResources struct { // Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are // available regardless of LDS configuration. Listeners []*v22.Listener `protobuf:"bytes,1,rep,name=listeners,proto3" json:"listeners,omitempty"` // If a network based configuration source is specified for :ref:`cds_config // <envoy_api_field_config.bootstrap.v2.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 []*v22.Cluster `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters,omitempty"` // These static secrets can be used by :ref:`SdsSecretConfig // <envoy_api_msg_auth.SdsSecretConfig>` Secrets []*auth.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() []*v22.Cluster
func (*Bootstrap_StaticResources) GetListeners ¶
func (x *Bootstrap_StaticResources) GetListeners() []*v22.Listener
func (*Bootstrap_StaticResources) GetSecrets ¶
func (x *Bootstrap_StaticResources) GetSecrets() []*auth.Secret
func (*Bootstrap_StaticResources) ProtoMessage ¶
func (*Bootstrap_StaticResources) ProtoMessage()
func (*Bootstrap_StaticResources) ProtoReflect ¶
func (x *Bootstrap_StaticResources) ProtoReflect() protoreflect.Message
func (*Bootstrap_StaticResources) Reset ¶
func (x *Bootstrap_StaticResources) Reset()
func (*Bootstrap_StaticResources) SetClusters ¶
func (x *Bootstrap_StaticResources) SetClusters(v []*v22.Cluster)
func (*Bootstrap_StaticResources) SetListeners ¶
func (x *Bootstrap_StaticResources) SetListeners(v []*v22.Listener)
func (*Bootstrap_StaticResources) SetSecrets ¶
func (x *Bootstrap_StaticResources) SetSecrets(v []*auth.Secret)
func (*Bootstrap_StaticResources) String ¶
func (x *Bootstrap_StaticResources) String() string
type Bootstrap_StaticResources_builder ¶
type Bootstrap_StaticResources_builder struct { // Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are // available regardless of LDS configuration. Listeners []*v22.Listener // If a network based configuration source is specified for :ref:`cds_config // <envoy_api_field_config.bootstrap.v2.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 []*v22.Cluster // These static secrets can be used by :ref:`SdsSecretConfig // <envoy_api_msg_auth.SdsSecretConfig>` Secrets []*auth.Secret // contains filtered or unexported fields }
func (Bootstrap_StaticResources_builder) Build ¶
func (b0 Bootstrap_StaticResources_builder) Build() *Bootstrap_StaticResources
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 *core.Node // 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_api_msg_core.ApiConfigSource>`) HdsConfig *core.ApiConfigSource // Optional file system path to search for startup flag files. FlagsPath string // Optional set of stats sinks. StatsSinks []*v2.StatsSink // Configuration for internal processing of stats. StatsConfig *v2.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). // Duration must be at least 1ms and at most 5 min. StatsFlushInterval *durationpb.Duration // Optional watchdog configuration. Watchdog *Watchdog // Configuration for an external tracing provider. // // .. attention:: // // This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`. Tracing *v21.Tracing // Configuration for the runtime configuration provider (deprecated). If not // specified, a “null” provider will be used which will result in all defaults // being used. // // Deprecated: Marked as deprecated in envoy/config/bootstrap/v2/bootstrap.proto. Runtime *Runtime // 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 *v2alpha.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_api_msg_config.metrics.v2.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_api_msg_config.metrics.v2.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_api_field_Cluster.dns_resolvers>` and // :ref:`use_tcp_for_dns_lookups <envoy_api_field_Cluster.use_tcp_for_dns_lookups>` are // specified. // Setting this value causes failure if the // “envoy.restart_features.use_apple_api_for_dns_lookups“ runtime value is true during // server startup. Apple' API only uses UDP for DNS resolution. UseTcpForDnsLookups bool // 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_api_msg_Cluster>` must be defined in the :ref:`Bootstrap // static cluster resources // <envoy_api_field_config.bootstrap.v2.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 *core.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_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC // <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. LoadStatsConfig *core.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() *core.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() *core.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 *core.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 *core.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 *core.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 (x *ClusterManager_OutlierDetection) GetEventService() *core.EventServiceConfig
func (*ClusterManager_OutlierDetection) HasEventService ¶
func (x *ClusterManager_OutlierDetection) HasEventService() bool
func (*ClusterManager_OutlierDetection) ProtoMessage ¶
func (*ClusterManager_OutlierDetection) ProtoMessage()
func (*ClusterManager_OutlierDetection) ProtoReflect ¶
func (x *ClusterManager_OutlierDetection) ProtoReflect() protoreflect.Message
func (*ClusterManager_OutlierDetection) Reset ¶
func (x *ClusterManager_OutlierDetection) Reset()
func (*ClusterManager_OutlierDetection) SetEventLogPath ¶
func (x *ClusterManager_OutlierDetection) SetEventLogPath(v string)
func (*ClusterManager_OutlierDetection) SetEventService ¶
func (x *ClusterManager_OutlierDetection) SetEventService(v *core.EventServiceConfig)
func (*ClusterManager_OutlierDetection) String ¶
func (x *ClusterManager_OutlierDetection) String() 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 *core.EventServiceConfig // contains filtered or unexported fields }
func (ClusterManager_OutlierDetection_builder) Build ¶
func (b0 ClusterManager_OutlierDetection_builder) Build() *ClusterManager_OutlierDetection
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_api_msg_Cluster>` must be defined in the :ref:`Bootstrap // static cluster resources // <envoy_api_field_config.bootstrap.v2.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 *core.BindConfig // A management server endpoint to stream load stats to via // *StreamLoadStats*. This must have :ref:`api_type // <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC // <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. LoadStatsConfig *core.ApiConfigSource // contains filtered or unexported fields }
func (ClusterManager_builder) Build ¶
func (b0 ClusterManager_builder) Build() *ClusterManager
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 ¶
func (b0 LayeredRuntime_builder) Build() *LayeredRuntime
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) ProtoReflect ¶
func (x *Runtime) ProtoReflect() protoreflect.Message
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 ¶
func (b0 RuntimeLayer_AdminLayer_builder) Build() *RuntimeLayer_AdminLayer
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 ¶
func (b0 RuntimeLayer_DiskLayer_builder) Build() *RuntimeLayer_DiskLayer
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 *core.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() *core.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 *core.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 *core.ConfigSource // contains filtered or unexported fields }
func (RuntimeLayer_RtdsLayer_builder) Build ¶
func (b0 RuntimeLayer_RtdsLayer_builder) Build() *RuntimeLayer_RtdsLayer
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 { // 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"` // If at least two watched threads have been nonresponsive for at least this // duration assume a true deadlock and 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"` // 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.
func (*Watchdog) GetKillTimeout ¶
func (x *Watchdog) GetKillTimeout() *durationpb.Duration
func (*Watchdog) GetMegamissTimeout ¶
func (x *Watchdog) GetMegamissTimeout() *durationpb.Duration
func (*Watchdog) GetMissTimeout ¶
func (x *Watchdog) GetMissTimeout() *durationpb.Duration
func (*Watchdog) GetMultikillTimeout ¶
func (x *Watchdog) GetMultikillTimeout() *durationpb.Duration
func (*Watchdog) ProtoReflect ¶
func (x *Watchdog) ProtoReflect() protoreflect.Message
func (*Watchdog) SetKillTimeout ¶
func (x *Watchdog) SetKillTimeout(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) SetMultikillTimeout ¶
func (x *Watchdog) SetMultikillTimeout(v *durationpb.Duration)
type Watchdog_builder ¶
type Watchdog_builder struct { // 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 // If at least two watched threads have been nonresponsive for at least this // duration assume a true deadlock and kill the entire Envoy process. Set to 0 // to disable this behavior. If not specified the default is 0 (disabled). MultikillTimeout *durationpb.Duration // contains filtered or unexported fields }
func (Watchdog_builder) Build ¶
func (b0 Watchdog_builder) Build() *Watchdog