envoy_admin_v2alpha

package
v0.0.0-...-113c6ea Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package envoy_admin_v2alpha is a generated protocol buffer package.

It is generated from these files:

envoy/admin/v2alpha/clusters.proto
envoy/admin/v2alpha/config_dump.proto
envoy/admin/v2alpha/metrics.proto

It has these top-level messages:

Clusters
ClusterStatus
HostStatus
HostHealthStatus
ConfigDump
BootstrapConfigDump
ListenersConfigDump
ClustersConfigDump
RoutesConfigDump
SimpleMetric

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthClusters = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowClusters   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthConfigDump = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfigDump   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthMetrics = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMetrics   = fmt.Errorf("proto: integer overflow")
)
View Source
var SimpleMetric_Type_name = map[int32]string{
	0: "COUNTER",
	1: "GAUGE",
}
View Source
var SimpleMetric_Type_value = map[string]int32{
	"COUNTER": 0,
	"GAUGE":   1,
}

Functions

This section is empty.

Types

type BootstrapConfigDump

type BootstrapConfigDump struct {
	Bootstrap envoy_config_bootstrap_v2.Bootstrap `protobuf:"bytes,1,opt,name=bootstrap" json:"bootstrap"`
	// The timestamp when the BootstrapConfig was last updated.
	LastUpdated *google_protobuf4.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
}

This message describes the bootstrap configuration that Envoy was started with. This includes any CLI overrides that were merged. Bootstrap configuration information can be used to recreate the static portions of an Envoy configuration by reusing the output as the bootstrap configuration for another Envoy.

func (*BootstrapConfigDump) Descriptor

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

func (*BootstrapConfigDump) GetBootstrap

func (*BootstrapConfigDump) GetLastUpdated

func (m *BootstrapConfigDump) GetLastUpdated() *google_protobuf4.Timestamp

func (*BootstrapConfigDump) Marshal

func (m *BootstrapConfigDump) Marshal() (dAtA []byte, err error)

func (*BootstrapConfigDump) MarshalTo

func (m *BootstrapConfigDump) MarshalTo(dAtA []byte) (int, error)

func (*BootstrapConfigDump) ProtoMessage

func (*BootstrapConfigDump) ProtoMessage()

func (*BootstrapConfigDump) Reset

func (m *BootstrapConfigDump) Reset()

func (*BootstrapConfigDump) Size

func (m *BootstrapConfigDump) Size() (n int)

func (*BootstrapConfigDump) String

func (m *BootstrapConfigDump) String() string

func (*BootstrapConfigDump) Unmarshal

func (m *BootstrapConfigDump) Unmarshal(dAtA []byte) error

func (*BootstrapConfigDump) Validate

func (m *BootstrapConfigDump) Validate() error

Validate checks the field values on BootstrapConfigDump with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BootstrapConfigDumpValidationError

type BootstrapConfigDumpValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

BootstrapConfigDumpValidationError is the validation error returned by BootstrapConfigDump.Validate if the designated constraints aren't met.

func (BootstrapConfigDumpValidationError) Error

Error satisfies the builtin error interface

type ClusterStatus

type ClusterStatus struct {
	// Name of the cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Denotes whether this cluster was added via API or configured statically.
	AddedViaApi bool `protobuf:"varint,2,opt,name=added_via_api,json=addedViaApi,proto3" json:"added_via_api,omitempty"`
	// The success rate threshold used in the last interval. The threshold is used to eject hosts
	// based on their success rate. See
	// :ref:`Cluster outlier detection <arch_overview_outlier_detection>` statistics
	//
	// Note: this field may be omitted in any of the three following cases:
	//
	// 1. There were not enough hosts with enough request volume to proceed with success rate based
	//    outlier ejection.
	// 2. The threshold is computed to be < 0 because a negative value implies that there was no
	//    threshold for that interval.
	// 3. Outlier detection is not enabled for this cluster.
	SuccessRateEjectionThreshold *envoy_type.Percent `` /* 142-byte string literal not displayed */
	// Mapping from host address to the host's current status.
	HostStatuses []*HostStatus `protobuf:"bytes,4,rep,name=host_statuses,json=hostStatuses" json:"host_statuses,omitempty"`
}

Details an individual cluster's current status.

func (*ClusterStatus) Descriptor

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

func (*ClusterStatus) GetAddedViaApi

func (m *ClusterStatus) GetAddedViaApi() bool

func (*ClusterStatus) GetHostStatuses

func (m *ClusterStatus) GetHostStatuses() []*HostStatus

func (*ClusterStatus) GetName

func (m *ClusterStatus) GetName() string

func (*ClusterStatus) GetSuccessRateEjectionThreshold

func (m *ClusterStatus) GetSuccessRateEjectionThreshold() *envoy_type.Percent

func (*ClusterStatus) Marshal

func (m *ClusterStatus) Marshal() (dAtA []byte, err error)

