envoy_admin_v2alpha

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

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 (
	ErrInvalidLengthMemory = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMemory   = 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 v2.Bootstrap `protobuf:"bytes,1,opt,name=bootstrap" json:"bootstrap"`
	// The timestamp when the BootstrapConfig was last updated.
	LastUpdated          *types.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

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 (m *BootstrapConfigDump) GetBootstrap() v2.Bootstrap

func (*BootstrapConfigDump) GetLastUpdated

func (m *BootstrapConfigDump) GetLastUpdated() *types.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.

func (*BootstrapConfigDump) XXX_DiscardUnknown

func (m *BootstrapConfigDump) XXX_DiscardUnknown()

func (*BootstrapConfigDump) XXX_Marshal

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

func (*BootstrapConfigDump) XXX_Merge

func (dst *BootstrapConfigDump) XXX_Merge(src proto.Message)

func (*BootstrapConfigDump) XXX_Size

func (m *BootstrapConfigDump) XXX_Size() int

func (*BootstrapConfigDump) XXX_Unmarshal

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

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

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() *_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.

func (*ClusterStatus) XXX_DiscardUnknown

func (m *ClusterStatus) XXX_DiscardUnknown()

func (*ClusterStatus) XXX_Marshal

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

func (*ClusterStatus) XXX_Merge

func (dst *ClusterStatus) XXX_Merge(src proto.Message)

func (*ClusterStatus) XXX_Size

func (m *ClusterStatus) XXX_Size() int

func (*ClusterStatus) XXX_Unmarshal

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

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

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.

func (*Clusters) XXX_DiscardUnknown

func (m *Clusters) XXX_DiscardUnknown()

func (*Clusters) XXX_Marshal

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

func (*Clusters) XXX_Merge

func (dst *Clusters) XXX_Merge(src proto.Message)

func (*Clusters) XXX_Size

func (m *Clusters) XXX_Size() int

func (*Clusters) XXX_Unmarshal

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

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

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.

func (*ClustersConfigDump) XXX_DiscardUnknown

func (m *ClustersConfigDump) XXX_DiscardUnknown()

func (*ClustersConfigDump) XXX_Marshal

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

func (*ClustersConfigDump) XXX_Merge

func (dst *ClustersConfigDump) XXX_Merge(src proto.Message)

func (*ClustersConfigDump) XXX_Size

func (m *ClustersConfigDump) XXX_Size() int

func (*ClustersConfigDump) XXX_Unmarshal

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

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 *v21.Cluster `protobuf:"bytes,2,opt,name=cluster" json:"cluster,omitempty"`
	// The timestamp when the Cluster was last updated.
	LastUpdated          *types.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

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 (m *ClustersConfigDump_DynamicCluster) GetLastUpdated() *types.Timestamp

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.

func (*ClustersConfigDump_DynamicCluster) XXX_DiscardUnknown

func (m *ClustersConfigDump_DynamicCluster) XXX_DiscardUnknown()

func (*ClustersConfigDump_DynamicCluster) XXX_Marshal

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

func (*ClustersConfigDump_DynamicCluster) XXX_Merge

func (dst *ClustersConfigDump_DynamicCluster) XXX_Merge(src proto.Message)

func (*ClustersConfigDump_DynamicCluster) XXX_Size

func (m *ClustersConfigDump_DynamicCluster) XXX_Size() int

func (*ClustersConfigDump_DynamicCluster) XXX_Unmarshal

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

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 *v21.Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"`
	// The timestamp when the Cluster was last updated.
	LastUpdated          *types.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Describes a statically loaded cluster.

func (*ClustersConfigDump_StaticCluster) Descriptor

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

func (*ClustersConfigDump_StaticCluster) GetCluster

func (m *ClustersConfigDump_StaticCluster) GetCluster() *v21.Cluster

func (*ClustersConfigDump_StaticCluster) GetLastUpdated

func (m *ClustersConfigDump_StaticCluster) GetLastUpdated() *types.Timestamp

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.

func (*ClustersConfigDump_StaticCluster) XXX_DiscardUnknown

func (m *ClustersConfigDump_StaticCluster) XXX_DiscardUnknown()

func (*ClustersConfigDump_StaticCluster) XXX_Marshal

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

func (*ClustersConfigDump_StaticCluster) XXX_Merge

func (dst *ClustersConfigDump_StaticCluster) XXX_Merge(src proto.Message)

func (*ClustersConfigDump_StaticCluster) XXX_Size

func (m *ClustersConfigDump_StaticCluster) XXX_Size() int

func (*ClustersConfigDump_StaticCluster) XXX_Unmarshal

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

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 list is serialized and dumped in its entirety at the
	// :ref:`/config_dump <operations_admin_interface_config_dump>` endpoint.
	//
	// The following configurations are currently supported and will be dumped in the order given
	// below:
	//
	// * *bootstrap*: :ref:`BootstrapConfigDump <envoy_api_msg_admin.v2alpha.BootstrapConfigDump>`
	// * *clusters*: :ref:`ClustersConfigDump <envoy_api_msg_admin.v2alpha.ClustersConfigDump>`
	// * *listeners*: :ref:`ListenersConfigDump <envoy_api_msg_admin.v2alpha.ListenersConfigDump>`
	// * *routes*:  :ref:`RoutesConfigDump <envoy_api_msg_admin.v2alpha.RoutesConfigDump>`
	Configs              []types.Any `protobuf:"bytes,1,rep,name=configs" json:"configs"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

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() []types.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.

func (*ConfigDump) XXX_DiscardUnknown

func (m *ConfigDump) XXX_DiscardUnknown()

func (*ConfigDump) XXX_Marshal

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

func (*ConfigDump) XXX_Merge

func (dst *ConfigDump) XXX_Merge(src proto.Message)

func (*ConfigDump) XXX_Size

func (m *ConfigDump) XXX_Size() int

func (*ConfigDump) XXX_Unmarshal

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

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      core.HealthStatus `` /* 145-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Health status for a host.

func (*HostHealthStatus) Descriptor

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

func (*HostHealthStatus) GetEdsHealthStatus

func (m *HostHealthStatus) GetEdsHealthStatus() core.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.

func (*HostHealthStatus) XXX_DiscardUnknown

func (m *HostHealthStatus) XXX_DiscardUnknown()

func (*HostHealthStatus) XXX_Marshal

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

func (*HostHealthStatus) XXX_Merge

func (dst *HostHealthStatus) XXX_Merge(src proto.Message)

func (*HostHealthStatus) XXX_Size

func (m *HostHealthStatus) XXX_Size() int

func (*HostHealthStatus) XXX_Unmarshal

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

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 *core.Address `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	// List of stats specific to this host.
	Stats []*SimpleMetric `protobuf:"bytes,2,rep,name=stats" json:"stats,omitempty"`
	// 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          *_type.Percent `protobuf:"bytes,4,opt,name=success_rate,json=successRate" json:"success_rate,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Current state of a particular host.

func (*HostStatus) Descriptor

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

func (*HostStatus) GetAddress

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

func (*HostStatus) GetHealthStatus

func (m *HostStatus) GetHealthStatus() *HostHealthStatus

func (*HostStatus) GetStats

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

func (*HostStatus) GetSuccessRate

func (m *HostStatus) GetSuccessRate() *_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.

func (*HostStatus) XXX_DiscardUnknown

func (m *HostStatus) XXX_DiscardUnknown()

func (*HostStatus) XXX_Marshal

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

func (*HostStatus) XXX_Merge

func (dst *HostStatus) XXX_Merge(src proto.Message)

func (*HostStatus) XXX_Size

func (m *HostStatus) XXX_Size() int

func (*HostStatus) XXX_Unmarshal

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

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

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.

func (*ListenersConfigDump) XXX_DiscardUnknown

func (m *ListenersConfigDump) XXX_DiscardUnknown()

func (*ListenersConfigDump) XXX_Marshal

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

func (*ListenersConfigDump) XXX_Merge

func (dst *ListenersConfigDump) XXX_Merge(src proto.Message)

func (*ListenersConfigDump) XXX_Size

func (m *ListenersConfigDump) XXX_Size() int

func (*ListenersConfigDump) XXX_Unmarshal

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

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 *v21.Listener `protobuf:"bytes,2,opt,name=listener" json:"listener,omitempty"`
	// The timestamp when the Listener was last updated.
	LastUpdated          *types.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

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.

func (*ListenersConfigDump_DynamicListener) XXX_DiscardUnknown

func (m *ListenersConfigDump_DynamicListener) XXX_DiscardUnknown()

func (*ListenersConfigDump_DynamicListener) XXX_Marshal

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

func (*ListenersConfigDump_DynamicListener) XXX_Merge

func (*ListenersConfigDump_DynamicListener) XXX_Size

func (*ListenersConfigDump_DynamicListener) XXX_Unmarshal

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

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 *v21.Listener `protobuf:"bytes,1,opt,name=listener" json:"listener,omitempty"`
	// The timestamp when the Listener was last updated.
	LastUpdated          *types.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Describes a statically loaded cluster.

func (*ListenersConfigDump_StaticListener) Descriptor

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

func (*ListenersConfigDump_StaticListener) GetLastUpdated

func (m *ListenersConfigDump_StaticListener) GetLastUpdated() *types.Timestamp

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.

func (*ListenersConfigDump_StaticListener) XXX_DiscardUnknown

func (m *ListenersConfigDump_StaticListener) XXX_DiscardUnknown()

func (*ListenersConfigDump_StaticListener) XXX_Marshal

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

func (*ListenersConfigDump_StaticListener) XXX_Merge

func (dst *ListenersConfigDump_StaticListener) XXX_Merge(src proto.Message)

func (*ListenersConfigDump_StaticListener) XXX_Size

func (*ListenersConfigDump_StaticListener) XXX_Unmarshal

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

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 Memory added in v0.6.0

type Memory struct {
	// The number of bytes allocated by the heap for Envoy. This is an alias for
	// `generic.current_allocated_bytes`.
	Allocated uint64 `protobuf:"varint,1,opt,name=allocated,proto3" json:"allocated,omitempty"`
	// The number of bytes reserved by the heap but not necessarily allocated. This is an alias for
	// `generic.heap_size`.
	HeapSize             uint64   `protobuf:"varint,2,opt,name=heap_size,json=heapSize,proto3" json:"heap_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Proto representation of the internal memory consumption of an Envoy instance. These represent values extracted from an internal TCMalloc instance. For more information, see the section of the docs entitled ["Generic Tcmalloc Status"](http://gperftools.github.io/gperftools/tcmalloc.html).

func (*Memory) Descriptor added in v0.6.0

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

func (*Memory) GetAllocated added in v0.6.0

func (m *Memory) GetAllocated() uint64

func (*Memory) GetHeapSize added in v0.6.0

func (m *Memory) GetHeapSize() uint64

func (*Memory) Marshal added in v0.6.0

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

func (*Memory) MarshalTo added in v0.6.0

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

func (*Memory) ProtoMessage added in v0.6.0

func (*Memory) ProtoMessage()

func (*Memory) Reset added in v0.6.0

func (m *Memory) Reset()

func (*Memory) Size added in v0.6.0

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

func (*Memory) String added in v0.6.0

func (m *Memory) String() string

func (*Memory) Unmarshal added in v0.6.0

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

func (*Memory) Validate added in v0.6.0

func (m *Memory) Validate() error

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

func (*Memory) XXX_DiscardUnknown added in v0.6.0

func (m *Memory) XXX_DiscardUnknown()

func (*Memory) XXX_Marshal added in v0.6.0

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

func (*Memory) XXX_Merge added in v0.6.0

func (dst *Memory) XXX_Merge(src proto.Message)

func (*Memory) XXX_Size added in v0.6.0

func (m *Memory) XXX_Size() int

func (*Memory) XXX_Unmarshal added in v0.6.0

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

type MemoryValidationError added in v0.6.0

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

MemoryValidationError is the validation error returned by Memory.Validate if the designated constraints aren't met.

func (MemoryValidationError) Error added in v0.6.0

func (e MemoryValidationError) Error() string

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

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.

func (*RoutesConfigDump) XXX_DiscardUnknown

func (m *RoutesConfigDump) XXX_DiscardUnknown()

func (*RoutesConfigDump) XXX_Marshal

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

func (*RoutesConfigDump) XXX_Merge

func (dst *RoutesConfigDump) XXX_Merge(src proto.Message)

func (*RoutesConfigDump) XXX_Size

func (m *RoutesConfigDump) XXX_Size() int

func (*RoutesConfigDump) XXX_Unmarshal

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

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 *v21.RouteConfiguration `protobuf:"bytes,2,opt,name=route_config,json=routeConfig" json:"route_config,omitempty"`
	// The timestamp when the Route was last updated.
	LastUpdated          *types.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

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.

func (*RoutesConfigDump_DynamicRouteConfig) XXX_DiscardUnknown

func (m *RoutesConfigDump_DynamicRouteConfig) XXX_DiscardUnknown()

func (*RoutesConfigDump_DynamicRouteConfig) XXX_Marshal

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

func (*RoutesConfigDump_DynamicRouteConfig) XXX_Merge

func (*RoutesConfigDump_DynamicRouteConfig) XXX_Size

func (*RoutesConfigDump_DynamicRouteConfig) XXX_Unmarshal

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

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 *v21.RouteConfiguration `protobuf:"bytes,1,opt,name=route_config,json=routeConfig" json:"route_config,omitempty"`
	// The timestamp when the Route was last updated.
	LastUpdated          *types.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*RoutesConfigDump_StaticRouteConfig) Descriptor

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

func (*RoutesConfigDump_StaticRouteConfig) GetLastUpdated

func (m *RoutesConfigDump_StaticRouteConfig) GetLastUpdated() *types.Timestamp

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.

func (*RoutesConfigDump_StaticRouteConfig) XXX_DiscardUnknown

func (m *RoutesConfigDump_StaticRouteConfig) XXX_DiscardUnknown()

func (*RoutesConfigDump_StaticRouteConfig) XXX_Marshal

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

func (*RoutesConfigDump_StaticRouteConfig) XXX_Merge

func (dst *RoutesConfigDump_StaticRouteConfig) XXX_Merge(src proto.Message)

func (*RoutesConfigDump_StaticRouteConfig) XXX_Size

func (*RoutesConfigDump_StaticRouteConfig) XXX_Unmarshal

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

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 the 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"`
	// Name of the metric.
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Proto representation of an Envoy Counter or Gauge value.

func (*SimpleMetric) Descriptor

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

func (*SimpleMetric) GetName added in v0.6.0

func (m *SimpleMetric) GetName() string

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.

func (*SimpleMetric) XXX_DiscardUnknown

func (m *SimpleMetric) XXX_DiscardUnknown()

func (*SimpleMetric) XXX_Marshal

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

func (*SimpleMetric) XXX_Merge

func (dst *SimpleMetric) XXX_Merge(src proto.Message)

func (*SimpleMetric) XXX_Size

func (m *SimpleMetric) XXX_Size() int

func (*SimpleMetric) XXX_Unmarshal

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

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