Documentation ¶
Index ¶
- Variables
- type Admin
- func (*Admin) Descriptor() ([]byte, []int)deprecated
- func (x *Admin) GetAccessLog() []*v34.AccessLog
- func (x *Admin) GetAccessLogPath() stringdeprecated
- func (x *Admin) GetAddress() *v3.Address
- func (x *Admin) GetIgnoreGlobalConnLimit() bool
- func (x *Admin) GetProfilePath() string
- func (x *Admin) GetSocketOptions() []*v3.SocketOption
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (x *Admin) String() string
- func (m *Admin) Validate() error
- func (m *Admin) ValidateAll() error
- type AdminMultiError
- type AdminValidationError
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetAdmin() *Admin
- func (x *Bootstrap) GetBootstrapExtensions() []*v3.TypedExtensionConfig
- func (x *Bootstrap) GetCertificateProviderInstances() map[string]*v3.TypedExtensionConfig
- func (x *Bootstrap) GetClusterManager() *ClusterManager
- func (x *Bootstrap) GetConfigSources() []*v3.ConfigSource
- func (x *Bootstrap) GetDefaultConfigSource() *v3.ConfigSource
- func (x *Bootstrap) GetDefaultRegexEngine() *v3.TypedExtensionConfig
- func (x *Bootstrap) GetDefaultSocketInterface() string
- func (x *Bootstrap) GetDnsResolutionConfig() *v3.DnsResolutionConfigdeprecated
- func (x *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources
- func (x *Bootstrap) GetEnableDispatcherStats() bool
- func (x *Bootstrap) GetFatalActions() []*FatalAction
- func (x *Bootstrap) GetFlagsPath() string
- func (x *Bootstrap) GetHdsConfig() *v3.ApiConfigSource
- func (x *Bootstrap) GetHeaderPrefix() string
- func (x *Bootstrap) GetInlineHeaders() []*CustomInlineHeader
- func (x *Bootstrap) GetLayeredRuntime() *LayeredRuntime
- func (x *Bootstrap) GetListenerManager() *v3.TypedExtensionConfig
- func (x *Bootstrap) GetNode() *v3.Node
- func (x *Bootstrap) GetNodeContextParams() []string
- func (x *Bootstrap) GetOverloadManager() *v33.OverloadManager
- func (x *Bootstrap) GetPerfTracingFilePath() string
- func (x *Bootstrap) GetStaticResources() *Bootstrap_StaticResources
- func (x *Bootstrap) GetStatsConfig() *v31.StatsConfig
- func (m *Bootstrap) GetStatsFlush() isBootstrap_StatsFlush
- func (x *Bootstrap) GetStatsFlushInterval() *duration.Duration
- func (x *Bootstrap) GetStatsFlushOnAdmin() bool
- func (x *Bootstrap) GetStatsServerVersionOverride() *wrappers.UInt64Value
- func (x *Bootstrap) GetStatsSinks() []*v31.StatsSink
- func (x *Bootstrap) GetTracing() *v32.Tracingdeprecated
- func (x *Bootstrap) GetTypedDnsResolverConfig() *v3.TypedExtensionConfig
- func (x *Bootstrap) GetUseTcpForDnsLookups() booldeprecated
- func (x *Bootstrap) GetWatchdog() *Watchdogdeprecated
- func (x *Bootstrap) GetWatchdogs() *Watchdogs
- func (x *Bootstrap) GetXdsConfigTrackerExtension() *v3.TypedExtensionConfig
- func (x *Bootstrap) GetXdsDelegateExtension() *v3.TypedExtensionConfig
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
- func (m *Bootstrap) Validate() error
- func (m *Bootstrap) ValidateAll() error
- type BootstrapMultiError
- type BootstrapValidationError
- type Bootstrap_DynamicResources
- func (*Bootstrap_DynamicResources) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap_DynamicResources) GetAdsConfig() *v3.ApiConfigSource
- func (x *Bootstrap_DynamicResources) GetCdsConfig() *v3.ConfigSource
- func (x *Bootstrap_DynamicResources) GetCdsResourcesLocator() string
- func (x *Bootstrap_DynamicResources) GetLdsConfig() *v3.ConfigSource
- func (x *Bootstrap_DynamicResources) GetLdsResourcesLocator() string
- func (*Bootstrap_DynamicResources) ProtoMessage()
- func (x *Bootstrap_DynamicResources) ProtoReflect() protoreflect.Message
- func (x *Bootstrap_DynamicResources) Reset()
- func (x *Bootstrap_DynamicResources) String() string
- func (m *Bootstrap_DynamicResources) Validate() error
- func (m *Bootstrap_DynamicResources) ValidateAll() error
- type Bootstrap_DynamicResourcesMultiError
- type Bootstrap_DynamicResourcesValidationError
- func (e Bootstrap_DynamicResourcesValidationError) Cause() error
- func (e Bootstrap_DynamicResourcesValidationError) Error() string
- func (e Bootstrap_DynamicResourcesValidationError) ErrorName() string
- func (e Bootstrap_DynamicResourcesValidationError) Field() string
- func (e Bootstrap_DynamicResourcesValidationError) Key() bool
- func (e Bootstrap_DynamicResourcesValidationError) Reason() string
- type Bootstrap_StaticResources
- func (*Bootstrap_StaticResources) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap_StaticResources) GetClusters() []*v37.Cluster
- func (x *Bootstrap_StaticResources) GetListeners() []*v36.Listener
- func (x *Bootstrap_StaticResources) GetSecrets() []*v38.Secret
- func (*Bootstrap_StaticResources) ProtoMessage()
- func (x *Bootstrap_StaticResources) ProtoReflect() protoreflect.Message
- func (x *Bootstrap_StaticResources) Reset()
- func (x *Bootstrap_StaticResources) String() string
- func (m *Bootstrap_StaticResources) Validate() error
- func (m *Bootstrap_StaticResources) ValidateAll() error
- type Bootstrap_StaticResourcesMultiError
- type Bootstrap_StaticResourcesValidationError
- func (e Bootstrap_StaticResourcesValidationError) Cause() error
- func (e Bootstrap_StaticResourcesValidationError) Error() string
- func (e Bootstrap_StaticResourcesValidationError) ErrorName() string
- func (e Bootstrap_StaticResourcesValidationError) Field() string
- func (e Bootstrap_StaticResourcesValidationError) Key() bool
- func (e Bootstrap_StaticResourcesValidationError) Reason() string
- type Bootstrap_StatsFlushOnAdmin
- type ClusterManager
- func (*ClusterManager) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterManager) GetLoadStatsConfig() *v3.ApiConfigSource
- func (x *ClusterManager) GetLocalClusterName() string
- func (x *ClusterManager) GetOutlierDetection() *ClusterManager_OutlierDetection
- func (x *ClusterManager) GetUpstreamBindConfig() *v3.BindConfig
- func (*ClusterManager) ProtoMessage()
- func (x *ClusterManager) ProtoReflect() protoreflect.Message
- func (x *ClusterManager) Reset()
- func (x *ClusterManager) String() string
- func (m *ClusterManager) Validate() error
- func (m *ClusterManager) ValidateAll() error
- type ClusterManagerMultiError
- type ClusterManagerValidationError
- func (e ClusterManagerValidationError) Cause() error
- func (e ClusterManagerValidationError) Error() string
- func (e ClusterManagerValidationError) ErrorName() string
- func (e ClusterManagerValidationError) Field() string
- func (e ClusterManagerValidationError) Key() bool
- func (e ClusterManagerValidationError) Reason() string
- type ClusterManager_OutlierDetection
- func (*ClusterManager_OutlierDetection) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterManager_OutlierDetection) GetEventLogPath() string
- func (x *ClusterManager_OutlierDetection) GetEventService() *v3.EventServiceConfig
- func (*ClusterManager_OutlierDetection) ProtoMessage()
- func (x *ClusterManager_OutlierDetection) ProtoReflect() protoreflect.Message
- func (x *ClusterManager_OutlierDetection) Reset()
- func (x *ClusterManager_OutlierDetection) String() string
- func (m *ClusterManager_OutlierDetection) Validate() error
- func (m *ClusterManager_OutlierDetection) ValidateAll() error
- type ClusterManager_OutlierDetectionMultiError
- type ClusterManager_OutlierDetectionValidationError
- func (e ClusterManager_OutlierDetectionValidationError) Cause() error
- func (e ClusterManager_OutlierDetectionValidationError) Error() string
- func (e ClusterManager_OutlierDetectionValidationError) ErrorName() string
- func (e ClusterManager_OutlierDetectionValidationError) Field() string
- func (e ClusterManager_OutlierDetectionValidationError) Key() bool
- func (e ClusterManager_OutlierDetectionValidationError) Reason() string
- type CustomInlineHeader
- func (*CustomInlineHeader) Descriptor() ([]byte, []int)deprecated
- func (x *CustomInlineHeader) GetInlineHeaderName() string
- func (x *CustomInlineHeader) GetInlineHeaderType() CustomInlineHeader_InlineHeaderType
- func (*CustomInlineHeader) ProtoMessage()
- func (x *CustomInlineHeader) ProtoReflect() protoreflect.Message
- func (x *CustomInlineHeader) Reset()
- func (x *CustomInlineHeader) String() string
- func (m *CustomInlineHeader) Validate() error
- func (m *CustomInlineHeader) ValidateAll() error
- type CustomInlineHeaderMultiError
- type CustomInlineHeaderValidationError
- func (e CustomInlineHeaderValidationError) Cause() error
- func (e CustomInlineHeaderValidationError) Error() string
- func (e CustomInlineHeaderValidationError) ErrorName() string
- func (e CustomInlineHeaderValidationError) Field() string
- func (e CustomInlineHeaderValidationError) Key() bool
- func (e CustomInlineHeaderValidationError) Reason() string
- type CustomInlineHeader_InlineHeaderType
- func (CustomInlineHeader_InlineHeaderType) Descriptor() protoreflect.EnumDescriptor
- func (x CustomInlineHeader_InlineHeaderType) Enum() *CustomInlineHeader_InlineHeaderType
- func (CustomInlineHeader_InlineHeaderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CustomInlineHeader_InlineHeaderType) Number() protoreflect.EnumNumber
- func (x CustomInlineHeader_InlineHeaderType) String() string
- func (CustomInlineHeader_InlineHeaderType) Type() protoreflect.EnumType
- type FatalAction
- func (*FatalAction) Descriptor() ([]byte, []int)deprecated
- func (x *FatalAction) GetConfig() *v3.TypedExtensionConfig
- func (*FatalAction) ProtoMessage()
- func (x *FatalAction) ProtoReflect() protoreflect.Message
- func (x *FatalAction) Reset()
- func (x *FatalAction) String() string
- func (m *FatalAction) Validate() error
- func (m *FatalAction) ValidateAll() error
- type FatalActionMultiError
- type FatalActionValidationError
- func (e FatalActionValidationError) Cause() error
- func (e FatalActionValidationError) Error() string
- func (e FatalActionValidationError) ErrorName() string
- func (e FatalActionValidationError) Field() string
- func (e FatalActionValidationError) Key() bool
- func (e FatalActionValidationError) Reason() string
- type LayeredRuntime
- func (*LayeredRuntime) Descriptor() ([]byte, []int)deprecated
- func (x *LayeredRuntime) GetLayers() []*RuntimeLayer
- func (*LayeredRuntime) ProtoMessage()
- func (x *LayeredRuntime) ProtoReflect() protoreflect.Message
- func (x *LayeredRuntime) Reset()
- func (x *LayeredRuntime) String() string
- func (m *LayeredRuntime) Validate() error
- func (m *LayeredRuntime) ValidateAll() error
- type LayeredRuntimeMultiError
- type LayeredRuntimeValidationError
- func (e LayeredRuntimeValidationError) Cause() error
- func (e LayeredRuntimeValidationError) Error() string
- func (e LayeredRuntimeValidationError) ErrorName() string
- func (e LayeredRuntimeValidationError) Field() string
- func (e LayeredRuntimeValidationError) Key() bool
- func (e LayeredRuntimeValidationError) Reason() string
- type Runtime
- func (*Runtime) Descriptor() ([]byte, []int)deprecated
- func (x *Runtime) GetBase() *_struct.Struct
- func (x *Runtime) GetOverrideSubdirectory() string
- func (x *Runtime) GetSubdirectory() string
- func (x *Runtime) GetSymlinkRoot() string
- func (*Runtime) ProtoMessage()
- func (x *Runtime) ProtoReflect() protoreflect.Message
- func (x *Runtime) Reset()
- func (x *Runtime) String() string
- func (m *Runtime) Validate() error
- func (m *Runtime) ValidateAll() error
- type RuntimeLayer
- func (*RuntimeLayer) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeLayer) GetAdminLayer() *RuntimeLayer_AdminLayer
- func (x *RuntimeLayer) GetDiskLayer() *RuntimeLayer_DiskLayer
- func (m *RuntimeLayer) GetLayerSpecifier() isRuntimeLayer_LayerSpecifier
- func (x *RuntimeLayer) GetName() string
- func (x *RuntimeLayer) GetRtdsLayer() *RuntimeLayer_RtdsLayer
- func (x *RuntimeLayer) GetStaticLayer() *_struct.Struct
- func (*RuntimeLayer) ProtoMessage()
- func (x *RuntimeLayer) ProtoReflect() protoreflect.Message
- func (x *RuntimeLayer) Reset()
- func (x *RuntimeLayer) String() string
- func (m *RuntimeLayer) Validate() error
- func (m *RuntimeLayer) ValidateAll() error
- type RuntimeLayerMultiError
- type RuntimeLayerValidationError
- func (e RuntimeLayerValidationError) Cause() error
- func (e RuntimeLayerValidationError) Error() string
- func (e RuntimeLayerValidationError) ErrorName() string
- func (e RuntimeLayerValidationError) Field() string
- func (e RuntimeLayerValidationError) Key() bool
- func (e RuntimeLayerValidationError) Reason() string
- type RuntimeLayer_AdminLayer
- func (*RuntimeLayer_AdminLayer) Descriptor() ([]byte, []int)deprecated
- func (*RuntimeLayer_AdminLayer) ProtoMessage()
- func (x *RuntimeLayer_AdminLayer) ProtoReflect() protoreflect.Message
- func (x *RuntimeLayer_AdminLayer) Reset()
- func (x *RuntimeLayer_AdminLayer) String() string
- func (m *RuntimeLayer_AdminLayer) Validate() error
- func (m *RuntimeLayer_AdminLayer) ValidateAll() error
- type RuntimeLayer_AdminLayerMultiError
- type RuntimeLayer_AdminLayerValidationError
- func (e RuntimeLayer_AdminLayerValidationError) Cause() error
- func (e RuntimeLayer_AdminLayerValidationError) Error() string
- func (e RuntimeLayer_AdminLayerValidationError) ErrorName() string
- func (e RuntimeLayer_AdminLayerValidationError) Field() string
- func (e RuntimeLayer_AdminLayerValidationError) Key() bool
- func (e RuntimeLayer_AdminLayerValidationError) Reason() string
- type RuntimeLayer_AdminLayer_
- type RuntimeLayer_DiskLayer
- func (*RuntimeLayer_DiskLayer) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- func (m *RuntimeLayer_DiskLayer) Validate() error
- func (m *RuntimeLayer_DiskLayer) ValidateAll() error
- type RuntimeLayer_DiskLayerMultiError
- type RuntimeLayer_DiskLayerValidationError
- func (e RuntimeLayer_DiskLayerValidationError) Cause() error
- func (e RuntimeLayer_DiskLayerValidationError) Error() string
- func (e RuntimeLayer_DiskLayerValidationError) ErrorName() string
- func (e RuntimeLayer_DiskLayerValidationError) Field() string
- func (e RuntimeLayer_DiskLayerValidationError) Key() bool
- func (e RuntimeLayer_DiskLayerValidationError) Reason() string
- type RuntimeLayer_DiskLayer_
- type RuntimeLayer_RtdsLayer
- func (*RuntimeLayer_RtdsLayer) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeLayer_RtdsLayer) GetName() string
- func (x *RuntimeLayer_RtdsLayer) GetRtdsConfig() *v3.ConfigSource
- func (*RuntimeLayer_RtdsLayer) ProtoMessage()
- func (x *RuntimeLayer_RtdsLayer) ProtoReflect() protoreflect.Message
- func (x *RuntimeLayer_RtdsLayer) Reset()
- func (x *RuntimeLayer_RtdsLayer) String() string
- func (m *RuntimeLayer_RtdsLayer) Validate() error
- func (m *RuntimeLayer_RtdsLayer) ValidateAll() error
- type RuntimeLayer_RtdsLayerMultiError
- type RuntimeLayer_RtdsLayerValidationError
- func (e RuntimeLayer_RtdsLayerValidationError) Cause() error
- func (e RuntimeLayer_RtdsLayerValidationError) Error() string
- func (e RuntimeLayer_RtdsLayerValidationError) ErrorName() string
- func (e RuntimeLayer_RtdsLayerValidationError) Field() string
- func (e RuntimeLayer_RtdsLayerValidationError) Key() bool
- func (e RuntimeLayer_RtdsLayerValidationError) Reason() string
- type RuntimeLayer_RtdsLayer_
- type RuntimeLayer_StaticLayer
- type RuntimeMultiError
- type RuntimeValidationError
- type Watchdog
- func (*Watchdog) Descriptor() ([]byte, []int)deprecated
- func (x *Watchdog) GetActions() []*Watchdog_WatchdogAction
- func (x *Watchdog) GetKillTimeout() *duration.Duration
- func (x *Watchdog) GetMaxKillTimeoutJitter() *duration.Duration
- func (x *Watchdog) GetMegamissTimeout() *duration.Duration
- func (x *Watchdog) GetMissTimeout() *duration.Duration
- func (x *Watchdog) GetMultikillThreshold() *v35.Percent
- func (x *Watchdog) GetMultikillTimeout() *duration.Duration
- func (*Watchdog) ProtoMessage()
- func (x *Watchdog) ProtoReflect() protoreflect.Message
- func (x *Watchdog) Reset()
- func (x *Watchdog) String() string
- func (m *Watchdog) Validate() error
- func (m *Watchdog) ValidateAll() error
- type WatchdogMultiError
- type WatchdogValidationError
- type Watchdog_WatchdogAction
- func (*Watchdog_WatchdogAction) Descriptor() ([]byte, []int)deprecated
- func (x *Watchdog_WatchdogAction) GetConfig() *v3.TypedExtensionConfig
- func (x *Watchdog_WatchdogAction) GetEvent() Watchdog_WatchdogAction_WatchdogEvent
- func (*Watchdog_WatchdogAction) ProtoMessage()
- func (x *Watchdog_WatchdogAction) ProtoReflect() protoreflect.Message
- func (x *Watchdog_WatchdogAction) Reset()
- func (x *Watchdog_WatchdogAction) String() string
- func (m *Watchdog_WatchdogAction) Validate() error
- func (m *Watchdog_WatchdogAction) ValidateAll() error
- type Watchdog_WatchdogActionMultiError
- type Watchdog_WatchdogActionValidationError
- func (e Watchdog_WatchdogActionValidationError) Cause() error
- func (e Watchdog_WatchdogActionValidationError) Error() string
- func (e Watchdog_WatchdogActionValidationError) ErrorName() string
- func (e Watchdog_WatchdogActionValidationError) Field() string
- func (e Watchdog_WatchdogActionValidationError) Key() bool
- func (e Watchdog_WatchdogActionValidationError) Reason() string
- type Watchdog_WatchdogAction_WatchdogEvent
- func (Watchdog_WatchdogAction_WatchdogEvent) Descriptor() protoreflect.EnumDescriptor
- func (x Watchdog_WatchdogAction_WatchdogEvent) Enum() *Watchdog_WatchdogAction_WatchdogEvent
- func (Watchdog_WatchdogAction_WatchdogEvent) EnumDescriptor() ([]byte, []int)deprecated
- func (x Watchdog_WatchdogAction_WatchdogEvent) Number() protoreflect.EnumNumber
- func (x Watchdog_WatchdogAction_WatchdogEvent) String() string
- func (Watchdog_WatchdogAction_WatchdogEvent) Type() protoreflect.EnumType
- type Watchdogs
- func (*Watchdogs) Descriptor() ([]byte, []int)deprecated
- func (x *Watchdogs) GetMainThreadWatchdog() *Watchdog
- func (x *Watchdogs) GetWorkerWatchdog() *Watchdog
- func (*Watchdogs) ProtoMessage()
- func (x *Watchdogs) ProtoReflect() protoreflect.Message
- func (x *Watchdogs) Reset()
- func (x *Watchdogs) String() string
- func (m *Watchdogs) Validate() error
- func (m *Watchdogs) ValidateAll() error
- type WatchdogsMultiError
- type WatchdogsValidationError
Constants ¶
This section is empty.
Variables ¶
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.
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.
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: Do not use. 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) Descriptor
deprecated
func (*Admin) GetAccessLog ¶ added in v0.9.9
func (*Admin) GetAccessLogPath
deprecated
func (*Admin) GetAddress ¶
func (*Admin) GetIgnoreGlobalConnLimit ¶ added in v0.10.2
func (*Admin) GetProfilePath ¶
func (*Admin) GetSocketOptions ¶
func (x *Admin) GetSocketOptions() []*v3.SocketOption
func (*Admin) ProtoMessage ¶
func (*Admin) ProtoMessage()
func (*Admin) ProtoReflect ¶ added in v0.9.6
func (x *Admin) ProtoReflect() protoreflect.Message
func (*Admin) Validate ¶
Validate checks the field values on Admin with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Admin) ValidateAll ¶ added in v0.10.0
ValidateAll checks the field values on Admin with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdminMultiError, or nil if none found.
type AdminMultiError ¶ added in v0.10.0
type AdminMultiError []error
AdminMultiError is an error wrapping multiple validation errors returned by Admin.ValidateAll() if the designated constraints aren't met.
func (AdminMultiError) AllErrors ¶ added in v0.10.0
func (m AdminMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdminMultiError) Error ¶ added in v0.10.0
func (m AdminMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AdminValidationError ¶
type AdminValidationError struct {
// contains filtered or unexported fields
}
AdminValidationError is the validation error returned by Admin.Validate if the designated constraints aren't met.
func (AdminValidationError) Cause ¶
func (e AdminValidationError) Cause() error
Cause function returns cause value.
func (AdminValidationError) Error ¶
func (e AdminValidationError) Error() string
Error satisfies the builtin error interface
func (AdminValidationError) ErrorName ¶
func (e AdminValidationError) ErrorName() string
ErrorName returns error name.
func (AdminValidationError) Field ¶
func (e AdminValidationError) Field() string
Field function returns field value.
func (AdminValidationError) Key ¶
func (e AdminValidationError) Key() bool
Key function returns key value.
func (AdminValidationError) Reason ¶
func (e AdminValidationError) Reason() string
Reason function returns reason value.
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 *duration.Duration `protobuf:"bytes,7,opt,name=stats_flush_interval,json=statsFlushInterval,proto3" json:"stats_flush_interval,omitempty"` // Types that are assignable 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: Do not use. 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: Do not use. 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 *wrappers.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: Do not use. 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: Do not use. 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 `` /* 236-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) Descriptor
deprecated
func (*Bootstrap) GetBootstrapExtensions ¶ added in v0.9.6
func (x *Bootstrap) GetBootstrapExtensions() []*v3.TypedExtensionConfig
func (*Bootstrap) GetCertificateProviderInstances ¶ added in v0.9.7
func (x *Bootstrap) GetCertificateProviderInstances() map[string]*v3.TypedExtensionConfig
func (*Bootstrap) GetClusterManager ¶
func (x *Bootstrap) GetClusterManager() *ClusterManager
func (*Bootstrap) GetConfigSources ¶ added in v0.9.6
func (x *Bootstrap) GetConfigSources() []*v3.ConfigSource
func (*Bootstrap) GetDefaultConfigSource ¶ added in v0.9.6
func (x *Bootstrap) GetDefaultConfigSource() *v3.ConfigSource
func (*Bootstrap) GetDefaultRegexEngine ¶ added in v0.10.2
func (x *Bootstrap) GetDefaultRegexEngine() *v3.TypedExtensionConfig
func (*Bootstrap) GetDefaultSocketInterface ¶ added in v0.9.7
func (*Bootstrap) GetDnsResolutionConfig
deprecated
added in
v0.10.0
func (x *Bootstrap) GetDnsResolutionConfig() *v3.DnsResolutionConfig
Deprecated: Do not use.
func (*Bootstrap) GetDynamicResources ¶
func (x *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources
func (*Bootstrap) GetEnableDispatcherStats ¶
func (*Bootstrap) GetFatalActions ¶ added in v0.9.8
func (x *Bootstrap) GetFatalActions() []*FatalAction
func (*Bootstrap) GetFlagsPath ¶
func (*Bootstrap) GetHdsConfig ¶
func (x *Bootstrap) GetHdsConfig() *v3.ApiConfigSource
func (*Bootstrap) GetHeaderPrefix ¶
func (*Bootstrap) GetInlineHeaders ¶ added in v0.10.0
func (x *Bootstrap) GetInlineHeaders() []*CustomInlineHeader
func (*Bootstrap) GetLayeredRuntime ¶
func (x *Bootstrap) GetLayeredRuntime() *LayeredRuntime
func (*Bootstrap) GetListenerManager ¶ added in v0.11.0
func (x *Bootstrap) GetListenerManager() *v3.TypedExtensionConfig
func (*Bootstrap) GetNodeContextParams ¶ added in v0.9.7
func (*Bootstrap) GetOverloadManager ¶
func (x *Bootstrap) GetOverloadManager() *v33.OverloadManager
func (*Bootstrap) GetPerfTracingFilePath ¶ added in v0.10.2
func (*Bootstrap) GetStaticResources ¶
func (x *Bootstrap) GetStaticResources() *Bootstrap_StaticResources
func (*Bootstrap) GetStatsConfig ¶
func (x *Bootstrap) GetStatsConfig() *v31.StatsConfig
func (*Bootstrap) GetStatsFlush ¶ added in v0.9.9
func (m *Bootstrap) GetStatsFlush() isBootstrap_StatsFlush
func (*Bootstrap) GetStatsFlushInterval ¶
func (*Bootstrap) GetStatsFlushOnAdmin ¶ added in v0.9.9
func (*Bootstrap) GetStatsServerVersionOverride ¶
func (x *Bootstrap) GetStatsServerVersionOverride() *wrappers.UInt64Value
func (*Bootstrap) GetStatsSinks ¶
func (*Bootstrap) GetTracing
deprecated
func (*Bootstrap) GetTypedDnsResolverConfig ¶ added in v0.10.0
func (x *Bootstrap) GetTypedDnsResolverConfig() *v3.TypedExtensionConfig
func (*Bootstrap) GetUseTcpForDnsLookups
deprecated
func (*Bootstrap) GetWatchdog
deprecated
func (*Bootstrap) GetWatchdogs ¶ added in v0.9.7
func (*Bootstrap) GetXdsConfigTrackerExtension ¶ added in v0.11.0
func (x *Bootstrap) GetXdsConfigTrackerExtension() *v3.TypedExtensionConfig
func (*Bootstrap) GetXdsDelegateExtension ¶ added in v0.11.0
func (x *Bootstrap) GetXdsDelegateExtension() *v3.TypedExtensionConfig
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶ added in v0.9.6
func (x *Bootstrap) ProtoReflect() protoreflect.Message
func (*Bootstrap) Validate ¶
Validate checks the field values on Bootstrap with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Bootstrap) ValidateAll ¶ added in v0.10.0
ValidateAll checks the field values on Bootstrap with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BootstrapMultiError, or nil if none found.
type BootstrapMultiError ¶ added in v0.10.0
type BootstrapMultiError []error
BootstrapMultiError is an error wrapping multiple validation errors returned by Bootstrap.ValidateAll() if the designated constraints aren't met.
func (BootstrapMultiError) AllErrors ¶ added in v0.10.0
func (m BootstrapMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BootstrapMultiError) Error ¶ added in v0.10.0
func (m BootstrapMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BootstrapValidationError ¶
type BootstrapValidationError struct {
// contains filtered or unexported fields
}
BootstrapValidationError is the validation error returned by Bootstrap.Validate if the designated constraints aren't met.
func (BootstrapValidationError) Cause ¶
func (e BootstrapValidationError) Cause() error
Cause function returns cause value.
func (BootstrapValidationError) Error ¶
func (e BootstrapValidationError) Error() string
Error satisfies the builtin error interface
func (BootstrapValidationError) ErrorName ¶
func (e BootstrapValidationError) ErrorName() string
ErrorName returns error name.
func (BootstrapValidationError) Field ¶
func (e BootstrapValidationError) Field() string
Field function returns field value.
func (BootstrapValidationError) Key ¶
func (e BootstrapValidationError) Key() bool
Key function returns key value.
func (BootstrapValidationError) Reason ¶
func (e BootstrapValidationError) Reason() string
Reason function returns reason value.
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) Descriptor
deprecated
func (*Bootstrap_DynamicResources) Descriptor() ([]byte, []int)
Deprecated: Use Bootstrap_DynamicResources.ProtoReflect.Descriptor instead.
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 ¶ added in v0.9.6
func (x *Bootstrap_DynamicResources) GetCdsResourcesLocator() string
func (*Bootstrap_DynamicResources) GetLdsConfig ¶
func (x *Bootstrap_DynamicResources) GetLdsConfig() *v3.ConfigSource
func (*Bootstrap_DynamicResources) GetLdsResourcesLocator ¶ added in v0.9.6
func (x *Bootstrap_DynamicResources) GetLdsResourcesLocator() string
func (*Bootstrap_DynamicResources) ProtoMessage ¶
func (*Bootstrap_DynamicResources) ProtoMessage()
func (*Bootstrap_DynamicResources) ProtoReflect ¶ added in v0.9.6
func (x *Bootstrap_DynamicResources) ProtoReflect() protoreflect.Message
func (*Bootstrap_DynamicResources) Reset ¶
func (x *Bootstrap_DynamicResources) Reset()
func (*Bootstrap_DynamicResources) String ¶
func (x *Bootstrap_DynamicResources) String() string
func (*Bootstrap_DynamicResources) Validate ¶
func (m *Bootstrap_DynamicResources) Validate() error
Validate checks the field values on Bootstrap_DynamicResources with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Bootstrap_DynamicResources) ValidateAll ¶ added in v0.10.0
func (m *Bootstrap_DynamicResources) ValidateAll() error
ValidateAll checks the field values on Bootstrap_DynamicResources with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Bootstrap_DynamicResourcesMultiError, or nil if none found.
type Bootstrap_DynamicResourcesMultiError ¶ added in v0.10.0
type Bootstrap_DynamicResourcesMultiError []error
Bootstrap_DynamicResourcesMultiError is an error wrapping multiple validation errors returned by Bootstrap_DynamicResources.ValidateAll() if the designated constraints aren't met.
func (Bootstrap_DynamicResourcesMultiError) AllErrors ¶ added in v0.10.0
func (m Bootstrap_DynamicResourcesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Bootstrap_DynamicResourcesMultiError) Error ¶ added in v0.10.0
func (m Bootstrap_DynamicResourcesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Bootstrap_DynamicResourcesValidationError ¶
type Bootstrap_DynamicResourcesValidationError struct {
// contains filtered or unexported fields
}
Bootstrap_DynamicResourcesValidationError is the validation error returned by Bootstrap_DynamicResources.Validate if the designated constraints aren't met.
func (Bootstrap_DynamicResourcesValidationError) Cause ¶
func (e Bootstrap_DynamicResourcesValidationError) Cause() error
Cause function returns cause value.
func (Bootstrap_DynamicResourcesValidationError) Error ¶
func (e Bootstrap_DynamicResourcesValidationError) Error() string
Error satisfies the builtin error interface
func (Bootstrap_DynamicResourcesValidationError) ErrorName ¶
func (e Bootstrap_DynamicResourcesValidationError) ErrorName() string
ErrorName returns error name.
func (Bootstrap_DynamicResourcesValidationError) Field ¶
func (e Bootstrap_DynamicResourcesValidationError) Field() string
Field function returns field value.
func (Bootstrap_DynamicResourcesValidationError) Key ¶
func (e Bootstrap_DynamicResourcesValidationError) Key() bool
Key function returns key value.
func (Bootstrap_DynamicResourcesValidationError) Reason ¶
func (e Bootstrap_DynamicResourcesValidationError) Reason() string
Reason function returns reason value.
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) Descriptor
deprecated
func (*Bootstrap_StaticResources) Descriptor() ([]byte, []int)
Deprecated: Use Bootstrap_StaticResources.ProtoReflect.Descriptor instead.
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 ¶ added in v0.9.6
func (x *Bootstrap_StaticResources) ProtoReflect() protoreflect.Message
func (*Bootstrap_StaticResources) Reset ¶
func (x *Bootstrap_StaticResources) Reset()
func (*Bootstrap_StaticResources) String ¶
func (x *Bootstrap_StaticResources) String() string
func (*Bootstrap_StaticResources) Validate ¶
func (m *Bootstrap_StaticResources) Validate() error
Validate checks the field values on Bootstrap_StaticResources with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Bootstrap_StaticResources) ValidateAll ¶ added in v0.10.0
func (m *Bootstrap_StaticResources) ValidateAll() error
ValidateAll checks the field values on Bootstrap_StaticResources with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Bootstrap_StaticResourcesMultiError, or nil if none found.
type Bootstrap_StaticResourcesMultiError ¶ added in v0.10.0
type Bootstrap_StaticResourcesMultiError []error
Bootstrap_StaticResourcesMultiError is an error wrapping multiple validation errors returned by Bootstrap_StaticResources.ValidateAll() if the designated constraints aren't met.
func (Bootstrap_StaticResourcesMultiError) AllErrors ¶ added in v0.10.0
func (m Bootstrap_StaticResourcesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Bootstrap_StaticResourcesMultiError) Error ¶ added in v0.10.0
func (m Bootstrap_StaticResourcesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Bootstrap_StaticResourcesValidationError ¶
type Bootstrap_StaticResourcesValidationError struct {
// contains filtered or unexported fields
}
Bootstrap_StaticResourcesValidationError is the validation error returned by Bootstrap_StaticResources.Validate if the designated constraints aren't met.
func (Bootstrap_StaticResourcesValidationError) Cause ¶
func (e Bootstrap_StaticResourcesValidationError) Cause() error
Cause function returns cause value.
func (Bootstrap_StaticResourcesValidationError) Error ¶
func (e Bootstrap_StaticResourcesValidationError) Error() string
Error satisfies the builtin error interface
func (Bootstrap_StaticResourcesValidationError) ErrorName ¶
func (e Bootstrap_StaticResourcesValidationError) ErrorName() string
ErrorName returns error name.
func (Bootstrap_StaticResourcesValidationError) Field ¶
func (e Bootstrap_StaticResourcesValidationError) Field() string
Field function returns field value.
func (Bootstrap_StaticResourcesValidationError) Key ¶
func (e Bootstrap_StaticResourcesValidationError) Key() bool
Key function returns key value.
func (Bootstrap_StaticResourcesValidationError) Reason ¶
func (e Bootstrap_StaticResourcesValidationError) Reason() string
Reason function returns reason value.
type Bootstrap_StatsFlushOnAdmin ¶ added in v0.9.9
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 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) Descriptor
deprecated
func (*ClusterManager) Descriptor() ([]byte, []int)
Deprecated: Use ClusterManager.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*ClusterManager) ProtoMessage()
func (*ClusterManager) ProtoReflect ¶ added in v0.9.6
func (x *ClusterManager) ProtoReflect() protoreflect.Message
func (*ClusterManager) Reset ¶
func (x *ClusterManager) Reset()
func (*ClusterManager) String ¶
func (x *ClusterManager) String() string
func (*ClusterManager) Validate ¶
func (m *ClusterManager) Validate() error
Validate checks the field values on ClusterManager with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClusterManager) ValidateAll ¶ added in v0.10.0
func (m *ClusterManager) ValidateAll() error
ValidateAll checks the field values on ClusterManager with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterManagerMultiError, or nil if none found.
type ClusterManagerMultiError ¶ added in v0.10.0
type ClusterManagerMultiError []error
ClusterManagerMultiError is an error wrapping multiple validation errors returned by ClusterManager.ValidateAll() if the designated constraints aren't met.
func (ClusterManagerMultiError) AllErrors ¶ added in v0.10.0
func (m ClusterManagerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterManagerMultiError) Error ¶ added in v0.10.0
func (m ClusterManagerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterManagerValidationError ¶
type ClusterManagerValidationError struct {
// contains filtered or unexported fields
}
ClusterManagerValidationError is the validation error returned by ClusterManager.Validate if the designated constraints aren't met.
func (ClusterManagerValidationError) Cause ¶
func (e ClusterManagerValidationError) Cause() error
Cause function returns cause value.
func (ClusterManagerValidationError) Error ¶
func (e ClusterManagerValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterManagerValidationError) ErrorName ¶
func (e ClusterManagerValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterManagerValidationError) Field ¶
func (e ClusterManagerValidationError) Field() string
Field function returns field value.
func (ClusterManagerValidationError) Key ¶
func (e ClusterManagerValidationError) Key() bool
Key function returns key value.
func (ClusterManagerValidationError) Reason ¶
func (e ClusterManagerValidationError) Reason() string
Reason function returns reason value.
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) Descriptor
deprecated
func (*ClusterManager_OutlierDetection) Descriptor() ([]byte, []int)
Deprecated: Use ClusterManager_OutlierDetection.ProtoReflect.Descriptor instead.
func (*ClusterManager_OutlierDetection) GetEventLogPath ¶
func (x *ClusterManager_OutlierDetection) GetEventLogPath() string
func (*ClusterManager_OutlierDetection) GetEventService ¶ added in v0.9.5
func (x *ClusterManager_OutlierDetection) GetEventService() *v3.EventServiceConfig
func (*ClusterManager_OutlierDetection) ProtoMessage ¶
func (*ClusterManager_OutlierDetection) ProtoMessage()
func (*ClusterManager_OutlierDetection) ProtoReflect ¶ added in v0.9.6
func (x *ClusterManager_OutlierDetection) ProtoReflect() protoreflect.Message
func (*ClusterManager_OutlierDetection) Reset ¶
func (x *ClusterManager_OutlierDetection) Reset()
func (*ClusterManager_OutlierDetection) String ¶
func (x *ClusterManager_OutlierDetection) String() string
func (*ClusterManager_OutlierDetection) Validate ¶
func (m *ClusterManager_OutlierDetection) Validate() error
Validate checks the field values on ClusterManager_OutlierDetection with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClusterManager_OutlierDetection) ValidateAll ¶ added in v0.10.0
func (m *ClusterManager_OutlierDetection) ValidateAll() error
ValidateAll checks the field values on ClusterManager_OutlierDetection with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterManager_OutlierDetectionMultiError, or nil if none found.
type ClusterManager_OutlierDetectionMultiError ¶ added in v0.10.0
type ClusterManager_OutlierDetectionMultiError []error
ClusterManager_OutlierDetectionMultiError is an error wrapping multiple validation errors returned by ClusterManager_OutlierDetection.ValidateAll() if the designated constraints aren't met.
func (ClusterManager_OutlierDetectionMultiError) AllErrors ¶ added in v0.10.0
func (m ClusterManager_OutlierDetectionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterManager_OutlierDetectionMultiError) Error ¶ added in v0.10.0
func (m ClusterManager_OutlierDetectionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterManager_OutlierDetectionValidationError ¶
type ClusterManager_OutlierDetectionValidationError struct {
// contains filtered or unexported fields
}
ClusterManager_OutlierDetectionValidationError is the validation error returned by ClusterManager_OutlierDetection.Validate if the designated constraints aren't met.
func (ClusterManager_OutlierDetectionValidationError) Cause ¶
func (e ClusterManager_OutlierDetectionValidationError) Cause() error
Cause function returns cause value.
func (ClusterManager_OutlierDetectionValidationError) Error ¶
func (e ClusterManager_OutlierDetectionValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterManager_OutlierDetectionValidationError) ErrorName ¶
func (e ClusterManager_OutlierDetectionValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterManager_OutlierDetectionValidationError) Field ¶
func (e ClusterManager_OutlierDetectionValidationError) Field() string
Field function returns field value.
func (ClusterManager_OutlierDetectionValidationError) Key ¶
func (e ClusterManager_OutlierDetectionValidationError) Key() bool
Key function returns key value.
func (ClusterManager_OutlierDetectionValidationError) Reason ¶
func (e ClusterManager_OutlierDetectionValidationError) Reason() string
Reason function returns reason value.
type CustomInlineHeader ¶ added in v0.10.0
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) Descriptor
deprecated
added in
v0.10.0
func (*CustomInlineHeader) Descriptor() ([]byte, []int)
Deprecated: Use CustomInlineHeader.ProtoReflect.Descriptor instead.
func (*CustomInlineHeader) GetInlineHeaderName ¶ added in v0.10.0
func (x *CustomInlineHeader) GetInlineHeaderName() string
func (*CustomInlineHeader) GetInlineHeaderType ¶ added in v0.10.0
func (x *CustomInlineHeader) GetInlineHeaderType() CustomInlineHeader_InlineHeaderType
func (*CustomInlineHeader) ProtoMessage ¶ added in v0.10.0
func (*CustomInlineHeader) ProtoMessage()
func (*CustomInlineHeader) ProtoReflect ¶ added in v0.10.0
func (x *CustomInlineHeader) ProtoReflect() protoreflect.Message
func (*CustomInlineHeader) Reset ¶ added in v0.10.0
func (x *CustomInlineHeader) Reset()
func (*CustomInlineHeader) String ¶ added in v0.10.0
func (x *CustomInlineHeader) String() string
func (*CustomInlineHeader) Validate ¶ added in v0.10.0
func (m *CustomInlineHeader) Validate() error
Validate checks the field values on CustomInlineHeader with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CustomInlineHeader) ValidateAll ¶ added in v0.10.0
func (m *CustomInlineHeader) ValidateAll() error
ValidateAll checks the field values on CustomInlineHeader with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CustomInlineHeaderMultiError, or nil if none found.
type CustomInlineHeaderMultiError ¶ added in v0.10.0
type CustomInlineHeaderMultiError []error
CustomInlineHeaderMultiError is an error wrapping multiple validation errors returned by CustomInlineHeader.ValidateAll() if the designated constraints aren't met.
func (CustomInlineHeaderMultiError) AllErrors ¶ added in v0.10.0
func (m CustomInlineHeaderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomInlineHeaderMultiError) Error ¶ added in v0.10.0
func (m CustomInlineHeaderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomInlineHeaderValidationError ¶ added in v0.10.0
type CustomInlineHeaderValidationError struct {
// contains filtered or unexported fields
}
CustomInlineHeaderValidationError is the validation error returned by CustomInlineHeader.Validate if the designated constraints aren't met.
func (CustomInlineHeaderValidationError) Cause ¶ added in v0.10.0
func (e CustomInlineHeaderValidationError) Cause() error
Cause function returns cause value.
func (CustomInlineHeaderValidationError) Error ¶ added in v0.10.0
func (e CustomInlineHeaderValidationError) Error() string
Error satisfies the builtin error interface
func (CustomInlineHeaderValidationError) ErrorName ¶ added in v0.10.0
func (e CustomInlineHeaderValidationError) ErrorName() string
ErrorName returns error name.
func (CustomInlineHeaderValidationError) Field ¶ added in v0.10.0
func (e CustomInlineHeaderValidationError) Field() string
Field function returns field value.
func (CustomInlineHeaderValidationError) Key ¶ added in v0.10.0
func (e CustomInlineHeaderValidationError) Key() bool
Key function returns key value.
func (CustomInlineHeaderValidationError) Reason ¶ added in v0.10.0
func (e CustomInlineHeaderValidationError) Reason() string
Reason function returns reason value.
type CustomInlineHeader_InlineHeaderType ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (CustomInlineHeader_InlineHeaderType) Descriptor() protoreflect.EnumDescriptor
func (CustomInlineHeader_InlineHeaderType) Enum ¶ added in v0.10.0
func (x CustomInlineHeader_InlineHeaderType) Enum() *CustomInlineHeader_InlineHeaderType
func (CustomInlineHeader_InlineHeaderType) EnumDescriptor
deprecated
added in
v0.10.0
func (CustomInlineHeader_InlineHeaderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CustomInlineHeader_InlineHeaderType.Descriptor instead.
func (CustomInlineHeader_InlineHeaderType) Number ¶ added in v0.10.0
func (x CustomInlineHeader_InlineHeaderType) Number() protoreflect.EnumNumber
func (CustomInlineHeader_InlineHeaderType) String ¶ added in v0.10.0
func (x CustomInlineHeader_InlineHeaderType) String() string
func (CustomInlineHeader_InlineHeaderType) Type ¶ added in v0.10.0
func (CustomInlineHeader_InlineHeaderType) Type() protoreflect.EnumType
type FatalAction ¶ added in v0.9.8
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) Descriptor
deprecated
added in
v0.9.8
func (*FatalAction) Descriptor() ([]byte, []int)
Deprecated: Use FatalAction.ProtoReflect.Descriptor instead.
func (*FatalAction) GetConfig ¶ added in v0.9.8
func (x *FatalAction) GetConfig() *v3.TypedExtensionConfig
func (*FatalAction) ProtoMessage ¶ added in v0.9.8
func (*FatalAction) ProtoMessage()
func (*FatalAction) ProtoReflect ¶ added in v0.9.8
func (x *FatalAction) ProtoReflect() protoreflect.Message
func (*FatalAction) Reset ¶ added in v0.9.8
func (x *FatalAction) Reset()
func (*FatalAction) String ¶ added in v0.9.8
func (x *FatalAction) String() string
func (*FatalAction) Validate ¶ added in v0.9.8
func (m *FatalAction) Validate() error
Validate checks the field values on FatalAction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FatalAction) ValidateAll ¶ added in v0.10.0
func (m *FatalAction) ValidateAll() error
ValidateAll checks the field values on FatalAction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FatalActionMultiError, or nil if none found.
type FatalActionMultiError ¶ added in v0.10.0
type FatalActionMultiError []error
FatalActionMultiError is an error wrapping multiple validation errors returned by FatalAction.ValidateAll() if the designated constraints aren't met.
func (FatalActionMultiError) AllErrors ¶ added in v0.10.0
func (m FatalActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FatalActionMultiError) Error ¶ added in v0.10.0
func (m FatalActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FatalActionValidationError ¶ added in v0.9.8
type FatalActionValidationError struct {
// contains filtered or unexported fields
}
FatalActionValidationError is the validation error returned by FatalAction.Validate if the designated constraints aren't met.
func (FatalActionValidationError) Cause ¶ added in v0.9.8
func (e FatalActionValidationError) Cause() error
Cause function returns cause value.
func (FatalActionValidationError) Error ¶ added in v0.9.8
func (e FatalActionValidationError) Error() string
Error satisfies the builtin error interface
func (FatalActionValidationError) ErrorName ¶ added in v0.9.8
func (e FatalActionValidationError) ErrorName() string
ErrorName returns error name.
func (FatalActionValidationError) Field ¶ added in v0.9.8
func (e FatalActionValidationError) Field() string
Field function returns field value.
func (FatalActionValidationError) Key ¶ added in v0.9.8
func (e FatalActionValidationError) Key() bool
Key function returns key value.
func (FatalActionValidationError) Reason ¶ added in v0.9.8
func (e FatalActionValidationError) Reason() string
Reason function returns reason value.
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) Descriptor
deprecated
func (*LayeredRuntime) Descriptor() ([]byte, []int)
Deprecated: Use LayeredRuntime.ProtoReflect.Descriptor instead.
func (*LayeredRuntime) GetLayers ¶
func (x *LayeredRuntime) GetLayers() []*RuntimeLayer
func (*LayeredRuntime) ProtoMessage ¶
func (*LayeredRuntime) ProtoMessage()
func (*LayeredRuntime) ProtoReflect ¶ added in v0.9.6
func (x *LayeredRuntime) ProtoReflect() protoreflect.Message
func (*LayeredRuntime) Reset ¶
func (x *LayeredRuntime) Reset()
func (*LayeredRuntime) String ¶
func (x *LayeredRuntime) String() string
func (*LayeredRuntime) Validate ¶
func (m *LayeredRuntime) Validate() error
Validate checks the field values on LayeredRuntime with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LayeredRuntime) ValidateAll ¶ added in v0.10.0
func (m *LayeredRuntime) ValidateAll() error
ValidateAll checks the field values on LayeredRuntime with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LayeredRuntimeMultiError, or nil if none found.
type LayeredRuntimeMultiError ¶ added in v0.10.0
type LayeredRuntimeMultiError []error
LayeredRuntimeMultiError is an error wrapping multiple validation errors returned by LayeredRuntime.ValidateAll() if the designated constraints aren't met.
func (LayeredRuntimeMultiError) AllErrors ¶ added in v0.10.0
func (m LayeredRuntimeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LayeredRuntimeMultiError) Error ¶ added in v0.10.0
func (m LayeredRuntimeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LayeredRuntimeValidationError ¶
type LayeredRuntimeValidationError struct {
// contains filtered or unexported fields
}
LayeredRuntimeValidationError is the validation error returned by LayeredRuntime.Validate if the designated constraints aren't met.
func (LayeredRuntimeValidationError) Cause ¶
func (e LayeredRuntimeValidationError) Cause() error
Cause function returns cause value.
func (LayeredRuntimeValidationError) Error ¶
func (e LayeredRuntimeValidationError) Error() string
Error satisfies the builtin error interface
func (LayeredRuntimeValidationError) ErrorName ¶
func (e LayeredRuntimeValidationError) ErrorName() string
ErrorName returns error name.
func (LayeredRuntimeValidationError) Field ¶
func (e LayeredRuntimeValidationError) Field() string
Field function returns field value.
func (LayeredRuntimeValidationError) Key ¶
func (e LayeredRuntimeValidationError) Key() bool
Key function returns key value.
func (LayeredRuntimeValidationError) Reason ¶
func (e LayeredRuntimeValidationError) Reason() string
Reason function returns reason value.
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 *_struct.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) Descriptor
deprecated
func (*Runtime) GetOverrideSubdirectory ¶
func (*Runtime) GetSubdirectory ¶
func (*Runtime) GetSymlinkRoot ¶
func (*Runtime) ProtoMessage ¶
func (*Runtime) ProtoMessage()
func (*Runtime) ProtoReflect ¶ added in v0.9.6
func (x *Runtime) ProtoReflect() protoreflect.Message
func (*Runtime) Validate ¶
Validate checks the field values on Runtime with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Runtime) ValidateAll ¶ added in v0.10.0
ValidateAll checks the field values on Runtime with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeMultiError, or nil if none found.
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 assignable 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) Descriptor
deprecated
func (*RuntimeLayer) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeLayer.ProtoReflect.Descriptor instead.
func (*RuntimeLayer) GetAdminLayer ¶
func (x *RuntimeLayer) GetAdminLayer() *RuntimeLayer_AdminLayer
func (*RuntimeLayer) GetDiskLayer ¶
func (x *RuntimeLayer) GetDiskLayer() *RuntimeLayer_DiskLayer
func (*RuntimeLayer) GetLayerSpecifier ¶
func (m *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() *_struct.Struct
func (*RuntimeLayer) ProtoMessage ¶
func (*RuntimeLayer) ProtoMessage()
func (*RuntimeLayer) ProtoReflect ¶ added in v0.9.6
func (x *RuntimeLayer) ProtoReflect() protoreflect.Message
func (*RuntimeLayer) Reset ¶
func (x *RuntimeLayer) Reset()
func (*RuntimeLayer) String ¶
func (x *RuntimeLayer) String() string
func (*RuntimeLayer) Validate ¶
func (m *RuntimeLayer) Validate() error
Validate checks the field values on RuntimeLayer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RuntimeLayer) ValidateAll ¶ added in v0.10.0
func (m *RuntimeLayer) ValidateAll() error
ValidateAll checks the field values on RuntimeLayer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeLayerMultiError, or nil if none found.
type RuntimeLayerMultiError ¶ added in v0.10.0
type RuntimeLayerMultiError []error
RuntimeLayerMultiError is an error wrapping multiple validation errors returned by RuntimeLayer.ValidateAll() if the designated constraints aren't met.
func (RuntimeLayerMultiError) AllErrors ¶ added in v0.10.0
func (m RuntimeLayerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuntimeLayerMultiError) Error ¶ added in v0.10.0
func (m RuntimeLayerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuntimeLayerValidationError ¶
type RuntimeLayerValidationError struct {
// contains filtered or unexported fields
}
RuntimeLayerValidationError is the validation error returned by RuntimeLayer.Validate if the designated constraints aren't met.
func (RuntimeLayerValidationError) Cause ¶
func (e RuntimeLayerValidationError) Cause() error
Cause function returns cause value.
func (RuntimeLayerValidationError) Error ¶
func (e RuntimeLayerValidationError) Error() string
Error satisfies the builtin error interface
func (RuntimeLayerValidationError) ErrorName ¶
func (e RuntimeLayerValidationError) ErrorName() string
ErrorName returns error name.
func (RuntimeLayerValidationError) Field ¶
func (e RuntimeLayerValidationError) Field() string
Field function returns field value.
func (RuntimeLayerValidationError) Key ¶
func (e RuntimeLayerValidationError) Key() bool
Key function returns key value.
func (RuntimeLayerValidationError) Reason ¶
func (e RuntimeLayerValidationError) Reason() string
Reason function returns reason value.
type RuntimeLayer_AdminLayer ¶
type RuntimeLayer_AdminLayer struct {
// contains filtered or unexported fields
}
:ref:`Admin console runtime <config_runtime_admin>` layer.
func (*RuntimeLayer_AdminLayer) Descriptor
deprecated
func (*RuntimeLayer_AdminLayer) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeLayer_AdminLayer.ProtoReflect.Descriptor instead.
func (*RuntimeLayer_AdminLayer) ProtoMessage ¶
func (*RuntimeLayer_AdminLayer) ProtoMessage()
func (*RuntimeLayer_AdminLayer) ProtoReflect ¶ added in v0.9.6
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
func (*RuntimeLayer_AdminLayer) Validate ¶
func (m *RuntimeLayer_AdminLayer) Validate() error
Validate checks the field values on RuntimeLayer_AdminLayer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RuntimeLayer_AdminLayer) ValidateAll ¶ added in v0.10.0
func (m *RuntimeLayer_AdminLayer) ValidateAll() error
ValidateAll checks the field values on RuntimeLayer_AdminLayer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeLayer_AdminLayerMultiError, or nil if none found.
type RuntimeLayer_AdminLayerMultiError ¶ added in v0.10.0
type RuntimeLayer_AdminLayerMultiError []error
RuntimeLayer_AdminLayerMultiError is an error wrapping multiple validation errors returned by RuntimeLayer_AdminLayer.ValidateAll() if the designated constraints aren't met.
func (RuntimeLayer_AdminLayerMultiError) AllErrors ¶ added in v0.10.0
func (m RuntimeLayer_AdminLayerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuntimeLayer_AdminLayerMultiError) Error ¶ added in v0.10.0
func (m RuntimeLayer_AdminLayerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuntimeLayer_AdminLayerValidationError ¶
type RuntimeLayer_AdminLayerValidationError struct {
// contains filtered or unexported fields
}
RuntimeLayer_AdminLayerValidationError is the validation error returned by RuntimeLayer_AdminLayer.Validate if the designated constraints aren't met.
func (RuntimeLayer_AdminLayerValidationError) Cause ¶
func (e RuntimeLayer_AdminLayerValidationError) Cause() error
Cause function returns cause value.
func (RuntimeLayer_AdminLayerValidationError) Error ¶
func (e RuntimeLayer_AdminLayerValidationError) Error() string
Error satisfies the builtin error interface
func (RuntimeLayer_AdminLayerValidationError) ErrorName ¶
func (e RuntimeLayer_AdminLayerValidationError) ErrorName() string
ErrorName returns error name.
func (RuntimeLayer_AdminLayerValidationError) Field ¶
func (e RuntimeLayer_AdminLayerValidationError) Field() string
Field function returns field value.
func (RuntimeLayer_AdminLayerValidationError) Key ¶
func (e RuntimeLayer_AdminLayerValidationError) Key() bool
Key function returns key value.
func (RuntimeLayer_AdminLayerValidationError) Reason ¶
func (e RuntimeLayer_AdminLayerValidationError) Reason() string
Reason function returns reason value.
type RuntimeLayer_AdminLayer_ ¶
type RuntimeLayer_AdminLayer_ struct {
AdminLayer *RuntimeLayer_AdminLayer `protobuf:"bytes,4,opt,name=admin_layer,json=adminLayer,proto3,oneof"`
}
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) Descriptor
deprecated
func (*RuntimeLayer_DiskLayer) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeLayer_DiskLayer.ProtoReflect.Descriptor instead.
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 ¶ added in v0.9.6
func (x *RuntimeLayer_DiskLayer) ProtoReflect() protoreflect.Message
func (*RuntimeLayer_DiskLayer) Reset ¶
func (x *RuntimeLayer_DiskLayer) Reset()
func (*RuntimeLayer_DiskLayer) String ¶
func (x *RuntimeLayer_DiskLayer) String() string
func (*RuntimeLayer_DiskLayer) Validate ¶
func (m *RuntimeLayer_DiskLayer) Validate() error
Validate checks the field values on RuntimeLayer_DiskLayer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RuntimeLayer_DiskLayer) ValidateAll ¶ added in v0.10.0
func (m *RuntimeLayer_DiskLayer) ValidateAll() error
ValidateAll checks the field values on RuntimeLayer_DiskLayer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeLayer_DiskLayerMultiError, or nil if none found.
type RuntimeLayer_DiskLayerMultiError ¶ added in v0.10.0
type RuntimeLayer_DiskLayerMultiError []error
RuntimeLayer_DiskLayerMultiError is an error wrapping multiple validation errors returned by RuntimeLayer_DiskLayer.ValidateAll() if the designated constraints aren't met.
func (RuntimeLayer_DiskLayerMultiError) AllErrors ¶ added in v0.10.0
func (m RuntimeLayer_DiskLayerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuntimeLayer_DiskLayerMultiError) Error ¶ added in v0.10.0
func (m RuntimeLayer_DiskLayerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuntimeLayer_DiskLayerValidationError ¶
type RuntimeLayer_DiskLayerValidationError struct {
// contains filtered or unexported fields
}
RuntimeLayer_DiskLayerValidationError is the validation error returned by RuntimeLayer_DiskLayer.Validate if the designated constraints aren't met.
func (RuntimeLayer_DiskLayerValidationError) Cause ¶
func (e RuntimeLayer_DiskLayerValidationError) Cause() error
Cause function returns cause value.
func (RuntimeLayer_DiskLayerValidationError) Error ¶
func (e RuntimeLayer_DiskLayerValidationError) Error() string
Error satisfies the builtin error interface
func (RuntimeLayer_DiskLayerValidationError) ErrorName ¶
func (e RuntimeLayer_DiskLayerValidationError) ErrorName() string
ErrorName returns error name.
func (RuntimeLayer_DiskLayerValidationError) Field ¶
func (e RuntimeLayer_DiskLayerValidationError) Field() string
Field function returns field value.
func (RuntimeLayer_DiskLayerValidationError) Key ¶
func (e RuntimeLayer_DiskLayerValidationError) Key() bool
Key function returns key value.
func (RuntimeLayer_DiskLayerValidationError) Reason ¶
func (e RuntimeLayer_DiskLayerValidationError) Reason() string
Reason function returns reason value.
type RuntimeLayer_DiskLayer_ ¶
type RuntimeLayer_DiskLayer_ struct {
DiskLayer *RuntimeLayer_DiskLayer `protobuf:"bytes,3,opt,name=disk_layer,json=diskLayer,proto3,oneof"`
}
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) Descriptor
deprecated
func (*RuntimeLayer_RtdsLayer) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeLayer_RtdsLayer.ProtoReflect.Descriptor instead.
func (*RuntimeLayer_RtdsLayer) GetName ¶
func (x *RuntimeLayer_RtdsLayer) GetName() string
func (*RuntimeLayer_RtdsLayer) GetRtdsConfig ¶
func (x *RuntimeLayer_RtdsLayer) GetRtdsConfig() *v3.ConfigSource
func (*RuntimeLayer_RtdsLayer) ProtoMessage ¶
func (*RuntimeLayer_RtdsLayer) ProtoMessage()
func (*RuntimeLayer_RtdsLayer) ProtoReflect ¶ added in v0.9.6
func (x *RuntimeLayer_RtdsLayer) ProtoReflect() protoreflect.Message
func (*RuntimeLayer_RtdsLayer) Reset ¶
func (x *RuntimeLayer_RtdsLayer) Reset()
func (*RuntimeLayer_RtdsLayer) String ¶
func (x *RuntimeLayer_RtdsLayer) String() string
func (*RuntimeLayer_RtdsLayer) Validate ¶
func (m *RuntimeLayer_RtdsLayer) Validate() error
Validate checks the field values on RuntimeLayer_RtdsLayer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RuntimeLayer_RtdsLayer) ValidateAll ¶ added in v0.10.0
func (m *RuntimeLayer_RtdsLayer) ValidateAll() error
ValidateAll checks the field values on RuntimeLayer_RtdsLayer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeLayer_RtdsLayerMultiError, or nil if none found.
type RuntimeLayer_RtdsLayerMultiError ¶ added in v0.10.0
type RuntimeLayer_RtdsLayerMultiError []error
RuntimeLayer_RtdsLayerMultiError is an error wrapping multiple validation errors returned by RuntimeLayer_RtdsLayer.ValidateAll() if the designated constraints aren't met.
func (RuntimeLayer_RtdsLayerMultiError) AllErrors ¶ added in v0.10.0
func (m RuntimeLayer_RtdsLayerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuntimeLayer_RtdsLayerMultiError) Error ¶ added in v0.10.0
func (m RuntimeLayer_RtdsLayerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuntimeLayer_RtdsLayerValidationError ¶
type RuntimeLayer_RtdsLayerValidationError struct {
// contains filtered or unexported fields
}
RuntimeLayer_RtdsLayerValidationError is the validation error returned by RuntimeLayer_RtdsLayer.Validate if the designated constraints aren't met.
func (RuntimeLayer_RtdsLayerValidationError) Cause ¶
func (e RuntimeLayer_RtdsLayerValidationError) Cause() error
Cause function returns cause value.
func (RuntimeLayer_RtdsLayerValidationError) Error ¶
func (e RuntimeLayer_RtdsLayerValidationError) Error() string
Error satisfies the builtin error interface
func (RuntimeLayer_RtdsLayerValidationError) ErrorName ¶
func (e RuntimeLayer_RtdsLayerValidationError) ErrorName() string
ErrorName returns error name.
func (RuntimeLayer_RtdsLayerValidationError) Field ¶
func (e RuntimeLayer_RtdsLayerValidationError) Field() string
Field function returns field value.
func (RuntimeLayer_RtdsLayerValidationError) Key ¶
func (e RuntimeLayer_RtdsLayerValidationError) Key() bool
Key function returns key value.
func (RuntimeLayer_RtdsLayerValidationError) Reason ¶
func (e RuntimeLayer_RtdsLayerValidationError) Reason() string
Reason function returns reason value.
type RuntimeLayer_RtdsLayer_ ¶
type RuntimeLayer_RtdsLayer_ struct {
RtdsLayer *RuntimeLayer_RtdsLayer `protobuf:"bytes,5,opt,name=rtds_layer,json=rtdsLayer,proto3,oneof"`
}
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 *_struct.Struct `protobuf:"bytes,2,opt,name=static_layer,json=staticLayer,proto3,oneof"` }
type RuntimeMultiError ¶ added in v0.10.0
type RuntimeMultiError []error
RuntimeMultiError is an error wrapping multiple validation errors returned by Runtime.ValidateAll() if the designated constraints aren't met.
func (RuntimeMultiError) AllErrors ¶ added in v0.10.0
func (m RuntimeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuntimeMultiError) Error ¶ added in v0.10.0
func (m RuntimeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuntimeValidationError ¶
type RuntimeValidationError struct {
// contains filtered or unexported fields
}
RuntimeValidationError is the validation error returned by Runtime.Validate if the designated constraints aren't met.
func (RuntimeValidationError) Cause ¶
func (e RuntimeValidationError) Cause() error
Cause function returns cause value.
func (RuntimeValidationError) Error ¶
func (e RuntimeValidationError) Error() string
Error satisfies the builtin error interface
func (RuntimeValidationError) ErrorName ¶
func (e RuntimeValidationError) ErrorName() string
ErrorName returns error name.
func (RuntimeValidationError) Field ¶
func (e RuntimeValidationError) Field() string
Field function returns field value.
func (RuntimeValidationError) Key ¶
func (e RuntimeValidationError) Key() bool
Key function returns key value.
func (RuntimeValidationError) Reason ¶
func (e RuntimeValidationError) Reason() string
Reason function returns reason value.
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 *duration.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 *duration.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 *duration.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 *duration.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 *duration.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) Descriptor
deprecated
func (*Watchdog) GetActions ¶ added in v0.9.7
func (x *Watchdog) GetActions() []*Watchdog_WatchdogAction
func (*Watchdog) GetKillTimeout ¶
func (*Watchdog) GetMaxKillTimeoutJitter ¶ added in v0.9.7
func (*Watchdog) GetMegamissTimeout ¶
func (*Watchdog) GetMissTimeout ¶
func (*Watchdog) GetMultikillThreshold ¶ added in v0.9.7
func (*Watchdog) GetMultikillTimeout ¶
func (*Watchdog) ProtoMessage ¶
func (*Watchdog) ProtoMessage()
func (*Watchdog) ProtoReflect ¶ added in v0.9.6
func (x *Watchdog) ProtoReflect() protoreflect.Message
func (*Watchdog) Validate ¶
Validate checks the field values on Watchdog with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Watchdog) ValidateAll ¶ added in v0.10.0
ValidateAll checks the field values on Watchdog with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchdogMultiError, or nil if none found.
type WatchdogMultiError ¶ added in v0.10.0
type WatchdogMultiError []error
WatchdogMultiError is an error wrapping multiple validation errors returned by Watchdog.ValidateAll() if the designated constraints aren't met.
func (WatchdogMultiError) AllErrors ¶ added in v0.10.0
func (m WatchdogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WatchdogMultiError) Error ¶ added in v0.10.0
func (m WatchdogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WatchdogValidationError ¶
type WatchdogValidationError struct {
// contains filtered or unexported fields
}
WatchdogValidationError is the validation error returned by Watchdog.Validate if the designated constraints aren't met.
func (WatchdogValidationError) Cause ¶
func (e WatchdogValidationError) Cause() error
Cause function returns cause value.
func (WatchdogValidationError) Error ¶
func (e WatchdogValidationError) Error() string
Error satisfies the builtin error interface
func (WatchdogValidationError) ErrorName ¶
func (e WatchdogValidationError) ErrorName() string
ErrorName returns error name.
func (WatchdogValidationError) Field ¶
func (e WatchdogValidationError) Field() string
Field function returns field value.
func (WatchdogValidationError) Key ¶
func (e WatchdogValidationError) Key() bool
Key function returns key value.
func (WatchdogValidationError) Reason ¶
func (e WatchdogValidationError) Reason() string
Reason function returns reason value.
type Watchdog_WatchdogAction ¶ added in v0.9.7
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) Descriptor
deprecated
added in
v0.9.7
func (*Watchdog_WatchdogAction) Descriptor() ([]byte, []int)
Deprecated: Use Watchdog_WatchdogAction.ProtoReflect.Descriptor instead.
func (*Watchdog_WatchdogAction) GetConfig ¶ added in v0.9.7
func (x *Watchdog_WatchdogAction) GetConfig() *v3.TypedExtensionConfig
func (*Watchdog_WatchdogAction) GetEvent ¶ added in v0.9.7
func (x *Watchdog_WatchdogAction) GetEvent() Watchdog_WatchdogAction_WatchdogEvent
func (*Watchdog_WatchdogAction) ProtoMessage ¶ added in v0.9.7
func (*Watchdog_WatchdogAction) ProtoMessage()
func (*Watchdog_WatchdogAction) ProtoReflect ¶ added in v0.9.7
func (x *Watchdog_WatchdogAction) ProtoReflect() protoreflect.Message
func (*Watchdog_WatchdogAction) Reset ¶ added in v0.9.7
func (x *Watchdog_WatchdogAction) Reset()
func (*Watchdog_WatchdogAction) String ¶ added in v0.9.7
func (x *Watchdog_WatchdogAction) String() string
func (*Watchdog_WatchdogAction) Validate ¶ added in v0.9.7
func (m *Watchdog_WatchdogAction) Validate() error
Validate checks the field values on Watchdog_WatchdogAction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Watchdog_WatchdogAction) ValidateAll ¶ added in v0.10.0
func (m *Watchdog_WatchdogAction) ValidateAll() error
ValidateAll checks the field values on Watchdog_WatchdogAction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Watchdog_WatchdogActionMultiError, or nil if none found.
type Watchdog_WatchdogActionMultiError ¶ added in v0.10.0
type Watchdog_WatchdogActionMultiError []error
Watchdog_WatchdogActionMultiError is an error wrapping multiple validation errors returned by Watchdog_WatchdogAction.ValidateAll() if the designated constraints aren't met.
func (Watchdog_WatchdogActionMultiError) AllErrors ¶ added in v0.10.0
func (m Watchdog_WatchdogActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Watchdog_WatchdogActionMultiError) Error ¶ added in v0.10.0
func (m Watchdog_WatchdogActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Watchdog_WatchdogActionValidationError ¶ added in v0.9.7
type Watchdog_WatchdogActionValidationError struct {
// contains filtered or unexported fields
}
Watchdog_WatchdogActionValidationError is the validation error returned by Watchdog_WatchdogAction.Validate if the designated constraints aren't met.
func (Watchdog_WatchdogActionValidationError) Cause ¶ added in v0.9.7
func (e Watchdog_WatchdogActionValidationError) Cause() error
Cause function returns cause value.
func (Watchdog_WatchdogActionValidationError) Error ¶ added in v0.9.7
func (e Watchdog_WatchdogActionValidationError) Error() string
Error satisfies the builtin error interface
func (Watchdog_WatchdogActionValidationError) ErrorName ¶ added in v0.9.7
func (e Watchdog_WatchdogActionValidationError) ErrorName() string
ErrorName returns error name.
func (Watchdog_WatchdogActionValidationError) Field ¶ added in v0.9.7
func (e Watchdog_WatchdogActionValidationError) Field() string
Field function returns field value.
func (Watchdog_WatchdogActionValidationError) Key ¶ added in v0.9.7
func (e Watchdog_WatchdogActionValidationError) Key() bool
Key function returns key value.
func (Watchdog_WatchdogActionValidationError) Reason ¶ added in v0.9.7
func (e Watchdog_WatchdogActionValidationError) Reason() string
Reason function returns reason value.
type Watchdog_WatchdogAction_WatchdogEvent ¶ added in v0.9.7
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 ¶ added in v0.9.7
func (Watchdog_WatchdogAction_WatchdogEvent) Descriptor() protoreflect.EnumDescriptor
func (Watchdog_WatchdogAction_WatchdogEvent) EnumDescriptor
deprecated
added in
v0.9.7
func (Watchdog_WatchdogAction_WatchdogEvent) EnumDescriptor() ([]byte, []int)
Deprecated: Use Watchdog_WatchdogAction_WatchdogEvent.Descriptor instead.
func (Watchdog_WatchdogAction_WatchdogEvent) Number ¶ added in v0.9.7
func (x Watchdog_WatchdogAction_WatchdogEvent) Number() protoreflect.EnumNumber
func (Watchdog_WatchdogAction_WatchdogEvent) String ¶ added in v0.9.7
func (x Watchdog_WatchdogAction_WatchdogEvent) String() string
func (Watchdog_WatchdogAction_WatchdogEvent) Type ¶ added in v0.9.7
func (Watchdog_WatchdogAction_WatchdogEvent) Type() protoreflect.EnumType
type Watchdogs ¶ added in v0.9.7
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) Descriptor
deprecated
added in
v0.9.7
func (*Watchdogs) GetMainThreadWatchdog ¶ added in v0.9.7
func (*Watchdogs) GetWorkerWatchdog ¶ added in v0.9.7
func (*Watchdogs) ProtoMessage ¶ added in v0.9.7
func (*Watchdogs) ProtoMessage()
func (*Watchdogs) ProtoReflect ¶ added in v0.9.7
func (x *Watchdogs) ProtoReflect() protoreflect.Message
func (*Watchdogs) Validate ¶ added in v0.9.7
Validate checks the field values on Watchdogs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Watchdogs) ValidateAll ¶ added in v0.10.0
ValidateAll checks the field values on Watchdogs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchdogsMultiError, or nil if none found.
type WatchdogsMultiError ¶ added in v0.10.0
type WatchdogsMultiError []error
WatchdogsMultiError is an error wrapping multiple validation errors returned by Watchdogs.ValidateAll() if the designated constraints aren't met.
func (WatchdogsMultiError) AllErrors ¶ added in v0.10.0
func (m WatchdogsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WatchdogsMultiError) Error ¶ added in v0.10.0
func (m WatchdogsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WatchdogsValidationError ¶ added in v0.9.7
type WatchdogsValidationError struct {
// contains filtered or unexported fields
}
WatchdogsValidationError is the validation error returned by Watchdogs.Validate if the designated constraints aren't met.
func (WatchdogsValidationError) Cause ¶ added in v0.9.7
func (e WatchdogsValidationError) Cause() error
Cause function returns cause value.
func (WatchdogsValidationError) Error ¶ added in v0.9.7
func (e WatchdogsValidationError) Error() string
Error satisfies the builtin error interface
func (WatchdogsValidationError) ErrorName ¶ added in v0.9.7
func (e WatchdogsValidationError) ErrorName() string
ErrorName returns error name.
func (WatchdogsValidationError) Field ¶ added in v0.9.7
func (e WatchdogsValidationError) Field() string
Field function returns field value.
func (WatchdogsValidationError) Key ¶ added in v0.9.7
func (e WatchdogsValidationError) Key() bool
Key function returns key value.
func (WatchdogsValidationError) Reason ¶ added in v0.9.7
func (e WatchdogsValidationError) Reason() string
Reason function returns reason value.