func (*ClusterStatus) MarshalTo

func (m *ClusterStatus) MarshalTo(dAtA []byte) (int, error)

func (*ClusterStatus) ProtoMessage

func (*ClusterStatus) ProtoMessage()

func (*ClusterStatus) Reset

func (m *ClusterStatus) Reset()

func (*ClusterStatus) Size

func (m *ClusterStatus) Size() (n int)

func (*ClusterStatus) String

func (m *ClusterStatus) String() string

func (*ClusterStatus) Unmarshal

func (m *ClusterStatus) Unmarshal(dAtA []byte) error

func (*ClusterStatus) Validate

func (m *ClusterStatus) Validate() error

Validate checks the field values on ClusterStatus with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ClusterStatusValidationError

type ClusterStatusValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ClusterStatusValidationError is the validation error returned by ClusterStatus.Validate if the designated constraints aren't met.

func (ClusterStatusValidationError) Error

Error satisfies the builtin error interface

type Clusters

type Clusters struct {
	// Mapping from cluster name to each cluster's status.
	ClusterStatuses []*ClusterStatus `protobuf:"bytes,1,rep,name=cluster_statuses,json=clusterStatuses" json:"cluster_statuses,omitempty"`
}

Admin endpoint uses this wrapper for `/clusters` to display cluster status information. See :ref:`/clusters <operations_admin_interface_clusters>` for more information.

func (*Clusters) Descriptor

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

func (*Clusters) GetClusterStatuses

func (m *Clusters) GetClusterStatuses() []*ClusterStatus

func (*Clusters) Marshal

func (m *Clusters) Marshal() (dAtA []byte, err error)

func (*Clusters) MarshalTo

func (m *Clusters) MarshalTo(dAtA []byte) (int, error)

func (*Clusters) ProtoMessage

func (*Clusters) ProtoMessage()

func (*Clusters) Reset

func (m *Clusters) Reset()

func (*Clusters) Size

func (m *Clusters) Size() (n int)

func (*Clusters) String

func (m *Clusters) String() string

func (*Clusters) Unmarshal

func (m *Clusters) Unmarshal(dAtA []byte) error

func (*Clusters) Validate

func (m *Clusters) Validate() error

Validate checks the field values on Clusters with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ClustersConfigDump

type ClustersConfigDump struct {
	// This is the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` in the
	// last processed CDS discovery response. If there are only static bootstrap clusters, this field
	// will be "".
	VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// The statically loaded cluster configs.
	StaticClusters []ClustersConfigDump_StaticCluster `protobuf:"bytes,2,rep,name=static_clusters,json=staticClusters" json:"static_clusters"`
	// The dynamically loaded active clusters. These are clusters that are available to service
	// data plane traffic.
	DynamicActiveClusters []ClustersConfigDump_DynamicCluster `protobuf:"bytes,3,rep,name=dynamic_active_clusters,json=dynamicActiveClusters" json:"dynamic_active_clusters"`
	// The dynamically loaded warming clusters. These are clusters that are currently undergoing
	// warming in preparation to service data plane traffic. Note that if attempting to recreate an
	// Envoy configuration from a configuration dump, the warming clusters should generally be
	// discarded.
	DynamicWarmingClusters []ClustersConfigDump_DynamicCluster `protobuf:"bytes,4,rep,name=dynamic_warming_clusters,json=dynamicWarmingClusters" json:"dynamic_warming_clusters"`
}

Envoy's cluster manager fills this message with all currently known clusters. Cluster configuration information can be used to recreate an Envoy configuration by populating all clusters as static clusters or by returning them in a CDS response.

func (*ClustersConfigDump) Descriptor

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

func (*ClustersConfigDump) GetDynamicActiveClusters

func (m *ClustersConfigDump) GetDynamicActiveClusters() []ClustersConfigDump_DynamicCluster

func (*ClustersConfigDump) GetDynamicWarmingClusters

func (m *ClustersConfigDump) GetDynamicWarmingClusters() []ClustersConfigDump_DynamicCluster

func (*ClustersConfigDump) GetStaticClusters

func (m *ClustersConfigDump) GetStaticClusters() []ClustersConfigDump_StaticCluster

func (*ClustersConfigDump) GetVersionInfo

func (m *ClustersConfigDump) GetVersionInfo() string

func (*ClustersConfigDump) Marshal

func (m *ClustersConfigDump) Marshal() (dAtA []byte, err error)

func (*ClustersConfigDump) MarshalTo

func (m *ClustersConfigDump) MarshalTo(dAtA []byte) (int, error)

func (*ClustersConfigDump) ProtoMessage

func (*ClustersConfigDump) ProtoMessage()

func (*ClustersConfigDump) Reset

func (m *ClustersConfigDump) Reset()

func (*ClustersConfigDump) Size

func (m *ClustersConfigDump) Size() (n int)

func (*ClustersConfigDump) String

