Documentation
¶
Index ¶
- Variables
- type Admin
- func (*Admin) Descriptor() ([]byte, []int)
- func (m *Admin) GetAccessLogPath() string
- func (m *Admin) GetAddress() *core.Address
- func (m *Admin) GetProfilePath() string
- func (m *Admin) Marshal() (dAtA []byte, err error)
- func (m *Admin) MarshalTo(dAtA []byte) (int, error)
- func (*Admin) ProtoMessage()
- func (m *Admin) Reset()
- func (m *Admin) Size() (n int)
- func (m *Admin) String() string
- func (m *Admin) Unmarshal(dAtA []byte) error
- func (m *Admin) Validate() error
- func (m *Admin) XXX_DiscardUnknown()
- func (m *Admin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Admin) XXX_Merge(src proto.Message)
- func (m *Admin) XXX_Size() int
- func (m *Admin) XXX_Unmarshal(b []byte) error
- type AdminValidationError
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)
- func (m *Bootstrap) GetAdmin() *Admin
- func (m *Bootstrap) GetClusterManager() *ClusterManager
- func (m *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources
- func (m *Bootstrap) GetFlagsPath() string
- func (m *Bootstrap) GetHdsConfig() *core.ApiConfigSource
- func (m *Bootstrap) GetNode() *core.Node
- func (m *Bootstrap) GetOverloadManager() *v2alpha.OverloadManager
- func (m *Bootstrap) GetRuntime() *Runtime
- func (m *Bootstrap) GetStaticResources() *Bootstrap_StaticResources
- func (m *Bootstrap) GetStatsConfig() *v2.StatsConfig
- func (m *Bootstrap) GetStatsFlushInterval() *time.Duration
- func (m *Bootstrap) GetStatsSinks() []*v2.StatsSink
- func (m *Bootstrap) GetTracing() *v21.Tracing
- func (m *Bootstrap) GetWatchdog() *Watchdog
- func (m *Bootstrap) Marshal() (dAtA []byte, err error)
- func (m *Bootstrap) MarshalTo(dAtA []byte) (int, error)
- func (*Bootstrap) ProtoMessage()
- func (m *Bootstrap) Reset()
- func (m *Bootstrap) Size() (n int)
- func (m *Bootstrap) String() string
- func (m *Bootstrap) Unmarshal(dAtA []byte) error
- func (m *Bootstrap) Validate() error
- func (m *Bootstrap) XXX_DiscardUnknown()
- func (m *Bootstrap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bootstrap) XXX_Merge(src proto.Message)
- func (m *Bootstrap) XXX_Size() int
- func (m *Bootstrap) XXX_Unmarshal(b []byte) error
- type BootstrapValidationError
- type Bootstrap_DynamicResources
- func (*Bootstrap_DynamicResources) Descriptor() ([]byte, []int)
- func (m *Bootstrap_DynamicResources) GetAdsConfig() *core.ApiConfigSource
- func (m *Bootstrap_DynamicResources) GetCdsConfig() *core.ConfigSource
- func (m *Bootstrap_DynamicResources) GetLdsConfig() *core.ConfigSource
- func (m *Bootstrap_DynamicResources) Marshal() (dAtA []byte, err error)
- func (m *Bootstrap_DynamicResources) MarshalTo(dAtA []byte) (int, error)
- func (*Bootstrap_DynamicResources) ProtoMessage()
- func (m *Bootstrap_DynamicResources) Reset()
- func (m *Bootstrap_DynamicResources) Size() (n int)
- func (m *Bootstrap_DynamicResources) String() string
- func (m *Bootstrap_DynamicResources) Unmarshal(dAtA []byte) error
- func (m *Bootstrap_DynamicResources) Validate() error
- func (m *Bootstrap_DynamicResources) XXX_DiscardUnknown()
- func (m *Bootstrap_DynamicResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bootstrap_DynamicResources) XXX_Merge(src proto.Message)
- func (m *Bootstrap_DynamicResources) XXX_Size() int
- func (m *Bootstrap_DynamicResources) XXX_Unmarshal(b []byte) error
- 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)
- func (m *Bootstrap_StaticResources) GetClusters() []v22.Cluster
- func (m *Bootstrap_StaticResources) GetListeners() []v22.Listener
- func (m *Bootstrap_StaticResources) GetSecrets() []auth.Secret
- func (m *Bootstrap_StaticResources) Marshal() (dAtA []byte, err error)
- func (m *Bootstrap_StaticResources) MarshalTo(dAtA []byte) (int, error)
- func (*Bootstrap_StaticResources) ProtoMessage()
- func (m *Bootstrap_StaticResources) Reset()
- func (m *Bootstrap_StaticResources) Size() (n int)
- func (m *Bootstrap_StaticResources) String() string
- func (m *Bootstrap_StaticResources) Unmarshal(dAtA []byte) error
- func (m *Bootstrap_StaticResources) Validate() error
- func (m *Bootstrap_StaticResources) XXX_DiscardUnknown()
- func (m *Bootstrap_StaticResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bootstrap_StaticResources) XXX_Merge(src proto.Message)
- func (m *Bootstrap_StaticResources) XXX_Size() int
- func (m *Bootstrap_StaticResources) XXX_Unmarshal(b []byte) error
- 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 ClusterManager
- func (*ClusterManager) Descriptor() ([]byte, []int)
- func (m *ClusterManager) GetLoadStatsConfig() *core.ApiConfigSource
- func (m *ClusterManager) GetLocalClusterName() string
- func (m *ClusterManager) GetOutlierDetection() *ClusterManager_OutlierDetection
- func (m *ClusterManager) GetUpstreamBindConfig() *core.BindConfig
- func (m *ClusterManager) Marshal() (dAtA []byte, err error)
- func (m *ClusterManager) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterManager) ProtoMessage()
- func (m *ClusterManager) Reset()
- func (m *ClusterManager) Size() (n int)
- func (m *ClusterManager) String() string
- func (m *ClusterManager) Unmarshal(dAtA []byte) error
- func (m *ClusterManager) Validate() error
- func (m *ClusterManager) XXX_DiscardUnknown()
- func (m *ClusterManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterManager) XXX_Merge(src proto.Message)
- func (m *ClusterManager) XXX_Size() int
- func (m *ClusterManager) XXX_Unmarshal(b []byte) error
- 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)
- func (m *ClusterManager_OutlierDetection) GetEventLogPath() string
- func (m *ClusterManager_OutlierDetection) Marshal() (dAtA []byte, err error)
- func (m *ClusterManager_OutlierDetection) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterManager_OutlierDetection) ProtoMessage()
- func (m *ClusterManager_OutlierDetection) Reset()
- func (m *ClusterManager_OutlierDetection) Size() (n int)
- func (m *ClusterManager_OutlierDetection) String() string
- func (m *ClusterManager_OutlierDetection) Unmarshal(dAtA []byte) error
- func (m *ClusterManager_OutlierDetection) Validate() error
- func (m *ClusterManager_OutlierDetection) XXX_DiscardUnknown()
- func (m *ClusterManager_OutlierDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterManager_OutlierDetection) XXX_Merge(src proto.Message)
- func (m *ClusterManager_OutlierDetection) XXX_Size() int
- func (m *ClusterManager_OutlierDetection) XXX_Unmarshal(b []byte) error
- 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 Runtime
- func (*Runtime) Descriptor() ([]byte, []int)
- func (m *Runtime) GetOverrideSubdirectory() string
- func (m *Runtime) GetSubdirectory() string
- func (m *Runtime) GetSymlinkRoot() string
- func (m *Runtime) Marshal() (dAtA []byte, err error)
- func (m *Runtime) MarshalTo(dAtA []byte) (int, error)
- func (*Runtime) ProtoMessage()
- func (m *Runtime) Reset()
- func (m *Runtime) Size() (n int)
- func (m *Runtime) String() string
- func (m *Runtime) Unmarshal(dAtA []byte) error
- func (m *Runtime) Validate() error
- func (m *Runtime) XXX_DiscardUnknown()
- func (m *Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Runtime) XXX_Merge(src proto.Message)
- func (m *Runtime) XXX_Size() int
- func (m *Runtime) XXX_Unmarshal(b []byte) error
- type RuntimeValidationError
- type Watchdog
- func (*Watchdog) Descriptor() ([]byte, []int)
- func (m *Watchdog) GetKillTimeout() *types.Duration
- func (m *Watchdog) GetMegamissTimeout() *types.Duration
- func (m *Watchdog) GetMissTimeout() *types.Duration
- func (m *Watchdog) GetMultikillTimeout() *types.Duration
- func (m *Watchdog) Marshal() (dAtA []byte, err error)
- func (m *Watchdog) MarshalTo(dAtA []byte) (int, error)
- func (*Watchdog) ProtoMessage()
- func (m *Watchdog) Reset()
- func (m *Watchdog) Size() (n int)
- func (m *Watchdog) String() string
- func (m *Watchdog) Unmarshal(dAtA []byte) error
- func (m *Watchdog) Validate() error
- func (m *Watchdog) XXX_DiscardUnknown()
- func (m *Watchdog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Watchdog) XXX_Merge(src proto.Message)
- func (m *Watchdog) XXX_Size() int
- func (m *Watchdog) XXX_Unmarshal(b []byte) error
- type WatchdogValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthBootstrap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBootstrap = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct {
// The path to write the access log for the administration server. If no
// access log is desired specify ‘/dev/null’. This is only required if
// :ref:`address <envoy_api_field_config.bootstrap.v2.Admin.address>` is set.
AccessLogPath string `protobuf:"bytes,1,opt,name=access_log_path,json=accessLogPath,proto3" json:"access_log_path,omitempty"`
// The cpu profiler output path for the administration server. If no profile
// path is specified, the default is ‘/var/log/envoy/envoy.prof’.
ProfilePath string `protobuf:"bytes,2,opt,name=profile_path,json=profilePath,proto3" json:"profile_path,omitempty"`
// The TCP address that the administration server will listen on.
// If not specified, Envoy will not start an administration server.
Address *core.Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
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) GetAccessLogPath ¶
func (*Admin) GetAddress ¶
func (*Admin) GetProfilePath ¶
func (*Admin) ProtoMessage ¶
func (*Admin) ProtoMessage()
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, an error is returned.
func (*Admin) XXX_DiscardUnknown ¶
func (m *Admin) XXX_DiscardUnknown()
func (*Admin) XXX_Marshal ¶
func (*Admin) XXX_Unmarshal ¶
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 ¶ added in v0.7.0
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 *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
// Statically specified resources.
StaticResources *Bootstrap_StaticResources `protobuf:"bytes,2,opt,name=static_resources,json=staticResources,proto3" json:"static_resources,omitempty"`
// xDS configuration sources.
DynamicResources *Bootstrap_DynamicResources `protobuf:"bytes,3,opt,name=dynamic_resources,json=dynamicResources,proto3" json:"dynamic_resources,omitempty"`
// Configuration for the cluster manager which owns all upstream clusters
// within the server.
ClusterManager *ClusterManager `protobuf:"bytes,4,opt,name=cluster_manager,json=clusterManager,proto3" json:"cluster_manager,omitempty"`
// Health discovery service config option.
// (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
HdsConfig *core.ApiConfigSource `protobuf:"bytes,14,opt,name=hds_config,json=hdsConfig,proto3" json:"hds_config,omitempty"`
// Optional file system path to search for startup flag files.
FlagsPath string `protobuf:"bytes,5,opt,name=flags_path,json=flagsPath,proto3" json:"flags_path,omitempty"`
// Optional set of stats sinks.
StatsSinks []*v2.StatsSink `protobuf:"bytes,6,rep,name=stats_sinks,json=statsSinks,proto3" json:"stats_sinks,omitempty"`
// Configuration for internal processing of stats.
StatsConfig *v2.StatsConfig `protobuf:"bytes,13,opt,name=stats_config,json=statsConfig,proto3" json:"stats_config,omitempty"`
// Optional duration between flushes to configured stats sinks. For
// performance reasons Envoy latches counters and only flushes counters and
// gauges at a periodic interval. If not specified the default is 5000ms (5
// seconds).
StatsFlushInterval *time.Duration `` /* 129-byte string literal not displayed */
// 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 *v21.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.
Runtime *Runtime `protobuf:"bytes,11,opt,name=runtime,proto3" json:"runtime,omitempty"`
// Configuration for the local administration HTTP server.
Admin *Admin `protobuf:"bytes,12,opt,name=admin,proto3" json:"admin,omitempty"`
// Optional overload manager configuration.
OverloadManager *v2alpha.OverloadManager `protobuf:"bytes,15,opt,name=overload_manager,json=overloadManager,proto3" json:"overload_manager,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Bootstrap :ref:`configuration overview <config_overview_v2_bootstrap>`.
func (*Bootstrap) Descriptor ¶
func (*Bootstrap) GetClusterManager ¶
func (m *Bootstrap) GetClusterManager() *ClusterManager
func (*Bootstrap) GetDynamicResources ¶
func (m *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources
func (*Bootstrap) GetFlagsPath ¶
func (*Bootstrap) GetHdsConfig ¶
func (m *Bootstrap) GetHdsConfig() *core.ApiConfigSource
func (*Bootstrap) GetOverloadManager ¶
func (m *Bootstrap) GetOverloadManager() *v2alpha.OverloadManager
func (*Bootstrap) GetRuntime ¶
func (*Bootstrap) GetStaticResources ¶
func (m *Bootstrap) GetStaticResources() *Bootstrap_StaticResources
func (*Bootstrap) GetStatsConfig ¶
func (m *Bootstrap) GetStatsConfig() *v2.StatsConfig
func (*Bootstrap) GetStatsFlushInterval ¶
func (*Bootstrap) GetStatsSinks ¶
func (*Bootstrap) GetTracing ¶
func (*Bootstrap) GetWatchdog ¶
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
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, an error is returned.
func (*Bootstrap) XXX_DiscardUnknown ¶
func (m *Bootstrap) XXX_DiscardUnknown()
func (*Bootstrap) XXX_Marshal ¶
func (*Bootstrap) XXX_Unmarshal ¶
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 ¶ added in v0.7.0
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_api_msg_Listener>` are provided by a single
// :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
LdsConfig *core.ConfigSource `protobuf:"bytes,1,opt,name=lds_config,json=ldsConfig,proto3" json:"lds_config,omitempty"`
// All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
// provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
// configuration source.
CdsConfig *core.ConfigSource `protobuf:"bytes,2,opt,name=cds_config,json=cdsConfig,proto3" json:"cds_config,omitempty"`
// A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
// specified. This must have :ref:`api_type
// <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
// <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
// :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
// the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
// streamed on the ADS channel.
AdsConfig *core.ApiConfigSource `protobuf:"bytes,3,opt,name=ads_config,json=adsConfig,proto3" json:"ads_config,omitempty"`
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) Marshal ¶
func (m *Bootstrap_DynamicResources) Marshal() (dAtA []byte, err error)
func (*Bootstrap_DynamicResources) MarshalTo ¶
func (m *Bootstrap_DynamicResources) MarshalTo(dAtA []byte) (int, error)
func (*Bootstrap_DynamicResources) ProtoMessage ¶
func (*Bootstrap_DynamicResources) ProtoMessage()
func (*Bootstrap_DynamicResources) Reset ¶
func (m *Bootstrap_DynamicResources) Reset()
func (*Bootstrap_DynamicResources) Size ¶
func (m *Bootstrap_DynamicResources) Size() (n int)
func (*Bootstrap_DynamicResources) String ¶
func (m *Bootstrap_DynamicResources) String() string
func (*Bootstrap_DynamicResources) Unmarshal ¶
func (m *Bootstrap_DynamicResources) Unmarshal(dAtA []byte) error
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, an error is returned.
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_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 ¶ added in v0.7.0
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_api_msg_Listener>`. These listeners are
// available regardless of LDS configuration.
Listeners []v22.Listener `protobuf:"bytes,1,rep,name=listeners,proto3" json:"listeners"`
// If a network based configuration source is specified for :ref:`cds_config
// <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
// to have some initial cluster definitions available to allow Envoy to know
// how to speak to the management server. These cluster definitions may not
// use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
// IP or DNS-based).
Clusters []v22.Cluster `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters"`
// These static secrets can be used by :ref:`SdsSecretConfig
// <envoy_api_msg_auth.SdsSecretConfig>`
Secrets []auth.Secret `protobuf:"bytes,3,rep,name=secrets,proto3" json:"secrets"`
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() []v22.Cluster
func (*Bootstrap_StaticResources) GetListeners ¶
func (m *Bootstrap_StaticResources) GetListeners() []v22.Listener
func (*Bootstrap_StaticResources) GetSecrets ¶
func (m *Bootstrap_StaticResources) GetSecrets() []auth.Secret
func (*Bootstrap_StaticResources) Marshal ¶
func (m *Bootstrap_StaticResources) Marshal() (dAtA []byte, err error)
func (*Bootstrap_StaticResources) MarshalTo ¶
func (m *Bootstrap_StaticResources) MarshalTo(dAtA []byte) (int, error)
func (*Bootstrap_StaticResources) ProtoMessage ¶
func (*Bootstrap_StaticResources) ProtoMessage()
func (*Bootstrap_StaticResources) Reset ¶
func (m *Bootstrap_StaticResources) Reset()
func (*Bootstrap_StaticResources) Size ¶
func (m *Bootstrap_StaticResources) Size() (n int)
func (*Bootstrap_StaticResources) String ¶
func (m *Bootstrap_StaticResources) String() string
func (*Bootstrap_StaticResources) Unmarshal ¶
func (m *Bootstrap_StaticResources) Unmarshal(dAtA []byte) error
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, an error is returned.
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 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 ¶ added in v0.7.0
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 ClusterManager ¶
type ClusterManager struct {
// Name of the local cluster (i.e., the cluster that owns the Envoy running
// this configuration). In order to enable :ref:`zone aware routing
// <arch_overview_load_balancing_zone_aware_routing>` this option must be set.
// If *local_cluster_name* is defined then :ref:`clusters
// <envoy_api_msg_Cluster>` must be defined in the :ref:`Bootstrap
// static cluster resources
// <envoy_api_field_config.bootstrap.v2.Bootstrap.StaticResources.clusters>`. This is unrelated to
// the :option:`--service-cluster` option which does not `affect zone aware
// routing <https://github.com/envoyproxy/envoy/issues/774>`_.
LocalClusterName string `protobuf:"bytes,1,opt,name=local_cluster_name,json=localClusterName,proto3" json:"local_cluster_name,omitempty"`
// Optional global configuration for outlier detection.
OutlierDetection *ClusterManager_OutlierDetection `protobuf:"bytes,2,opt,name=outlier_detection,json=outlierDetection,proto3" json:"outlier_detection,omitempty"`
// Optional configuration used to bind newly established upstream connections.
// This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.
UpstreamBindConfig *core.BindConfig `protobuf:"bytes,3,opt,name=upstream_bind_config,json=upstreamBindConfig,proto3" json:"upstream_bind_config,omitempty"`
// A management server endpoint to stream load stats to via
// *StreamLoadStats*. This must have :ref:`api_type
// <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
// <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`.
LoadStatsConfig *core.ApiConfigSource `protobuf:"bytes,4,opt,name=load_stats_config,json=loadStatsConfig,proto3" json:"load_stats_config,omitempty"`
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) Marshal ¶
func (m *ClusterManager) Marshal() (dAtA []byte, err error)
func (*ClusterManager) ProtoMessage ¶
func (*ClusterManager) ProtoMessage()
func (*ClusterManager) Reset ¶
func (m *ClusterManager) Reset()
func (*ClusterManager) Size ¶
func (m *ClusterManager) Size() (n int)
func (*ClusterManager) String ¶
func (m *ClusterManager) String() string
func (*ClusterManager) Unmarshal ¶
func (m *ClusterManager) Unmarshal(dAtA []byte) error
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, an error is returned.
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 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 ¶ added in v0.7.0
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"`
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) Marshal ¶
func (m *ClusterManager_OutlierDetection) Marshal() (dAtA []byte, err error)
func (*ClusterManager_OutlierDetection) MarshalTo ¶
func (m *ClusterManager_OutlierDetection) MarshalTo(dAtA []byte) (int, error)
func (*ClusterManager_OutlierDetection) ProtoMessage ¶
func (*ClusterManager_OutlierDetection) ProtoMessage()
func (*ClusterManager_OutlierDetection) Reset ¶
func (m *ClusterManager_OutlierDetection) Reset()
func (*ClusterManager_OutlierDetection) Size ¶
func (m *ClusterManager_OutlierDetection) Size() (n int)
func (*ClusterManager_OutlierDetection) String ¶
func (m *ClusterManager_OutlierDetection) String() string
func (*ClusterManager_OutlierDetection) Unmarshal ¶
func (m *ClusterManager_OutlierDetection) Unmarshal(dAtA []byte) error
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, an error is returned.
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 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 ¶ added in v0.7.0
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 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.
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Runtime :ref:`configuration overview <config_runtime>`.
func (*Runtime) Descriptor ¶
func (*Runtime) GetOverrideSubdirectory ¶
func (*Runtime) GetSubdirectory ¶
func (*Runtime) GetSymlinkRoot ¶
func (*Runtime) ProtoMessage ¶
func (*Runtime) ProtoMessage()
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, an error is returned.
func (*Runtime) XXX_DiscardUnknown ¶
func (m *Runtime) XXX_DiscardUnknown()
func (*Runtime) XXX_Marshal ¶
func (*Runtime) XXX_Unmarshal ¶
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 ¶ added in v0.7.0
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 {
// The duration after which Envoy counts a nonresponsive thread in the
// *server.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
// *server.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.
func (*Watchdog) Descriptor ¶
func (*Watchdog) GetKillTimeout ¶
func (*Watchdog) GetMegamissTimeout ¶
func (*Watchdog) GetMissTimeout ¶
func (*Watchdog) GetMultikillTimeout ¶
func (*Watchdog) ProtoMessage ¶
func (*Watchdog) ProtoMessage()
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, an error is returned.
func (*Watchdog) XXX_DiscardUnknown ¶
func (m *Watchdog) XXX_DiscardUnknown()
func (*Watchdog) XXX_Marshal ¶
func (*Watchdog) XXX_Unmarshal ¶
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 ¶ added in v0.7.0
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.