envoy_config_bootstrap_v3alpha

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	// The path to write the access log for the administration server. If no
	// access log is desired specify ‘/dev/null’. This is only required if
	// :ref:`address <envoy_api_field_config.bootstrap.v3alpha.Admin.address>` is set.
	AccessLogPath string `protobuf:"bytes,1,opt,name=access_log_path,json=accessLogPath,proto3" json:"access_log_path,omitempty"`
	// The cpu profiler output path for the administration server. If no profile
	// path is specified, the default is ‘/var/log/envoy/envoy.prof’.
	ProfilePath string `protobuf:"bytes,2,opt,name=profile_path,json=profilePath,proto3" json:"profile_path,omitempty"`
	// The TCP address that the administration server will listen on.
	// If not specified, Envoy will not start an administration server.
	Address *core.Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// Additional socket options that may not be present in Envoy source code or
	// precompiled binaries.
	SocketOptions        []*core.SocketOption `protobuf:"bytes,4,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Administration interface :ref:`operations documentation <operations_admin_interface>`.

func (*Admin) Descriptor

func (*Admin) Descriptor() ([]byte, []int)

func (*Admin) GetAccessLogPath

func (m *Admin) GetAccessLogPath() string

func (*Admin) GetAddress

func (m *Admin) GetAddress() *core.Address

func (*Admin) GetProfilePath

func (m *Admin) GetProfilePath() string

func (*Admin) GetSocketOptions

func (m *Admin) GetSocketOptions() []*core.SocketOption

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) Reset

func (m *Admin) Reset()

func (*Admin) String

func (m *Admin) String() string

func (*Admin) XXX_DiscardUnknown

func (m *Admin) XXX_DiscardUnknown()

func (*Admin) XXX_Marshal

func (m *Admin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Admin) XXX_Merge

func (m *Admin) XXX_Merge(src proto.Message)

func (*Admin) XXX_Size

func (m *Admin) XXX_Size() int

func (*Admin) XXX_Unmarshal

func (m *Admin) XXX_Unmarshal(b []byte) error

type Bootstrap

type Bootstrap struct {
	// Node identity to present to the management server and for instance
	// identification purposes (e.g. in generated headers).
	Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// Statically specified resources.
	StaticResources *Bootstrap_StaticResources `protobuf:"bytes,2,opt,name=static_resources,json=staticResources,proto3" json:"static_resources,omitempty"`
	// xDS configuration sources.
	DynamicResources *Bootstrap_DynamicResources `protobuf:"bytes,3,opt,name=dynamic_resources,json=dynamicResources,proto3" json:"dynamic_resources,omitempty"`
	// Configuration for the cluster manager which owns all upstream clusters
	// within the server.
	ClusterManager *ClusterManager `protobuf:"bytes,4,opt,name=cluster_manager,json=clusterManager,proto3" json:"cluster_manager,omitempty"`
	// Health discovery service config option.
	// (:ref:`core.ApiConfigSource <envoy_api_msg_api.v3alpha.core.ApiConfigSource>`)
	HdsConfig *core.ApiConfigSource `protobuf:"bytes,14,opt,name=hds_config,json=hdsConfig,proto3" json:"hds_config,omitempty"`
	// Optional file system path to search for startup flag files.
	FlagsPath string `protobuf:"bytes,5,opt,name=flags_path,json=flagsPath,proto3" json:"flags_path,omitempty"`
	// Optional set of stats sinks.
	StatsSinks []*v3alpha.StatsSink `protobuf:"bytes,6,rep,name=stats_sinks,json=statsSinks,proto3" json:"stats_sinks,omitempty"`
	// Configuration for internal processing of stats.
	StatsConfig *v3alpha.StatsConfig `protobuf:"bytes,13,opt,name=stats_config,json=statsConfig,proto3" json:"stats_config,omitempty"`
	// Optional duration between flushes to configured stats sinks. For
	// performance reasons Envoy latches counters and only flushes counters and
	// gauges at a periodic interval. If not specified the default is 5000ms (5
	// seconds).
	// Duration must be at least 1ms and at most 5 min.
	StatsFlushInterval *types.Duration `protobuf:"bytes,7,opt,name=stats_flush_interval,json=statsFlushInterval,proto3" json:"stats_flush_interval,omitempty"`
	// Optional watchdog configuration.
	Watchdog *Watchdog `protobuf:"bytes,8,opt,name=watchdog,proto3" json:"watchdog,omitempty"`
	// Configuration for an external tracing provider. If not specified, no
	// tracing will be performed.
	Tracing *v3alpha1.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 *v3alpha2.OverloadManager `protobuf:"bytes,15,opt,name=overload_manager,json=overloadManager,proto3" json:"overload_manager,omitempty"`
	// Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
	// Note that this records a value for each iteration of the event loop on every thread. This
	// should normally be minimal overhead, but when using
	// :ref:`statsd <envoy_api_msg_config.metrics.v3alpha.StatsdSink>`, it will send each observed
	// value over the wire individually because the statsd protocol doesn't have any way to represent
	// a histogram summary. Be aware that this can be a very large volume of data.
	EnableDispatcherStats bool `` /* 128-byte string literal not displayed */
	// Optional string which will be used in lieu of x-envoy in prefixing headers.
	//
	// For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
	// transformed into x-foo-retry-on etc.
	//
	// Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
	// headers Envoy will trust for core code and core extensions only. Be VERY careful making
	// changes to this string, especially in multi-layer Envoy deployments or deployments using
	// extensions which are not upstream.
	HeaderPrefix string `protobuf:"bytes,18,opt,name=header_prefix,json=headerPrefix,proto3" json:"header_prefix,omitempty"`
	// Optional proxy version which will be used to set the value of :ref:`server.version statistic
	// <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
	// :ref:<stats sinks <envoy_api_msg_config.metrics.v3alpha.StatsSink>.
	StatsServerVersionOverride *types.UInt64Value `` /* 144-byte string literal not displayed */
	XXX_NoUnkeyedLiteral       struct{}           `json:"-"`
	XXX_unrecognized           []byte             `json:"-"`
	XXX_sizecache              int32              `json:"-"`
}

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