func (m *ClustersConfigDump) String() string

func (*ClustersConfigDump) Unmarshal

func (m *ClustersConfigDump) Unmarshal(dAtA []byte) error

func (*ClustersConfigDump) Validate

func (m *ClustersConfigDump) Validate() error

Validate checks the field values on ClustersConfigDump with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ClustersConfigDumpValidationError

type ClustersConfigDumpValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ClustersConfigDumpValidationError is the validation error returned by ClustersConfigDump.Validate if the designated constraints aren't met.

func (ClustersConfigDumpValidationError) Error

Error satisfies the builtin error interface

type ClustersConfigDump_DynamicCluster

type ClustersConfigDump_DynamicCluster struct {
	// This is the per-resource version information. This version is currently taken from the
	// :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
	// that the cluster was loaded. In the future, discrete per-cluster versions may be supported by
	// the API.
	VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// The cluster config.
	Cluster *envoy_api_v22.Cluster `protobuf:"bytes,2,opt,name=cluster" json:"cluster,omitempty"`
	// The timestamp when the Cluster was last updated.
	LastUpdated *google_protobuf4.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
}

Describes a dynamically loaded cluster via the CDS API.

func (*ClustersConfigDump_DynamicCluster) Descriptor

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

func (*ClustersConfigDump_DynamicCluster) GetCluster

func (*ClustersConfigDump_DynamicCluster) GetLastUpdated

func (*ClustersConfigDump_DynamicCluster) GetVersionInfo

func (m *ClustersConfigDump_DynamicCluster) GetVersionInfo() string

func (*ClustersConfigDump_DynamicCluster) Marshal

func (m *ClustersConfigDump_DynamicCluster) Marshal() (dAtA []byte, err error)

func (*ClustersConfigDump_DynamicCluster) MarshalTo

func (m *ClustersConfigDump_DynamicCluster) MarshalTo(dAtA []byte) (int, error)

func (*ClustersConfigDump_DynamicCluster) ProtoMessage

func (*ClustersConfigDump_DynamicCluster) ProtoMessage()

func (*ClustersConfigDump_DynamicCluster) Reset

func (*ClustersConfigDump_DynamicCluster) Size

func (m *ClustersConfigDump_DynamicCluster) Size() (n int)

func (*ClustersConfigDump_DynamicCluster) String

func (*ClustersConfigDump_DynamicCluster) Unmarshal

func (m *ClustersConfigDump_DynamicCluster) Unmarshal(dAtA []byte) error

func (*ClustersConfigDump_DynamicCluster) Validate

Validate checks the field values on ClustersConfigDump_DynamicCluster with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ClustersConfigDump_DynamicClusterValidationError

type ClustersConfigDump_DynamicClusterValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ClustersConfigDump_DynamicClusterValidationError is the validation error returned by ClustersConfigDump_DynamicCluster.Validate if the designated constraints aren't met.

func (ClustersConfigDump_DynamicClusterValidationError) Error

Error satisfies the builtin error interface

type ClustersConfigDump_StaticCluster

type ClustersConfigDump_StaticCluster struct {
	// The cluster config.
	Cluster *envoy_api_v22.Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"`
	// The timestamp when the Cluster was last updated.
	LastUpdated *google_protobuf4.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
}

Describes a statically loaded cluster.

func (*ClustersConfigDump_StaticCluster) Descriptor

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

func (*ClustersConfigDump_StaticCluster) GetCluster

func (*ClustersConfigDump_StaticCluster) GetLastUpdated

func (*ClustersConfigDump_StaticCluster) Marshal

func (m *ClustersConfigDump_StaticCluster) Marshal() (dAtA []byte, err error)

func (*ClustersConfigDump_StaticCluster) MarshalTo

func (m *ClustersConfigDump_StaticCluster) MarshalTo(dAtA []byte) (int, error)

func (*ClustersConfigDump_StaticCluster) ProtoMessage

func (*ClustersConfigDump_StaticCluster) ProtoMessage()

func (*ClustersConfigDump_StaticCluster) Reset

func (*ClustersConfigDump_StaticCluster) Size

func (m *ClustersConfigDump_StaticCluster) Size() (n int)

func (*ClustersConfigDump_StaticCluster) String

func (*ClustersConfigDump_StaticCluster) Unmarshal

func (m *ClustersConfigDump_StaticCluster) Unmarshal(dAtA []byte) error

func (*ClustersConfigDump_StaticCluster) Validate

Validate checks the field values on ClustersConfigDump_StaticCluster with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ClustersConfigDump_StaticClusterValidationError

type ClustersConfigDump_StaticClusterValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ClustersConfigDump_StaticClusterValidationError is the validation error returned by ClustersConfigDump_StaticCluster.Validate if the designated constraints aren't met.

func (ClustersConfigDump_StaticClusterValidationError) Error

Error satisfies the builtin error interface

