go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/cluster/aggregate/v2alpha Index | Files

package envoy_config_cluster_aggregate_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/cluster/aggregate/v2alpha"

Index

Package Files

cluster.pb.go cluster.pb.validate.go

Variables

var File_envoy_config_cluster_aggregate_v2alpha_cluster_proto protoreflect.FileDescriptor

type ClusterConfig Uses

type ClusterConfig struct {

    // Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they
    // appear in this list.
    Clusters []string `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
    // contains filtered or unexported fields
}

Configuration for the aggregate cluster. See the :ref:`architecture overview <arch_overview_aggregate_cluster>` for more information. [#extension: envoy.clusters.aggregate]

func (*ClusterConfig) Descriptor Uses

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

Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.

func (*ClusterConfig) GetClusters Uses

func (x *ClusterConfig) GetClusters() []string

func (*ClusterConfig) ProtoMessage Uses

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) ProtoReflect Uses

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

func (*ClusterConfig) Reset Uses

func (x *ClusterConfig) Reset()

func (*ClusterConfig) String Uses

func (x *ClusterConfig) String() string

func (*ClusterConfig) Validate Uses

func (m *ClusterConfig) Validate() error

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

type ClusterConfigValidationError Uses

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

ClusterConfigValidationError is the validation error returned by ClusterConfig.Validate if the designated constraints aren't met.

func (ClusterConfigValidationError) Cause Uses

func (e ClusterConfigValidationError) Cause() error

Cause function returns cause value.

func (ClusterConfigValidationError) Error Uses

func (e ClusterConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterConfigValidationError) ErrorName Uses

func (e ClusterConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterConfigValidationError) Field Uses

func (e ClusterConfigValidationError) Field() string

Field function returns field value.

func (ClusterConfigValidationError) Key Uses

func (e ClusterConfigValidationError) Key() bool

Key function returns key value.

func (ClusterConfigValidationError) Reason Uses

func (e ClusterConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_cluster_aggregate_v2alpha imports 18 packages (graph) and is imported by 9 packages. Updated 2021-01-07. Refresh now. Tools for package owners.