func (*Bootstrap) Descriptor

func (*Bootstrap) Descriptor() ([]byte, []int)

func (*Bootstrap) GetAdmin

func (m *Bootstrap) GetAdmin() *Admin

func (*Bootstrap) GetClusterManager

func (m *Bootstrap) GetClusterManager() *ClusterManager

func (*Bootstrap) GetDynamicResources

func (m *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources

func (*Bootstrap) GetEnableDispatcherStats

func (m *Bootstrap) GetEnableDispatcherStats() bool

func (*Bootstrap) GetFlagsPath

func (m *Bootstrap) GetFlagsPath() string

func (*Bootstrap) GetHdsConfig

func (m *Bootstrap) GetHdsConfig() *core.ApiConfigSource

func (*Bootstrap) GetHeaderPrefix

func (m *Bootstrap) GetHeaderPrefix() string

func (*Bootstrap) GetLayeredRuntime

func (m *Bootstrap) GetLayeredRuntime() *LayeredRuntime

func (*Bootstrap) GetNode

func (m *Bootstrap) GetNode() *core.Node

func (*Bootstrap) GetOverloadManager

func (m *Bootstrap) GetOverloadManager() *v3alpha2.OverloadManager

func (*Bootstrap) GetStaticResources

func (m *Bootstrap) GetStaticResources() *Bootstrap_StaticResources

func (*Bootstrap) GetStatsConfig

func (m *Bootstrap) GetStatsConfig() *v3alpha.StatsConfig

func (*Bootstrap) GetStatsFlushInterval

func (m *Bootstrap) GetStatsFlushInterval() *types.Duration

func (*Bootstrap) GetStatsServerVersionOverride

func (m *Bootstrap) GetStatsServerVersionOverride() *types.UInt64Value

func (*Bootstrap) GetStatsSinks

func (m *Bootstrap) GetStatsSinks() []*v3alpha.StatsSink

func (*Bootstrap) GetTracing

func (m *Bootstrap) GetTracing() *v3alpha1.Tracing

func (*Bootstrap) GetWatchdog

func (m *Bootstrap) GetWatchdog() *Watchdog

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) Reset