type ClustersValidationError

type ClustersValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ClustersValidationError is the validation error returned by Clusters.Validate if the designated constraints aren't met.

func (ClustersValidationError) Error

func (e ClustersValidationError) Error() string

Error satisfies the builtin error interface

type ConfigDump

type ConfigDump struct {
	// This map is serialized and dumped in its entirety at the
	// :ref:`/config_dump <operations_admin_interface_config_dump>` endpoint.
	//
	// Keys are a short descriptor of the config object they map to. The following keys (and the
	// messages they map to) are currently supported:
	//
	// * *bootstrap*: :ref:`BootstrapConfigDump <envoy_api_msg_admin.v2alpha.BootstrapConfigDump>`
	// * *listeners*: :ref:`ListenersConfigDump <envoy_api_msg_admin.v2alpha.ListenersConfigDump>`
	// * *clusters*: :ref:`ClustersConfigDump <envoy_api_msg_admin.v2alpha.ClustersConfigDump>`
	// * *routes*:  :ref:`RoutesConfigDump <envoy_api_msg_admin.v2alpha.RoutesConfigDump>`
	Configs map[string]google_protobuf6.Any `` /* 131-byte string literal not displayed */
}

The :ref:`/config_dump <operations_admin_interface_config_dump>` admin endpoint uses this wrapper message to maintain and serve arbitrary configuration information from any component in Envoy.

func (*ConfigDump) Descriptor

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

func (*ConfigDump) GetConfigs

func (m *ConfigDump) GetConfigs() map[string]google_protobuf6.Any

func (*ConfigDump) Marshal

func (m *ConfigDump) Marshal() (dAtA []byte, err error)

func (*ConfigDump) MarshalTo

func (m *ConfigDump) MarshalTo(dAtA []byte) (int, error)

func (*ConfigDump) ProtoMessage

func (*ConfigDump) ProtoMessage()

func (*ConfigDump) Reset

func (m *ConfigDump) Reset()

func (*ConfigDump) Size

func (m *ConfigDump) Size() (n int)

func (*ConfigDump) String

func (m *ConfigDump) String() string

func (*ConfigDump) Unmarshal

func (m *ConfigDump) Unmarshal(dAtA []byte) error

func (*ConfigDump) Validate

func (m *ConfigDump) Validate() error

Validate checks the field values on ConfigDump with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ConfigDumpValidationError

type ConfigDumpValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ConfigDumpValidationError is the validation error returned by ConfigDump.Validate if the designated constraints aren't met.

func (ConfigDumpValidationError) Error

Error satisfies the builtin error interface

type HostHealthStatus

type HostHealthStatus struct {
	// The host is currently failing active health checks.
	FailedActiveHealthCheck bool `` /* 135-byte string literal not displayed */
	// The host is currently considered an outlier and has been ejected.
	FailedOutlierCheck bool `protobuf:"varint,2,opt,name=failed_outlier_check,json=failedOutlierCheck,proto3" json:"failed_outlier_check,omitempty"`
	// Health status as reported by EDS. Note: only HEALTHY and UNHEALTHY are currently supported
	// here.
	// TODO(mrice32): pipe through remaining EDS health status possibilities.
	EdsHealthStatus envoy_api_v2_core2.HealthStatus `` /* 145-byte string literal not displayed */
}

Health status for a host.

func (*HostHealthStatus) Descriptor

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

func (*HostHealthStatus) GetEdsHealthStatus

func (m *HostHealthStatus) GetEdsHealthStatus() envoy_api_v2_core2.HealthStatus

func (*HostHealthStatus) GetFailedActiveHealthCheck

func (m *HostHealthStatus) GetFailedActiveHealthCheck() bool

func (*HostHealthStatus) GetFailedOutlierCheck

func (m *HostHealthStatus) GetFailedOutlierCheck() bool

func (*HostHealthStatus) Marshal

func (m *HostHealthStatus) Marshal() (dAtA []byte, err error)

func (*HostHealthStatus) MarshalTo

func (m *HostHealthStatus) MarshalTo(dAtA []byte) (int, error)

func (*HostHealthStatus) ProtoMessage

func (*HostHealthStatus) ProtoMessage()

func (*HostHealthStatus) Reset

func (m *HostHealthStatus) Reset()

func (*HostHealthStatus) Size

func (m *HostHealthStatus) Size() (n int)

func (*HostHealthStatus) String

func (m *HostHealthStatus) String() string

func (*HostHealthStatus) Unmarshal

func (m *HostHealthStatus) Unmarshal(dAtA []byte) error

func (*HostHealthStatus) Validate

func (m *HostHealthStatus) Validate() error

Validate checks the field values on HostHealthStatus with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HostHealthStatusValidationError

type HostHealthStatusValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HostHealthStatusValidationError is the validation error returned by HostHealthStatus.Validate if the designated constraints aren't met.

