...

Package envoy_extensions_clusters_aggregate_v3

import "github.com/datawire/ambassador/v2/pkg/api/envoy/extensions/clusters/aggregate/v3"
Overview
Index

Overview ▾

Variables

var File_envoy_extensions_clusters_aggregate_v3_cluster_proto protoreflect.FileDescriptor

type ClusterConfig

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

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
}

func (*ClusterConfig) Descriptor

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

Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.

func (*ClusterConfig) GetClusters

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

func (*ClusterConfig) ProtoMessage

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) ProtoReflect

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

func (*ClusterConfig) Reset

func (x *ClusterConfig) Reset()

func (*ClusterConfig) String

func (x *ClusterConfig) String() string

func (*ClusterConfig) Validate

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

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

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

func (ClusterConfigValidationError) Cause

func (e ClusterConfigValidationError) Cause() error

Cause function returns cause value.

func (ClusterConfigValidationError) Error

func (e ClusterConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterConfigValidationError) ErrorName

func (e ClusterConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterConfigValidationError) Field

func (e ClusterConfigValidationError) Field() string

Field function returns field value.

func (ClusterConfigValidationError) Key

func (e ClusterConfigValidationError) Key() bool

Key function returns key value.

func (ClusterConfigValidationError) Reason

func (e ClusterConfigValidationError) Reason() string

Reason function returns reason value.