func (m *Bootstrap) Reset()

func (*Bootstrap) String

func (m *Bootstrap) String() string

func (*Bootstrap) XXX_DiscardUnknown

func (m *Bootstrap) XXX_DiscardUnknown()

func (*Bootstrap) XXX_Marshal

func (m *Bootstrap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bootstrap) XXX_Merge

func (m *Bootstrap) XXX_Merge(src proto.Message)

func (*Bootstrap) XXX_Size

func (m *Bootstrap) XXX_Size() int

func (*Bootstrap) XXX_Unmarshal

func (m *Bootstrap) XXX_Unmarshal(b []byte) error

type Bootstrap_DynamicResources

type Bootstrap_DynamicResources struct {
	// All :ref:`Listeners <envoy_api_msg_api.v3alpha.Listener>` are provided by a single
	// :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
	LdsConfig *core.ConfigSource `protobuf:"bytes,1,opt,name=lds_config,json=ldsConfig,proto3" json:"lds_config,omitempty"`
	// All post-bootstrap :ref:`Cluster <envoy_api_msg_api.v3alpha.Cluster>` definitions are
	// provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
	// configuration source.
	CdsConfig *core.ConfigSource `protobuf:"bytes,2,opt,name=cds_config,json=cdsConfig,proto3" json:"cds_config,omitempty"`
	// A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
	// specified. This must have :ref:`api_type
	// <envoy_api_field_api.v3alpha.core.ApiConfigSource.api_type>` :ref:`GRPC
	// <envoy_api_enum_value_api.v3alpha.core.ApiConfigSource.ApiType.GRPC>`. Only
	// :ref:`ConfigSources <envoy_api_msg_api.v3alpha.core.ConfigSource>` that have
	// the :ref:`ads <envoy_api_field_api.v3alpha.core.ConfigSource.ads>` field set will be
	// streamed on the ADS channel.
	AdsConfig            *core.ApiConfigSource `protobuf:"bytes,3,opt,name=ads_config,json=adsConfig,proto3" json:"ads_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Bootstrap_DynamicResources) Descriptor

func (*Bootstrap_DynamicResources) Descriptor() ([]byte, []int)

func (*Bootstrap_DynamicResources) GetAdsConfig

func (m *Bootstrap_DynamicResources) GetAdsConfig() *core.ApiConfigSource

func (*Bootstrap_DynamicResources) GetCdsConfig

func (m *Bootstrap_DynamicResources) GetCdsConfig() *core.ConfigSource

func (*Bootstrap_DynamicResources) GetLdsConfig

func (m *Bootstrap_DynamicResources) GetLdsConfig() *core.ConfigSource

func (*Bootstrap_DynamicResources) ProtoMessage

func (*Bootstrap_DynamicResources) ProtoMessage()

func (*Bootstrap_DynamicResources) Reset

func (m *Bootstrap_DynamicResources) Reset()

func (*Bootstrap_DynamicResources) String

func (m *Bootstrap_DynamicResources) String() string

func (*Bootstrap_DynamicResources) XXX_DiscardUnknown

func (m *Bootstrap_DynamicResources) XXX_DiscardUnknown()

func (*Bootstrap_DynamicResources) XXX_Marshal

func (m *Bootstrap_DynamicResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bootstrap_DynamicResources) XXX_Merge

func (m *Bootstrap_DynamicResources) XXX_Merge(src proto.Message)

func (*Bootstrap_DynamicResources) XXX_Size

func (m *Bootstrap_DynamicResources) XXX_Size() int

func (*Bootstrap_DynamicResources) XXX_Unmarshal

func (m *Bootstrap_DynamicResources) XXX_Unmarshal(b []byte) error

type Bootstrap_StaticResources

type Bootstrap_StaticResources struct {
	// Static :ref:`Listeners <envoy_api_msg_api.v3alpha.Listener>`. These listeners are
	// available regardless of LDS configuration.
	Listeners []*v3alpha3.Listener `protobuf:"bytes,1,rep,name=listeners,proto3" json:"listeners,omitempty"`
	// If a network based configuration source is specified for :ref:`cds_config
	// <envoy_api_field_config.bootstrap.v3alpha.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 []*v3alpha3.Cluster `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// These static secrets can be used by :ref:`SdsSecretConfig
	// <envoy_api_msg_api.v3alpha.auth.SdsSecretConfig>`
	Secrets              []*auth.Secret `protobuf:"bytes,3,rep,name=secrets,proto3" json:"secrets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Bootstrap_StaticResources) Descriptor

func (*Bootstrap_StaticResources) Descriptor() ([]byte, []int)

func (*Bootstrap_StaticResources) GetClusters

func (m *Bootstrap_StaticResources) GetClusters() []*v3alpha3.Cluster

func (*Bootstrap_StaticResources) GetListeners

func (m *Bootstrap_StaticResources) GetListeners() []*v3alpha3.Listener

func (*Bootstrap_StaticResources) GetSecrets

func (m *Bootstrap_StaticResources) GetSecrets() []*auth.Secret

func (*Bootstrap_StaticResources) ProtoMessage

func (*Bootstrap_StaticResources) ProtoMessage()

func (*Bootstrap_StaticResources) Reset

func (m *Bootstrap_StaticResources) Reset()

func (*Bootstrap_StaticResources) String

func (m *Bootstrap_StaticResources) String() string

func (*Bootstrap_StaticResources) XXX_DiscardUnknown

func (m *Bootstrap_StaticResources) XXX_DiscardUnknown()

func (*Bootstrap_StaticResources) XXX_Marshal

func (m *Bootstrap_StaticResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bootstrap_StaticResources) XXX_Merge

func (m *Bootstrap_StaticResources) XXX_Merge(src proto.Message)

func (*Bootstrap_StaticResources) XXX_Size

func (m *Bootstrap_StaticResources) XXX_Size() int

func (*Bootstrap_StaticResources) XXX_Unmarshal

func (m *Bootstrap_StaticResources) XXX_Unmarshal(b []byte) error

type ClusterManager

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

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

func (*ClusterManager) Descriptor

func (*ClusterManager) Descriptor() ([]byte, []int)

func (*ClusterManager) GetLoadStatsConfig

func (m *ClusterManager) GetLoadStatsConfig() *core.ApiConfigSource

func (*ClusterManager) GetLocalClusterName

func (m *ClusterManager) GetLocalClusterName() string

func (*ClusterManager) GetOutlierDetection

func (m *ClusterManager) GetOutlierDetection() *ClusterManager_OutlierDetection

func (*ClusterManager) GetUpstreamBindConfig

func (m *ClusterManager) GetUpstreamBindConfig() *core.BindConfig

func (*ClusterManager) ProtoMessage

func (*ClusterManager) ProtoMessage()

func (*ClusterManager) Reset

func (m *ClusterManager) Reset()

func (*ClusterManager) String

func (m *ClusterManager) String() string

func (*ClusterManager) XXX_DiscardUnknown

func (m *ClusterManager) XXX_DiscardUnknown()

func (*ClusterManager) XXX_Marshal

func (m *ClusterManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterManager) XXX_Merge

func (m *ClusterManager) XXX_Merge(src proto.Message)

func (*ClusterManager) XXX_Size

func (m *ClusterManager) XXX_Size() int

func (*ClusterManager) XXX_Unmarshal

func (m *ClusterManager) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClusterManager_OutlierDetection) Descriptor

func (*ClusterManager_OutlierDetection) Descriptor() ([]byte, []int)

func (*ClusterManager_OutlierDetection) GetEventLogPath

func (m *ClusterManager_OutlierDetection) GetEventLogPath() string

func (*ClusterManager_OutlierDetection) ProtoMessage

func (*ClusterManager_OutlierDetection) ProtoMessage()

func (*ClusterManager_OutlierDetection) Reset

func (*ClusterManager_OutlierDetection) String

func (*ClusterManager_OutlierDetection) XXX_DiscardUnknown

func (m *ClusterManager_OutlierDetection) XXX_DiscardUnknown()

func (*ClusterManager_OutlierDetection) XXX_Marshal

func (m *ClusterManager_OutlierDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterManager_OutlierDetection) XXX_Merge

func (m *ClusterManager_OutlierDetection) XXX_Merge(src proto.Message)

func (*ClusterManager_OutlierDetection) XXX_Size

func (m *ClusterManager_OutlierDetection) XXX_Size() int

func (*ClusterManager_OutlierDetection) XXX_Unmarshal

func (m *ClusterManager_OutlierDetection) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

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

func (*LayeredRuntime) Descriptor

func (*LayeredRuntime) Descriptor() ([]byte, []int)

func (*LayeredRuntime) GetLayers

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

func (*LayeredRuntime) ProtoMessage

func (*LayeredRuntime) ProtoMessage()

func (*LayeredRuntime) Reset

func (m *LayeredRuntime) Reset()

func (*LayeredRuntime) String

func (m *LayeredRuntime) String() string

func (*LayeredRuntime) XXX_DiscardUnknown

func (m *LayeredRuntime) XXX_DiscardUnknown()

func (*LayeredRuntime) XXX_Marshal

func (m *LayeredRuntime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LayeredRuntime) XXX_Merge

func (m *LayeredRuntime) XXX_Merge(src proto.Message)

func (*LayeredRuntime) XXX_Size

func (m *LayeredRuntime) XXX_Size() int

func (*LayeredRuntime) XXX_Unmarshal

func (m *LayeredRuntime) XXX_Unmarshal(b []byte) error

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                 *types.Struct `protobuf:"bytes,4,opt,name=base,proto3" json:"base,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*Runtime) Descriptor

func (*Runtime) Descriptor() ([]byte, []int)

func (*Runtime) GetBase

func (m *Runtime) GetBase() *types.Struct

func (*Runtime) GetOverrideSubdirectory

func (m *Runtime) GetOverrideSubdirectory() string

func (*Runtime) GetSubdirectory

func (m *Runtime) GetSubdirectory() string

func (*Runtime) GetSymlinkRoot

func (m *Runtime) GetSymlinkRoot() string

func (*Runtime) ProtoMessage

func (*Runtime) ProtoMessage()

func (*Runtime) Reset

func (m *Runtime) Reset()

func (*Runtime) String

func (m *Runtime) String() string

func (*Runtime) XXX_DiscardUnknown

func (m *Runtime) XXX_DiscardUnknown()

func (*Runtime) XXX_Marshal

func (m *Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Runtime) XXX_Merge

func (m *Runtime) XXX_Merge(src proto.Message)

func (*Runtime) XXX_Size

func (m *Runtime) XXX_Size() int

func (*Runtime) XXX_Unmarshal

func (m *Runtime) XXX_Unmarshal(b []byte) error

type RuntimeLayer

type RuntimeLayer struct {
	// Descriptive name for the runtime layer. This is only used for the runtime
	// :http:get:`/runtime` output.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to LayerSpecifier:
	//	*RuntimeLayer_StaticLayer
	//	*RuntimeLayer_DiskLayer_
	//	*RuntimeLayer_AdminLayer_
	//	*RuntimeLayer_RtdsLayer_
	LayerSpecifier       isRuntimeLayer_LayerSpecifier `protobuf_oneof:"layer_specifier"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

[#next-free-field: 6]

func (*RuntimeLayer) Descriptor

func (*RuntimeLayer) Descriptor() ([]byte, []int)

func (*RuntimeLayer) GetAdminLayer

func (m *RuntimeLayer) GetAdminLayer() *RuntimeLayer_AdminLayer

func (*RuntimeLayer) GetDiskLayer

func (m *RuntimeLayer) GetDiskLayer() *RuntimeLayer_DiskLayer

func (*RuntimeLayer) GetLayerSpecifier

func (m *RuntimeLayer) GetLayerSpecifier() isRuntimeLayer_LayerSpecifier

func (*RuntimeLayer) GetName

func (m *RuntimeLayer) GetName() string

func (*RuntimeLayer) GetRtdsLayer

func (m *RuntimeLayer) GetRtdsLayer() *RuntimeLayer_RtdsLayer

func (*RuntimeLayer) GetStaticLayer

func (m *RuntimeLayer) GetStaticLayer() *types.Struct

func (*RuntimeLayer) ProtoMessage

func (*RuntimeLayer) ProtoMessage()

func (*RuntimeLayer) Reset

func (m *RuntimeLayer) Reset()

func (*RuntimeLayer) String

func (m *RuntimeLayer) String() string

func (*RuntimeLayer) XXX_DiscardUnknown

func (m *RuntimeLayer) XXX_DiscardUnknown()

func (*RuntimeLayer) XXX_Marshal

func (m *RuntimeLayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeLayer) XXX_Merge

func (m *RuntimeLayer) XXX_Merge(src proto.Message)

func (*RuntimeLayer) XXX_OneofWrappers

func (*RuntimeLayer) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RuntimeLayer) XXX_Size

func (m *RuntimeLayer) XXX_Size() int

func (*RuntimeLayer) XXX_Unmarshal

func (m *RuntimeLayer) XXX_Unmarshal(b []byte) error

type RuntimeLayer_AdminLayer

type RuntimeLayer_AdminLayer struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*RuntimeLayer_AdminLayer) Descriptor

func (*RuntimeLayer_AdminLayer) Descriptor() ([]byte, []int)

func (*RuntimeLayer_AdminLayer) ProtoMessage

func (*RuntimeLayer_AdminLayer) ProtoMessage()

func (*RuntimeLayer_AdminLayer) Reset

func (m *RuntimeLayer_AdminLayer) Reset()

func (*RuntimeLayer_AdminLayer) String

func (m *RuntimeLayer_AdminLayer) String() string

func (*RuntimeLayer_AdminLayer) XXX_DiscardUnknown

func (m *RuntimeLayer_AdminLayer) XXX_DiscardUnknown()

func (*RuntimeLayer_AdminLayer) XXX_Marshal

func (m *RuntimeLayer_AdminLayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeLayer_AdminLayer) XXX_Merge

func (m *RuntimeLayer_AdminLayer) XXX_Merge(src proto.Message)

func (*RuntimeLayer_AdminLayer) XXX_Size

func (m *RuntimeLayer_AdminLayer) XXX_Size() int

func (*RuntimeLayer_AdminLayer) XXX_Unmarshal

func (m *RuntimeLayer_AdminLayer) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*RuntimeLayer_DiskLayer) Descriptor

func (*RuntimeLayer_DiskLayer) Descriptor() ([]byte, []int)

func (*RuntimeLayer_DiskLayer) GetAppendServiceCluster

func (m *RuntimeLayer_DiskLayer) GetAppendServiceCluster() bool

func (*RuntimeLayer_DiskLayer) GetSubdirectory

func (m *RuntimeLayer_DiskLayer) GetSubdirectory() string

func (*RuntimeLayer_DiskLayer) GetSymlinkRoot

func (m *RuntimeLayer_DiskLayer) GetSymlinkRoot() string

func (*RuntimeLayer_DiskLayer) ProtoMessage

func (*RuntimeLayer_DiskLayer) ProtoMessage()

func (*RuntimeLayer_DiskLayer) Reset

func (m *RuntimeLayer_DiskLayer) Reset()

func (*RuntimeLayer_DiskLayer) String

func (m *RuntimeLayer_DiskLayer) String() string

func (*RuntimeLayer_DiskLayer) XXX_DiscardUnknown

func (m *RuntimeLayer_DiskLayer) XXX_DiscardUnknown()

func (*RuntimeLayer_DiskLayer) XXX_Marshal

func (m *RuntimeLayer_DiskLayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeLayer_DiskLayer) XXX_Merge

func (m *RuntimeLayer_DiskLayer) XXX_Merge(src proto.Message)

func (*RuntimeLayer_DiskLayer) XXX_Size

func (m *RuntimeLayer_DiskLayer) XXX_Size() int

func (*RuntimeLayer_DiskLayer) XXX_Unmarshal

func (m *RuntimeLayer_DiskLayer) XXX_Unmarshal(b []byte) error

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           *core.ConfigSource `protobuf:"bytes,2,opt,name=rtds_config,json=rtdsConfig,proto3" json:"rtds_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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

func (*RuntimeLayer_RtdsLayer) Descriptor

func (*RuntimeLayer_RtdsLayer) Descriptor() ([]byte, []int)

func (*RuntimeLayer_RtdsLayer) GetName

func (m *RuntimeLayer_RtdsLayer) GetName() string

func (*RuntimeLayer_RtdsLayer) GetRtdsConfig

func (m *RuntimeLayer_RtdsLayer) GetRtdsConfig() *core.ConfigSource

func (*RuntimeLayer_RtdsLayer) ProtoMessage

func (*RuntimeLayer_RtdsLayer) ProtoMessage()

func (*RuntimeLayer_RtdsLayer) Reset

func (m *RuntimeLayer_RtdsLayer) Reset()

func (*RuntimeLayer_RtdsLayer) String

func (m *RuntimeLayer_RtdsLayer) String() string

func (*RuntimeLayer_RtdsLayer) XXX_DiscardUnknown

func (m *RuntimeLayer_RtdsLayer) XXX_DiscardUnknown()

func (*RuntimeLayer_RtdsLayer) XXX_Marshal

func (m *RuntimeLayer_RtdsLayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeLayer_RtdsLayer) XXX_Merge

func (m *RuntimeLayer_RtdsLayer) XXX_Merge(src proto.Message)

func (*RuntimeLayer_RtdsLayer) XXX_Size

func (m *RuntimeLayer_RtdsLayer) XXX_Size() int

func (*RuntimeLayer_RtdsLayer) XXX_Unmarshal

func (m *RuntimeLayer_RtdsLayer) XXX_Unmarshal(b []byte) error

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 {
	StaticLayer *types.Struct `protobuf:"bytes,2,opt,name=static_layer,json=staticLayer,proto3,oneof"`
}

type Watchdog

type Watchdog struct {
	// The duration after which Envoy counts a nonresponsive thread in the
	// *watchdog_miss* statistic. If not specified the default is 200ms.
	MissTimeout *types.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 *types.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 *types.Duration `protobuf:"bytes,3,opt,name=kill_timeout,json=killTimeout,proto3" json:"kill_timeout,omitempty"`
	// If at least two watched threads have been nonresponsive for at least this
	// duration assume a true deadlock and kill the entire Envoy process. Set to 0
	// to disable this behavior. If not specified the default is 0 (disabled).
	MultikillTimeout     *types.Duration `protobuf:"bytes,4,opt,name=multikill_timeout,json=multikillTimeout,proto3" json:"multikill_timeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Envoy process watchdog configuration. When configured, this monitors for nonresponsive threads and kills the process after the configured thresholds. See the :ref:`watchdog documentation <operations_performance_watchdog>` for more information.

func (*Watchdog) Descriptor

func (*Watchdog) Descriptor() ([]byte, []int)

func (*Watchdog) GetKillTimeout

func (m *Watchdog) GetKillTimeout() *types.Duration

func (*Watchdog) GetMegamissTimeout

func (m *Watchdog) GetMegamissTimeout() *types.Duration

func (*Watchdog) GetMissTimeout

func (m *Watchdog) GetMissTimeout() *types.Duration

func (*Watchdog) GetMultikillTimeout

func (m *Watchdog) GetMultikillTimeout() *types.Duration

func (*Watchdog) ProtoMessage

func (*Watchdog) ProtoMessage()

func (*Watchdog) Reset

func (m *Watchdog) Reset()

func (*Watchdog) String

func (m *Watchdog) String() string

func (*Watchdog) XXX_DiscardUnknown

func (m *Watchdog) XXX_DiscardUnknown()

func (*Watchdog) XXX_Marshal

func (m *Watchdog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Watchdog) XXX_Merge

func (m *Watchdog) XXX_Merge(src proto.Message)

func (*Watchdog) XXX_Size

func (m *Watchdog) XXX_Size() int

func (*Watchdog) XXX_Unmarshal

func (m *Watchdog) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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