func (HostHealthStatusValidationError) Error

Error satisfies the builtin error interface

type HostStatus

type HostStatus struct {
	// Address of this host.
	Address *envoy_api_v2_core1.Address `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	// Mapping from the name of the statistic to the current value.
	Stats map[string]*SimpleMetric `` /* 137-byte string literal not displayed */
	// The host's current health status.
	HealthStatus *HostHealthStatus `protobuf:"bytes,3,opt,name=health_status,json=healthStatus" json:"health_status,omitempty"`
	// Request success rate for this host over the last calculated interval.
	//
	// Note: the message will not be present if host did not have enough request volume to calculate
	// success rate or the cluster did not have enough hosts to run through success rate outlier
	// ejection.
	SuccessRate *envoy_type.Percent `protobuf:"bytes,4,opt,name=success_rate,json=successRate" json:"success_rate,omitempty"`
}

Current state of a particular host.

func (*HostStatus) Descriptor

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

func (*HostStatus) GetAddress

func (m *HostStatus) GetAddress() *envoy_api_v2_core1.Address

func (*HostStatus) GetHealthStatus

func (m *HostStatus) GetHealthStatus() *HostHealthStatus

func (*HostStatus) GetStats

func (m *HostStatus) GetStats() map[string]*SimpleMetric

func (*HostStatus) GetSuccessRate

func (m *HostStatus) GetSuccessRate() *envoy_type.Percent

func (*HostStatus) Marshal

func (m *HostStatus) Marshal() (dAtA []byte, err error)

func (*HostStatus) MarshalTo

func (m *HostStatus) MarshalTo(dAtA []byte) (int, error)

func (*HostStatus) ProtoMessage

func (*HostStatus) ProtoMessage()

func (*HostStatus) Reset

func (m *HostStatus) Reset()

func (*HostStatus) Size

func (m *HostStatus) Size() (n int)

func (*HostStatus) String

func (m *HostStatus) String() string

func (*HostStatus) Unmarshal

func (m *HostStatus) Unmarshal(dAtA []byte) error

func (*HostStatus) Validate

func (m *HostStatus) Validate() error

Validate checks the field values on HostStatus with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HostStatusValidationError

type HostStatusValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HostStatusValidationError is the validation error returned by HostStatus.Validate if the designated constraints aren't met.

func (HostStatusValidationError) Error

Error satisfies the builtin error interface

type ListenersConfigDump

type ListenersConfigDump struct {
	// This is the :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` in the
	// last processed LDS discovery response. If there are only static bootstrap listeners, this field
	// will be "".
	VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// The statically loaded listener configs.
	StaticListeners []ListenersConfigDump_StaticListener `protobuf:"bytes,2,rep,name=static_listeners,json=staticListeners" json:"static_listeners"`
	// The dynamically loaded active listeners. These are listeners that are available to service
	// data plane traffic.
	DynamicActiveListeners []ListenersConfigDump_DynamicListener `protobuf:"bytes,3,rep,name=dynamic_active_listeners,json=dynamicActiveListeners" json:"dynamic_active_listeners"`
	// The dynamically loaded warming listeners. These are listeners that are currently undergoing
	// warming in preparation to service data plane traffic. Note that if attempting to recreate an
	// Envoy configuration from a configuration dump, the warming listeners should generally be
	// discarded.
	DynamicWarmingListeners []ListenersConfigDump_DynamicListener `protobuf:"bytes,4,rep,name=dynamic_warming_listeners,json=dynamicWarmingListeners" json:"dynamic_warming_listeners"`
	// The dynamically loaded draining listeners. These are listeners that are currently undergoing
	// draining in preparation to stop servicing data plane traffic. Note that if attempting to
	// recreate an Envoy configuration from a configuration dump, the draining listeners should
	// generally be discarded.
	DynamicDrainingListeners []ListenersConfigDump_DynamicListener `protobuf:"bytes,5,rep,name=dynamic_draining_listeners,json=dynamicDrainingListeners" json:"dynamic_draining_listeners"`
}

Envoy's listener manager fills this message with all currently known listeners. Listener configuration information can be used to recreate an Envoy configuration by populating all listeners as static listeners or by returning them in a LDS response.

func (*ListenersConfigDump) Descriptor

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

func (*ListenersConfigDump) GetDynamicActiveListeners

func (m *ListenersConfigDump) GetDynamicActiveListeners() []ListenersConfigDump_DynamicListener

func (*ListenersConfigDump) GetDynamicDrainingListeners

func (m *ListenersConfigDump) GetDynamicDrainingListeners() []ListenersConfigDump_DynamicListener

func (*ListenersConfigDump) GetDynamicWarmingListeners

func (m *ListenersConfigDump) GetDynamicWarmingListeners() []ListenersConfigDump_DynamicListener

func (*ListenersConfigDump) GetStaticListeners

func (m *ListenersConfigDump) GetStaticListeners() []ListenersConfigDump_StaticListener

