go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v2 Index | Files

package envoy_config_bootstrap_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v2"

Index

Package Files

bootstrap.pb.go bootstrap.pb.validate.go

Variables

var File_envoy_config_bootstrap_v2_bootstrap_proto protoreflect.FileDescriptor

type Admin Uses

type Admin struct {

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

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

func (*Admin) Descriptor Uses

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

Deprecated: Use Admin.ProtoReflect.Descriptor instead.

func (*Admin) GetAccessLogPath Uses

func (x *Admin) GetAccessLogPath() string

func (*Admin) GetAddress Uses

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

func (*Admin) GetProfilePath Uses

func (x *Admin) GetProfilePath() string

func (*Admin) GetSocketOptions Uses

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

func (*Admin) ProtoMessage Uses

func (*Admin) ProtoMessage()

func (*Admin) ProtoReflect Uses

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

func (*Admin) Reset Uses

func (x *Admin) Reset()

func (*Admin) String Uses

func (x *Admin) String() string

func (*Admin) Validate Uses

func (m *Admin) Validate() error

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.

type AdminValidationError Uses

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 Uses

func (e AdminValidationError) Cause() error

Cause function returns cause value.

func (AdminValidationError) Error Uses

func (e AdminValidationError) Error() string

Error satisfies the builtin error interface

func (AdminValidationError) ErrorName Uses

func (e AdminValidationError) ErrorName() string

ErrorName returns error name.

func (AdminValidationError) Field Uses

func (e AdminValidationError) Field() string

Field function returns field value.

func (AdminValidationError) Key Uses

func (e AdminValidationError) Key() bool

Key function returns key value.

func (AdminValidationError) Reason Uses

func (e AdminValidationError) Reason() string

Reason function returns reason value.

type Bootstrap Uses

type Bootstrap struct {

    // Node identity to present to the management server and for instance
    // identification purposes (e.g. in generated headers).
    Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
    // Statically specified resources.
    StaticResources *Bootstrap_StaticResources `protobuf:"bytes,2,opt,name=static_resources,json=staticResources,proto3" json:"static_resources,omitempty"`
    // xDS configuration sources.
    DynamicResources *Bootstrap_DynamicResources `protobuf:"bytes,3,opt,name=dynamic_resources,json=dynamicResources,proto3" json:"dynamic_resources,omitempty"`
    // Configuration for the cluster manager which owns all upstream clusters
    // within the server.
    ClusterManager *ClusterManager `protobuf:"bytes,4,opt,name=cluster_manager,json=clusterManager,proto3" json:"cluster_manager,omitempty"`
    // Health discovery service config option.
    // (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
    HdsConfig *core.ApiConfigSource `protobuf:"bytes,14,opt,name=hds_config,json=hdsConfig,proto3" json:"hds_config,omitempty"`
    // Optional file system path to search for startup flag files.
    FlagsPath string `protobuf:"bytes,5,opt,name=flags_path,json=flagsPath,proto3" json:"flags_path,omitempty"`
    // Optional set of stats sinks.
    StatsSinks []*v2.StatsSink `protobuf:"bytes,6,rep,name=stats_sinks,json=statsSinks,proto3" json:"stats_sinks,omitempty"`
    // Configuration for internal processing of stats.
    StatsConfig *v2.StatsConfig `protobuf:"bytes,13,opt,name=stats_config,json=statsConfig,proto3" json:"stats_config,omitempty"`
    // Optional duration between flushes to configured stats sinks. For
    // performance reasons Envoy latches counters and only flushes counters and
    // gauges at a periodic interval. If not specified the default is 5000ms (5
    // seconds).
    // Duration must be at least 1ms and at most 5 min.
    StatsFlushInterval *duration.Duration `protobuf:"bytes,7,opt,name=stats_flush_interval,json=statsFlushInterval,proto3" json:"stats_flush_interval,omitempty"`
    // Optional watchdog configuration.
    Watchdog *Watchdog `protobuf:"bytes,8,opt,name=watchdog,proto3" json:"watchdog,omitempty"`
    // Configuration for an external tracing provider.
    //
    // .. attention::
    //  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
    //  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
    Tracing *v21.Tracing `protobuf:"bytes,9,opt,name=tracing,proto3" json:"tracing,omitempty"`
    // Configuration for the runtime configuration provider (deprecated). If not
    // specified, a “null” provider will be used which will result in all defaults
    // being used.
    //
    // Deprecated: Do not use.
    Runtime *Runtime `protobuf:"bytes,11,opt,name=runtime,proto3" json:"runtime,omitempty"`
    // Configuration for the runtime configuration provider. If not
    // specified, a “null” provider will be used which will result in all defaults
    // being used.
    LayeredRuntime *LayeredRuntime `protobuf:"bytes,17,opt,name=layered_runtime,json=layeredRuntime,proto3" json:"layered_runtime,omitempty"`
    // Configuration for the local administration HTTP server.
    Admin *Admin `protobuf:"bytes,12,opt,name=admin,proto3" json:"admin,omitempty"`
    // Optional overload manager configuration.
    OverloadManager *v2alpha.OverloadManager `protobuf:"bytes,15,opt,name=overload_manager,json=overloadManager,proto3" json:"overload_manager,omitempty"`
    // Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
    // Note that this records a value for each iteration of the event loop on every thread. This
    // should normally be minimal overhead, but when using
    // :ref:`statsd <envoy_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
    // over the wire individually because the statsd protocol doesn't have any way to represent a
    // histogram summary. Be aware that this can be a very large volume of data.
    EnableDispatcherStats bool `protobuf:"varint,16,opt,name=enable_dispatcher_stats,json=enableDispatcherStats,proto3" json:"enable_dispatcher_stats,omitempty"`
    // Optional string which will be used in lieu of x-envoy in prefixing headers.
    //
    // For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
    // transformed into x-foo-retry-on etc.
    //
    // Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
    // headers Envoy will trust for core code and core extensions only. Be VERY careful making
    // changes to this string, especially in multi-layer Envoy deployments or deployments using
    // extensions which are not upstream.
    HeaderPrefix string `protobuf:"bytes,18,opt,name=header_prefix,json=headerPrefix,proto3" json:"header_prefix,omitempty"`
    // Optional proxy version which will be used to set the value of :ref:`server.version statistic
    // <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
    // :ref:`stats sinks <envoy_api_msg_config.metrics.v2.StatsSink>`.
    StatsServerVersionOverride *wrappers.UInt64Value `protobuf:"bytes,19,opt,name=stats_server_version_override,json=statsServerVersionOverride,proto3" json:"stats_server_version_override,omitempty"`
    // Always use TCP queries instead of UDP queries for DNS lookups.
    // This may be overridden on a per-cluster basis in cds_config,
    // when :ref:`dns_resolvers <envoy_api_field_Cluster.dns_resolvers>` and
    // :ref:`use_tcp_for_dns_lookups <envoy_api_field_Cluster.use_tcp_for_dns_lookups>` are
    // specified.
    // Setting this value causes failure if the
    // ``envoy.restart_features.use_apple_api_for_dns_lookups`` runtime value is true during
    // server startup. Apple' API only uses UDP for DNS resolution.
    UseTcpForDnsLookups bool `protobuf:"varint,20,opt,name=use_tcp_for_dns_lookups,json=useTcpForDnsLookups,proto3" json:"use_tcp_for_dns_lookups,omitempty"`
    // contains filtered or unexported fields
}

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

func (*Bootstrap) Descriptor Uses

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

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetAdmin Uses

func (x *Bootstrap) GetAdmin() *Admin

func (*Bootstrap) GetClusterManager Uses

func (x *Bootstrap) GetClusterManager() *ClusterManager

func (*Bootstrap) GetDynamicResources Uses

func (x *Bootstrap) GetDynamicResources() *Bootstrap_DynamicResources

func (*Bootstrap) GetEnableDispatcherStats Uses

func (x *Bootstrap) GetEnableDispatcherStats() bool

func (*Bootstrap) GetFlagsPath Uses

func (x *Bootstrap) GetFlagsPath() string

func (*Bootstrap) GetHdsConfig Uses

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

func (*Bootstrap) GetHeaderPrefix Uses

func (x *Bootstrap) GetHeaderPrefix() string

func (*Bootstrap) GetLayeredRuntime Uses

func (x *Bootstrap) GetLayeredRuntime() *LayeredRuntime

func (*Bootstrap) GetNode Uses

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

func (*Bootstrap) GetOverloadManager Uses

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

func (*Bootstrap) GetRuntime Uses

func (x *Bootstrap) GetRuntime() *Runtime

Deprecated: Do not use.

func (*Bootstrap) GetStaticResources Uses

func (x *Bootstrap) GetStaticResources() *Bootstrap_StaticResources

func (*Bootstrap) GetStatsConfig Uses

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

func (*Bootstrap) GetStatsFlushInterval Uses

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

func (*Bootstrap) GetStatsServerVersionOverride Uses

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

func (*Bootstrap) GetStatsSinks Uses

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

func (*Bootstrap) GetTracing Uses

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

func (*Bootstrap) GetUseTcpForDnsLookups Uses

func (x *Bootstrap) GetUseTcpForDnsLookups() bool

func (*Bootstrap) GetWatchdog Uses

func (x *Bootstrap) GetWatchdog() *Watchdog

func (*Bootstrap) ProtoMessage Uses

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect Uses

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

func (*Bootstrap) Reset Uses

func (x *Bootstrap) Reset()

func (*Bootstrap) String Uses

func (x *Bootstrap) String() string

func (*Bootstrap) Validate Uses

func (m *Bootstrap) Validate() error

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.

type BootstrapValidationError Uses

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 Uses

func (e BootstrapValidationError) Cause() error

Cause function returns cause value.

func (BootstrapValidationError) Error Uses

func (e BootstrapValidationError) Error() string

Error satisfies the builtin error interface

func (BootstrapValidationError) ErrorName Uses

func (e BootstrapValidationError) ErrorName() string

ErrorName returns error name.

func (BootstrapValidationError) Field Uses

func (e BootstrapValidationError) Field() string

Field function returns field value.

func (BootstrapValidationError) Key Uses

func (e BootstrapValidationError) Key() bool

Key function returns key value.

func (BootstrapValidationError) Reason Uses

func (e BootstrapValidationError) Reason() string

Reason function returns reason value.

type Bootstrap_DynamicResources Uses

type Bootstrap_DynamicResources struct {

    // All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
    // :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
    LdsConfig *core.ConfigSource `protobuf:"bytes,1,opt,name=lds_config,json=ldsConfig,proto3" json:"lds_config,omitempty"`
    // All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
    // provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
    // configuration source.
    CdsConfig *core.ConfigSource `protobuf:"bytes,2,opt,name=cds_config,json=cdsConfig,proto3" json:"cds_config,omitempty"`
    // A single :ref:`ADS <config_overview_ads>` source may be optionally
    // specified. This must have :ref:`api_type
    // <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
    // <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
    // :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
    // the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
    // streamed on the ADS channel.
    AdsConfig *core.ApiConfigSource `protobuf:"bytes,3,opt,name=ads_config,json=adsConfig,proto3" json:"ads_config,omitempty"`
    // contains filtered or unexported fields
}

func (*Bootstrap_DynamicResources) Descriptor Uses

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

Deprecated: Use Bootstrap_DynamicResources.ProtoReflect.Descriptor instead.

func (*Bootstrap_DynamicResources) GetAdsConfig Uses

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

func (*Bootstrap_DynamicResources) GetCdsConfig Uses

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

func (*Bootstrap_DynamicResources) GetLdsConfig Uses

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

func (*Bootstrap_DynamicResources) ProtoMessage Uses

func (*Bootstrap_DynamicResources) ProtoMessage()

func (*Bootstrap_DynamicResources) ProtoReflect Uses

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

func (*Bootstrap_DynamicResources) Reset Uses

func (x *Bootstrap_DynamicResources) Reset()

func (*Bootstrap_DynamicResources) String Uses

func (x *Bootstrap_DynamicResources) String() string

func (*Bootstrap_DynamicResources) Validate Uses

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.

type Bootstrap_DynamicResourcesValidationError Uses

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 Uses

func (e Bootstrap_DynamicResourcesValidationError) Cause() error

Cause function returns cause value.

func (Bootstrap_DynamicResourcesValidationError) Error Uses

func (e Bootstrap_DynamicResourcesValidationError) Error() string

Error satisfies the builtin error interface

func (Bootstrap_DynamicResourcesValidationError) ErrorName Uses

func (e Bootstrap_DynamicResourcesValidationError) ErrorName() string

ErrorName returns error name.

func (Bootstrap_DynamicResourcesValidationError) Field Uses

func (e Bootstrap_DynamicResourcesValidationError) Field() string

Field function returns field value.

func (Bootstrap_DynamicResourcesValidationError) Key Uses

func (e Bootstrap_DynamicResourcesValidationError) Key() bool

Key function returns key value.

func (Bootstrap_DynamicResourcesValidationError) Reason Uses

func (e Bootstrap_DynamicResourcesValidationError) Reason() string

Reason function returns reason value.

type Bootstrap_StaticResources Uses

type Bootstrap_StaticResources struct {

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

func (*Bootstrap_StaticResources) Descriptor Uses

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

Deprecated: Use Bootstrap_StaticResources.ProtoReflect.Descriptor instead.

func (*Bootstrap_StaticResources) GetClusters Uses

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

func (*Bootstrap_StaticResources) GetListeners Uses

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

func (*Bootstrap_StaticResources) GetSecrets Uses

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

func (*Bootstrap_StaticResources) ProtoMessage Uses

func (*Bootstrap_StaticResources) ProtoMessage()

func (*Bootstrap_StaticResources) ProtoReflect Uses

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

func (*Bootstrap_StaticResources) Reset Uses

func (x *Bootstrap_StaticResources) Reset()

func (*Bootstrap_StaticResources) String Uses

func (x *Bootstrap_StaticResources) String() string

func (*Bootstrap_StaticResources) Validate Uses

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.

type Bootstrap_StaticResourcesValidationError Uses

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 Uses

func (e Bootstrap_StaticResourcesValidationError) Cause() error

Cause function returns cause value.

func (Bootstrap_StaticResourcesValidationError) Error Uses

func (e Bootstrap_StaticResourcesValidationError) Error() string

Error satisfies the builtin error interface

func (Bootstrap_StaticResourcesValidationError) ErrorName Uses

func (e Bootstrap_StaticResourcesValidationError) ErrorName() string

ErrorName returns error name.

func (Bootstrap_StaticResourcesValidationError) Field Uses

func (e Bootstrap_StaticResourcesValidationError) Field() string

Field function returns field value.

func (Bootstrap_StaticResourcesValidationError) Key Uses

func (e Bootstrap_StaticResourcesValidationError) Key() bool

Key function returns key value.

func (Bootstrap_StaticResourcesValidationError) Reason Uses

func (e Bootstrap_StaticResourcesValidationError) Reason() string

Reason function returns reason value.

type ClusterManager Uses

type ClusterManager struct {

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

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

func (*ClusterManager) Descriptor Uses

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

Deprecated: Use ClusterManager.ProtoReflect.Descriptor instead.

func (*ClusterManager) GetLoadStatsConfig Uses

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

func (*ClusterManager) GetLocalClusterName Uses

func (x *ClusterManager) GetLocalClusterName() string

func (*ClusterManager) GetOutlierDetection Uses

func (x *ClusterManager) GetOutlierDetection() *ClusterManager_OutlierDetection

func (*ClusterManager) GetUpstreamBindConfig Uses

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

func (*ClusterManager) ProtoMessage Uses

func (*ClusterManager) ProtoMessage()

func (*ClusterManager) ProtoReflect Uses

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

func (*ClusterManager) Reset Uses

func (x *ClusterManager) Reset()

func (*ClusterManager) String Uses

func (x *ClusterManager) String() string

func (*ClusterManager) Validate Uses

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.

type ClusterManagerValidationError Uses

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 Uses

func (e ClusterManagerValidationError) Cause() error

Cause function returns cause value.

func (ClusterManagerValidationError) Error Uses

func (e ClusterManagerValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterManagerValidationError) ErrorName Uses

func (e ClusterManagerValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterManagerValidationError) Field Uses

func (e ClusterManagerValidationError) Field() string

Field function returns field value.

func (ClusterManagerValidationError) Key Uses

func (e ClusterManagerValidationError) Key() bool

Key function returns key value.

func (ClusterManagerValidationError) Reason Uses

func (e ClusterManagerValidationError) Reason() string

Reason function returns reason value.

type ClusterManager_OutlierDetection Uses

type ClusterManager_OutlierDetection struct {

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

func (*ClusterManager_OutlierDetection) Descriptor Uses

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

Deprecated: Use ClusterManager_OutlierDetection.ProtoReflect.Descriptor instead.

func (*ClusterManager_OutlierDetection) GetEventLogPath Uses

func (x *ClusterManager_OutlierDetection) GetEventLogPath() string

func (*ClusterManager_OutlierDetection) GetEventService Uses

func (x *ClusterManager_OutlierDetection) GetEventService() *core.EventServiceConfig

func (*ClusterManager_OutlierDetection) ProtoMessage Uses

func (*ClusterManager_OutlierDetection) ProtoMessage()

func (*ClusterManager_OutlierDetection) ProtoReflect Uses

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

func (*ClusterManager_OutlierDetection) Reset Uses

func (x *ClusterManager_OutlierDetection) Reset()

func (*ClusterManager_OutlierDetection) String Uses

func (x *ClusterManager_OutlierDetection) String() string

func (*ClusterManager_OutlierDetection) Validate Uses

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.

type ClusterManager_OutlierDetectionValidationError Uses

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 Uses

func (e ClusterManager_OutlierDetectionValidationError) Cause() error

Cause function returns cause value.

func (ClusterManager_OutlierDetectionValidationError) Error Uses

func (e ClusterManager_OutlierDetectionValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterManager_OutlierDetectionValidationError) ErrorName Uses

func (e ClusterManager_OutlierDetectionValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterManager_OutlierDetectionValidationError) Field Uses

func (e ClusterManager_OutlierDetectionValidationError) Field() string

Field function returns field value.

func (ClusterManager_OutlierDetectionValidationError) Key Uses

func (e ClusterManager_OutlierDetectionValidationError) Key() bool

Key function returns key value.

func (ClusterManager_OutlierDetectionValidationError) Reason Uses

func (e ClusterManager_OutlierDetectionValidationError) Reason() string

Reason function returns reason value.

type LayeredRuntime Uses

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 Uses

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

Deprecated: Use LayeredRuntime.ProtoReflect.Descriptor instead.

func (*LayeredRuntime) GetLayers Uses

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

func (*LayeredRuntime) ProtoMessage Uses

func (*LayeredRuntime) ProtoMessage()

func (*LayeredRuntime) ProtoReflect Uses

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

func (*LayeredRuntime) Reset Uses

func (x *LayeredRuntime) Reset()

func (*LayeredRuntime) String Uses

func (x *LayeredRuntime) String() string

func (*LayeredRuntime) Validate Uses

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, an error is returned.

type LayeredRuntimeValidationError Uses

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 Uses

func (e LayeredRuntimeValidationError) Cause() error

Cause function returns cause value.

func (LayeredRuntimeValidationError) Error Uses

func (e LayeredRuntimeValidationError) Error() string

Error satisfies the builtin error interface

func (LayeredRuntimeValidationError) ErrorName Uses

func (e LayeredRuntimeValidationError) ErrorName() string

ErrorName returns error name.

func (LayeredRuntimeValidationError) Field Uses

func (e LayeredRuntimeValidationError) Field() string

Field function returns field value.

func (LayeredRuntimeValidationError) Key Uses

func (e LayeredRuntimeValidationError) Key() bool

Key function returns key value.

func (LayeredRuntimeValidationError) Reason Uses

func (e LayeredRuntimeValidationError) Reason() string

Reason function returns reason value.

type Runtime Uses

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 Uses

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

Deprecated: Use Runtime.ProtoReflect.Descriptor instead.

func (*Runtime) GetBase Uses

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

func (*Runtime) GetOverrideSubdirectory Uses

func (x *Runtime) GetOverrideSubdirectory() string

func (*Runtime) GetSubdirectory Uses

func (x *Runtime) GetSubdirectory() string

func (*Runtime) GetSymlinkRoot Uses

func (x *Runtime) GetSymlinkRoot() string

func (*Runtime) ProtoMessage Uses

func (*Runtime) ProtoMessage()

func (*Runtime) ProtoReflect Uses

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

func (*Runtime) Reset Uses

func (x *Runtime) Reset()

func (*Runtime) String Uses

func (x *Runtime) String() string

func (*Runtime) Validate Uses

func (m *Runtime) Validate() error

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.

type RuntimeLayer Uses

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 Uses

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

Deprecated: Use RuntimeLayer.ProtoReflect.Descriptor instead.

func (*RuntimeLayer) GetAdminLayer Uses

func (x *RuntimeLayer) GetAdminLayer() *RuntimeLayer_AdminLayer

func (*RuntimeLayer) GetDiskLayer Uses

func (x *RuntimeLayer) GetDiskLayer() *RuntimeLayer_DiskLayer

func (*RuntimeLayer) GetLayerSpecifier Uses

func (m *RuntimeLayer) GetLayerSpecifier() isRuntimeLayer_LayerSpecifier

func (*RuntimeLayer) GetName Uses

func (x *RuntimeLayer) GetName() string

func (*RuntimeLayer) GetRtdsLayer Uses

func (x *RuntimeLayer) GetRtdsLayer() *RuntimeLayer_RtdsLayer

func (*RuntimeLayer) GetStaticLayer Uses

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

func (*RuntimeLayer) ProtoMessage Uses

func (*RuntimeLayer) ProtoMessage()

func (*RuntimeLayer) ProtoReflect Uses

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

func (*RuntimeLayer) Reset Uses

func (x *RuntimeLayer) Reset()

func (*RuntimeLayer) String Uses

func (x *RuntimeLayer) String() string

func (*RuntimeLayer) Validate Uses

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, an error is returned.

type RuntimeLayerValidationError Uses

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 Uses

func (e RuntimeLayerValidationError) Cause() error

Cause function returns cause value.

func (RuntimeLayerValidationError) Error Uses

func (e RuntimeLayerValidationError) Error() string

Error satisfies the builtin error interface

func (RuntimeLayerValidationError) ErrorName Uses

func (e RuntimeLayerValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeLayerValidationError) Field Uses

func (e RuntimeLayerValidationError) Field() string

Field function returns field value.

func (RuntimeLayerValidationError) Key Uses

func (e RuntimeLayerValidationError) Key() bool

Key function returns key value.

func (RuntimeLayerValidationError) Reason Uses

func (e RuntimeLayerValidationError) Reason() string

Reason function returns reason value.

type RuntimeLayer_AdminLayer Uses

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

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

func (*RuntimeLayer_AdminLayer) Descriptor Uses

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

Deprecated: Use RuntimeLayer_AdminLayer.ProtoReflect.Descriptor instead.

func (*RuntimeLayer_AdminLayer) ProtoMessage Uses

func (*RuntimeLayer_AdminLayer) ProtoMessage()

func (*RuntimeLayer_AdminLayer) ProtoReflect Uses

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

func (*RuntimeLayer_AdminLayer) Reset Uses

func (x *RuntimeLayer_AdminLayer) Reset()

func (*RuntimeLayer_AdminLayer) String Uses

func (x *RuntimeLayer_AdminLayer) String() string

func (*RuntimeLayer_AdminLayer) Validate Uses

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, an error is returned.

type RuntimeLayer_AdminLayerValidationError Uses

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 Uses

func (e RuntimeLayer_AdminLayerValidationError) Cause() error

Cause function returns cause value.

func (RuntimeLayer_AdminLayerValidationError) Error Uses

func (e RuntimeLayer_AdminLayerValidationError) Error() string

Error satisfies the builtin error interface

func (RuntimeLayer_AdminLayerValidationError) ErrorName Uses

func (e RuntimeLayer_AdminLayerValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeLayer_AdminLayerValidationError) Field Uses

func (e RuntimeLayer_AdminLayerValidationError) Field() string

Field function returns field value.

func (RuntimeLayer_AdminLayerValidationError) Key Uses

func (e RuntimeLayer_AdminLayerValidationError) Key() bool

Key function returns key value.

func (RuntimeLayer_AdminLayerValidationError) Reason Uses

func (e RuntimeLayer_AdminLayerValidationError) Reason() string

Reason function returns reason value.

type RuntimeLayer_AdminLayer_ Uses

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

type RuntimeLayer_DiskLayer Uses

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 Uses

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

Deprecated: Use RuntimeLayer_DiskLayer.ProtoReflect.Descriptor instead.

func (*RuntimeLayer_DiskLayer) GetAppendServiceCluster Uses

func (x *RuntimeLayer_DiskLayer) GetAppendServiceCluster() bool

func (*RuntimeLayer_DiskLayer) GetSubdirectory Uses

func (x *RuntimeLayer_DiskLayer) GetSubdirectory() string

func (*RuntimeLayer_DiskLayer) GetSymlinkRoot Uses

func (x *RuntimeLayer_DiskLayer) GetSymlinkRoot() string

func (*RuntimeLayer_DiskLayer) ProtoMessage Uses

func (*RuntimeLayer_DiskLayer) ProtoMessage()

func (*RuntimeLayer_DiskLayer) ProtoReflect Uses

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

func (*RuntimeLayer_DiskLayer) Reset Uses

func (x *RuntimeLayer_DiskLayer) Reset()

func (*RuntimeLayer_DiskLayer) String Uses

func (x *RuntimeLayer_DiskLayer) String() string

func (*RuntimeLayer_DiskLayer) Validate Uses

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, an error is returned.

type RuntimeLayer_DiskLayerValidationError Uses

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 Uses

func (e RuntimeLayer_DiskLayerValidationError) Cause() error

Cause function returns cause value.

func (RuntimeLayer_DiskLayerValidationError) Error Uses

func (e RuntimeLayer_DiskLayerValidationError) Error() string

Error satisfies the builtin error interface

func (RuntimeLayer_DiskLayerValidationError) ErrorName Uses

func (e RuntimeLayer_DiskLayerValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeLayer_DiskLayerValidationError) Field Uses

func (e RuntimeLayer_DiskLayerValidationError) Field() string

Field function returns field value.

func (RuntimeLayer_DiskLayerValidationError) Key Uses

func (e RuntimeLayer_DiskLayerValidationError) Key() bool

Key function returns key value.

func (RuntimeLayer_DiskLayerValidationError) Reason Uses

func (e RuntimeLayer_DiskLayerValidationError) Reason() string

Reason function returns reason value.

type RuntimeLayer_DiskLayer_ Uses

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

type RuntimeLayer_RtdsLayer Uses

type RuntimeLayer_RtdsLayer struct {

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

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

func (*RuntimeLayer_RtdsLayer) Descriptor Uses

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

Deprecated: Use RuntimeLayer_RtdsLayer.ProtoReflect.Descriptor instead.

func (*RuntimeLayer_RtdsLayer) GetName Uses

func (x *RuntimeLayer_RtdsLayer) GetName() string

func (*RuntimeLayer_RtdsLayer) GetRtdsConfig Uses

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

func (*RuntimeLayer_RtdsLayer) ProtoMessage Uses

func (*RuntimeLayer_RtdsLayer) ProtoMessage()

func (*RuntimeLayer_RtdsLayer) ProtoReflect Uses

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

func (*RuntimeLayer_RtdsLayer) Reset Uses

func (x *RuntimeLayer_RtdsLayer) Reset()

func (*RuntimeLayer_RtdsLayer) String Uses

func (x *RuntimeLayer_RtdsLayer) String() string

func (*RuntimeLayer_RtdsLayer) Validate Uses

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, an error is returned.

type RuntimeLayer_RtdsLayerValidationError Uses

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 Uses

func (e RuntimeLayer_RtdsLayerValidationError) Cause() error

Cause function returns cause value.

func (RuntimeLayer_RtdsLayerValidationError) Error Uses

func (e RuntimeLayer_RtdsLayerValidationError) Error() string

Error satisfies the builtin error interface

func (RuntimeLayer_RtdsLayerValidationError) ErrorName Uses

func (e RuntimeLayer_RtdsLayerValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeLayer_RtdsLayerValidationError) Field Uses

func (e RuntimeLayer_RtdsLayerValidationError) Field() string

Field function returns field value.

func (RuntimeLayer_RtdsLayerValidationError) Key Uses

func (e RuntimeLayer_RtdsLayerValidationError) Key() bool

Key function returns key value.

func (RuntimeLayer_RtdsLayerValidationError) Reason Uses

func (e RuntimeLayer_RtdsLayerValidationError) Reason() string

Reason function returns reason value.

type RuntimeLayer_RtdsLayer_ Uses

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

type RuntimeLayer_StaticLayer Uses

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 RuntimeValidationError Uses

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 Uses

func (e RuntimeValidationError) Cause() error

Cause function returns cause value.

func (RuntimeValidationError) Error Uses

func (e RuntimeValidationError) Error() string

Error satisfies the builtin error interface

func (RuntimeValidationError) ErrorName Uses

func (e RuntimeValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeValidationError) Field Uses

func (e RuntimeValidationError) Field() string

Field function returns field value.

func (RuntimeValidationError) Key Uses

func (e RuntimeValidationError) Key() bool

Key function returns key value.

func (RuntimeValidationError) Reason Uses

func (e RuntimeValidationError) Reason() string

Reason function returns reason value.

type Watchdog Uses

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 *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"`
    // 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 *duration.Duration `protobuf:"bytes,4,opt,name=multikill_timeout,json=multikillTimeout,proto3" json:"multikill_timeout,omitempty"`
    // contains filtered or unexported fields
}

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

func (*Watchdog) Descriptor Uses

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

Deprecated: Use Watchdog.ProtoReflect.Descriptor instead.

func (*Watchdog) GetKillTimeout Uses

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

func (*Watchdog) GetMegamissTimeout Uses

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

func (*Watchdog) GetMissTimeout Uses

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

func (*Watchdog) GetMultikillTimeout Uses

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

func (*Watchdog) ProtoMessage Uses

func (*Watchdog) ProtoMessage()

func (*Watchdog) ProtoReflect Uses

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

func (*Watchdog) Reset Uses

func (x *Watchdog) Reset()

func (*Watchdog) String Uses

func (x *Watchdog) String() string

func (*Watchdog) Validate Uses

func (m *Watchdog) Validate() error

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.

type WatchdogValidationError Uses

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 Uses

func (e WatchdogValidationError) Cause() error

Cause function returns cause value.

func (WatchdogValidationError) Error Uses

func (e WatchdogValidationError) Error() string

Error satisfies the builtin error interface

func (WatchdogValidationError) ErrorName Uses

func (e WatchdogValidationError) ErrorName() string

ErrorName returns error name.

func (WatchdogValidationError) Field Uses

func (e WatchdogValidationError) Field() string

Field function returns field value.

func (WatchdogValidationError) Key Uses

func (e WatchdogValidationError) Key() bool

Key function returns key value.

func (WatchdogValidationError) Reason Uses

func (e WatchdogValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_bootstrap_v2 imports 28 packages (graph) and is imported by 24 packages. Updated 2021-01-08. Refresh now. Tools for package owners.