func (*ListenersConfigDump) GetVersionInfo

func (m *ListenersConfigDump) GetVersionInfo() string

func (*ListenersConfigDump) Marshal

func (m *ListenersConfigDump) Marshal() (dAtA []byte, err error)

func (*ListenersConfigDump) MarshalTo

func (m *ListenersConfigDump) MarshalTo(dAtA []byte) (int, error)

func (*ListenersConfigDump) ProtoMessage

func (*ListenersConfigDump) ProtoMessage()

func (*ListenersConfigDump) Reset

func (m *ListenersConfigDump) Reset()

func (*ListenersConfigDump) Size

func (m *ListenersConfigDump) Size() (n int)

func (*ListenersConfigDump) String

func (m *ListenersConfigDump) String() string

func (*ListenersConfigDump) Unmarshal

func (m *ListenersConfigDump) Unmarshal(dAtA []byte) error

func (*ListenersConfigDump) Validate

func (m *ListenersConfigDump) Validate() error

Validate checks the field values on ListenersConfigDump with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListenersConfigDumpValidationError

type ListenersConfigDumpValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ListenersConfigDumpValidationError is the validation error returned by ListenersConfigDump.Validate if the designated constraints aren't met.

func (ListenersConfigDumpValidationError) Error

Error satisfies the builtin error interface

type ListenersConfigDump_DynamicListener

type ListenersConfigDump_DynamicListener struct {
	// This is the per-resource version information. This version is currently taken from the
	// :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time
	// that the listener was loaded. In the future, discrete per-listener versions may be supported
	// by the API.
	VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// The listener config.
	Listener *envoy_api_v23.Listener `protobuf:"bytes,2,opt,name=listener" json:"listener,omitempty"`
	// The timestamp when the Listener was last updated.
	LastUpdated *google_protobuf4.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
}

Describes a dynamically loaded cluster via the LDS API.

func (*ListenersConfigDump_DynamicListener) Descriptor

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

func (*ListenersConfigDump_DynamicListener) GetLastUpdated

func (*ListenersConfigDump_DynamicListener) GetListener

func (*ListenersConfigDump_DynamicListener) GetVersionInfo

func (m *ListenersConfigDump_DynamicListener) GetVersionInfo() string

func (*ListenersConfigDump_DynamicListener) Marshal

func (m *ListenersConfigDump_DynamicListener) Marshal() (dAtA []byte, err error)

func (*ListenersConfigDump_DynamicListener) MarshalTo

func (m *ListenersConfigDump_DynamicListener) MarshalTo(dAtA []byte) (int, error)

func (*ListenersConfigDump_DynamicListener) ProtoMessage

func (*ListenersConfigDump_DynamicListener) ProtoMessage()

func (*ListenersConfigDump_DynamicListener) Reset

func (*ListenersConfigDump_DynamicListener) Size

func (*ListenersConfigDump_DynamicListener) String

func (*ListenersConfigDump_DynamicListener) Unmarshal

func (m *ListenersConfigDump_DynamicListener) Unmarshal(dAtA []byte) error

func (*ListenersConfigDump_DynamicListener) Validate

Validate checks the field values on ListenersConfigDump_DynamicListener with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListenersConfigDump_DynamicListenerValidationError

type ListenersConfigDump_DynamicListenerValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ListenersConfigDump_DynamicListenerValidationError is the validation error returned by ListenersConfigDump_DynamicListener.Validate if the designated constraints aren't met.

func (ListenersConfigDump_DynamicListenerValidationError) Error

Error satisfies the builtin error interface

type ListenersConfigDump_StaticListener

type ListenersConfigDump_StaticListener struct {
	// The listener config.
	Listener *envoy_api_v23.Listener `protobuf:"bytes,1,opt,name=listener" json:"listener,omitempty"`
	// The timestamp when the Listener was last updated.
	LastUpdated *google_protobuf4.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
}

Describes a statically loaded cluster.

func (*ListenersConfigDump_StaticListener) Descriptor

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

func (*ListenersConfigDump_StaticListener) GetLastUpdated

func (*ListenersConfigDump_StaticListener) GetListener

func (*ListenersConfigDump_StaticListener) Marshal

func (m *ListenersConfigDump_StaticListener) Marshal() (dAtA []byte, err error)

func (*ListenersConfigDump_StaticListener) MarshalTo

func (m *ListenersConfigDump_StaticListener) MarshalTo(dAtA []byte) (int, error)

func (*ListenersConfigDump_StaticListener) ProtoMessage

func (*ListenersConfigDump_StaticListener) ProtoMessage()

func (*ListenersConfigDump_StaticListener) Reset

func (*ListenersConfigDump_StaticListener) Size

func (*ListenersConfigDump_StaticListener) String

func (*ListenersConfigDump_StaticListener) Unmarshal

func (m *ListenersConfigDump_StaticListener) Unmarshal(dAtA []byte) error

func (*ListenersConfigDump_StaticListener) Validate

Validate checks the field values on ListenersConfigDump_StaticListener with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListenersConfigDump_StaticListenerValidationError

type ListenersConfigDump_StaticListenerValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ListenersConfigDump_StaticListenerValidationError is the validation error returned by ListenersConfigDump_StaticListener.Validate if the designated constraints aren't met.

func (ListenersConfigDump_StaticListenerValidationError) Error

Error satisfies the builtin error interface

type RoutesConfigDump

type RoutesConfigDump struct {
	// The statically loaded route configs.
	StaticRouteConfigs []RoutesConfigDump_StaticRouteConfig `protobuf:"bytes,2,rep,name=static_route_configs,json=staticRouteConfigs" json:"static_route_configs"`
	// The dynamically loaded route configs.
	DynamicRouteConfigs []RoutesConfigDump_DynamicRouteConfig `protobuf:"bytes,3,rep,name=dynamic_route_configs,json=dynamicRouteConfigs" json:"dynamic_route_configs"`
}

Envoy's RDS implementation fills this message with all currently loaded routes, as described by their RouteConfiguration objects. Static routes configured in the bootstrap configuration are separated from those configured dynamically via RDS. Route configuration information can be used to recreate an Envoy configuration by populating all routes as static routes or by returning them in RDS responses.

func (*RoutesConfigDump) Descriptor

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

func (*RoutesConfigDump) GetDynamicRouteConfigs

func (m *RoutesConfigDump) GetDynamicRouteConfigs() []RoutesConfigDump_DynamicRouteConfig

func (*RoutesConfigDump) GetStaticRouteConfigs

func (m *RoutesConfigDump) GetStaticRouteConfigs() []RoutesConfigDump_StaticRouteConfig

func (*RoutesConfigDump) Marshal

func (m *RoutesConfigDump) Marshal() (dAtA []byte, err error)

func (*RoutesConfigDump) MarshalTo

func (m *RoutesConfigDump) MarshalTo(dAtA []byte) (int, error)

func (*RoutesConfigDump) ProtoMessage

func (*RoutesConfigDump) ProtoMessage()

func (*RoutesConfigDump) Reset

func (m *RoutesConfigDump) Reset()

func (*RoutesConfigDump) Size

func (m *RoutesConfigDump) Size() (n int)

func (*RoutesConfigDump) String

func (m *RoutesConfigDump) String() string

func (*RoutesConfigDump) Unmarshal

func (m *RoutesConfigDump) Unmarshal(dAtA []byte) error

func (*RoutesConfigDump) Validate

func (m *RoutesConfigDump) Validate() error

Validate checks the field values on RoutesConfigDump with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RoutesConfigDumpValidationError

type RoutesConfigDumpValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RoutesConfigDumpValidationError is the validation error returned by RoutesConfigDump.Validate if the designated constraints aren't met.

func (RoutesConfigDumpValidationError) Error

Error satisfies the builtin error interface

type RoutesConfigDump_DynamicRouteConfig

type RoutesConfigDump_DynamicRouteConfig struct {
	// This is the per-resource version information. This version is currently taken from the
	// :ref:`version_info <envoy_api_field_DiscoveryResponse.version_info>` field at the time that
	// the route configuration was loaded.
	VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// The route config.
	RouteConfig *envoy_api_v24.RouteConfiguration `protobuf:"bytes,2,opt,name=route_config,json=routeConfig" json:"route_config,omitempty"`
	// The timestamp when the Route was last updated.
	LastUpdated *google_protobuf4.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
}

func (*RoutesConfigDump_DynamicRouteConfig) Descriptor

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

func (*RoutesConfigDump_DynamicRouteConfig) GetLastUpdated

func (*RoutesConfigDump_DynamicRouteConfig) GetRouteConfig

func (*RoutesConfigDump_DynamicRouteConfig) GetVersionInfo

func (m *RoutesConfigDump_DynamicRouteConfig) GetVersionInfo() string

func (*RoutesConfigDump_DynamicRouteConfig) Marshal

func (m *RoutesConfigDump_DynamicRouteConfig) Marshal() (dAtA []byte, err error)

func (*RoutesConfigDump_DynamicRouteConfig) MarshalTo

func (m *RoutesConfigDump_DynamicRouteConfig) MarshalTo(dAtA []byte) (int, error)

func (*RoutesConfigDump_DynamicRouteConfig) ProtoMessage

func (*RoutesConfigDump_DynamicRouteConfig) ProtoMessage()

func (*RoutesConfigDump_DynamicRouteConfig) Reset

func (*RoutesConfigDump_DynamicRouteConfig) Size

func (*RoutesConfigDump_DynamicRouteConfig) String

func (*RoutesConfigDump_DynamicRouteConfig) Unmarshal

func (m *RoutesConfigDump_DynamicRouteConfig) Unmarshal(dAtA []byte) error

func (*RoutesConfigDump_DynamicRouteConfig) Validate

Validate checks the field values on RoutesConfigDump_DynamicRouteConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RoutesConfigDump_DynamicRouteConfigValidationError

type RoutesConfigDump_DynamicRouteConfigValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RoutesConfigDump_DynamicRouteConfigValidationError is the validation error returned by RoutesConfigDump_DynamicRouteConfig.Validate if the designated constraints aren't met.

func (RoutesConfigDump_DynamicRouteConfigValidationError) Error

Error satisfies the builtin error interface

type RoutesConfigDump_StaticRouteConfig

type RoutesConfigDump_StaticRouteConfig struct {
	// The route config.
	RouteConfig *envoy_api_v24.RouteConfiguration `protobuf:"bytes,1,opt,name=route_config,json=routeConfig" json:"route_config,omitempty"`
	// The timestamp when the Route was last updated.
	LastUpdated *google_protobuf4.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
}

func (*RoutesConfigDump_StaticRouteConfig) Descriptor

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

func (*RoutesConfigDump_StaticRouteConfig) GetLastUpdated

func (*RoutesConfigDump_StaticRouteConfig) GetRouteConfig

func (*RoutesConfigDump_StaticRouteConfig) Marshal

func (m *RoutesConfigDump_StaticRouteConfig) Marshal() (dAtA []byte, err error)

func (*RoutesConfigDump_StaticRouteConfig) MarshalTo

func (m *RoutesConfigDump_StaticRouteConfig) MarshalTo(dAtA []byte) (int, error)

func (*RoutesConfigDump_StaticRouteConfig) ProtoMessage

func (*RoutesConfigDump_StaticRouteConfig) ProtoMessage()

func (*RoutesConfigDump_StaticRouteConfig) Reset

func (*RoutesConfigDump_StaticRouteConfig) Size

func (*RoutesConfigDump_StaticRouteConfig) String

func (*RoutesConfigDump_StaticRouteConfig) Unmarshal

func (m *RoutesConfigDump_StaticRouteConfig) Unmarshal(dAtA []byte) error

func (*RoutesConfigDump_StaticRouteConfig) Validate

Validate checks the field values on RoutesConfigDump_StaticRouteConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RoutesConfigDump_StaticRouteConfigValidationError

type RoutesConfigDump_StaticRouteConfigValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RoutesConfigDump_StaticRouteConfigValidationError is the validation error returned by RoutesConfigDump_StaticRouteConfig.Validate if the designated constraints aren't met.

func (RoutesConfigDump_StaticRouteConfigValidationError) Error

Error satisfies the builtin error interface

type SimpleMetric

type SimpleMetric struct {
	// Type of metric represented.
	Type SimpleMetric_Type `protobuf:"varint,1,opt,name=type,proto3,enum=envoy.admin.v2alpha.SimpleMetric_Type" json:"type,omitempty"`
	// Current metric value.
	Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
}

Proto representation of an Envoy Counter or Gauge value.

func (*SimpleMetric) Descriptor

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

func (*SimpleMetric) GetType

func (m *SimpleMetric) GetType() SimpleMetric_Type

func (*SimpleMetric) GetValue

func (m *SimpleMetric) GetValue() uint64

func (*SimpleMetric) Marshal

func (m *SimpleMetric) Marshal() (dAtA []byte, err error)

func (*SimpleMetric) MarshalTo

func (m *SimpleMetric) MarshalTo(dAtA []byte) (int, error)

func (*SimpleMetric) ProtoMessage

func (*SimpleMetric) ProtoMessage()

func (*SimpleMetric) Reset

func (m *SimpleMetric) Reset()

func (*SimpleMetric) Size

func (m *SimpleMetric) Size() (n int)

func (*SimpleMetric) String

func (m *SimpleMetric) String() string

func (*SimpleMetric) Unmarshal

func (m *SimpleMetric) Unmarshal(dAtA []byte) error

func (*SimpleMetric) Validate

func (m *SimpleMetric) Validate() error

Validate checks the field values on SimpleMetric with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SimpleMetricValidationError

type SimpleMetricValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

SimpleMetricValidationError is the validation error returned by SimpleMetric.Validate if the designated constraints aren't met.

func (SimpleMetricValidationError) Error

Error satisfies the builtin error interface

type SimpleMetric_Type

type SimpleMetric_Type int32
const (
	SimpleMetric_COUNTER SimpleMetric_Type = 0
	SimpleMetric_GAUGE   SimpleMetric_Type = 1
)

func (SimpleMetric_Type) EnumDescriptor

func (SimpleMetric_Type) EnumDescriptor() ([]byte, []int)

func (SimpleMetric_Type) String

func (x SimpleMetric_Type) String() string

Jump to

Keyboard shortcuts

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