Documentation
¶
Index ¶
- Variables
- type AggregateClusterResource
- func (x *AggregateClusterResource) ClearConfigSource()
- func (x *AggregateClusterResource) GetConfigSource() *v3.ConfigSource
- func (x *AggregateClusterResource) GetResourceName() string
- func (x *AggregateClusterResource) HasConfigSource() bool
- func (*AggregateClusterResource) ProtoMessage()
- func (x *AggregateClusterResource) ProtoReflect() protoreflect.Message
- func (x *AggregateClusterResource) Reset()
- func (x *AggregateClusterResource) SetConfigSource(v *v3.ConfigSource)
- func (x *AggregateClusterResource) SetResourceName(v string)
- func (x *AggregateClusterResource) String() string
- type AggregateClusterResource_builder
- type ClusterConfig
- type ClusterConfig_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_clusters_aggregate_v3_cluster_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AggregateClusterResource ¶
type AggregateClusterResource struct {
// Configuration source specifier for the ClusterConfig resource.
// Only the aggregated protocol variants are supported; if configured
// otherwise, the cluster resource will be NACKed.
ConfigSource *v3.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
// The name of the ClusterConfig resource to subscribe to.
ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// contains filtered or unexported fields
}
Configures an aggregate cluster whose :ref:`ClusterConfig <envoy_v3_api_msg_extensions.clusters.aggregate.v3.ClusterConfig>` is to be fetched from a separate xDS resource. [#extension: envoy.clusters.aggregate_resource] [#not-implemented-hide:]
func (*AggregateClusterResource) ClearConfigSource ¶
func (x *AggregateClusterResource) ClearConfigSource()
func (*AggregateClusterResource) GetConfigSource ¶
func (x *AggregateClusterResource) GetConfigSource() *v3.ConfigSource
func (*AggregateClusterResource) GetResourceName ¶
func (x *AggregateClusterResource) GetResourceName() string
func (*AggregateClusterResource) HasConfigSource ¶
func (x *AggregateClusterResource) HasConfigSource() bool
func (*AggregateClusterResource) ProtoMessage ¶
func (*AggregateClusterResource) ProtoMessage()
func (*AggregateClusterResource) ProtoReflect ¶
func (x *AggregateClusterResource) ProtoReflect() protoreflect.Message
func (*AggregateClusterResource) Reset ¶
func (x *AggregateClusterResource) Reset()
func (*AggregateClusterResource) SetConfigSource ¶
func (x *AggregateClusterResource) SetConfigSource(v *v3.ConfigSource)
func (*AggregateClusterResource) SetResourceName ¶
func (x *AggregateClusterResource) SetResourceName(v string)
func (*AggregateClusterResource) String ¶
func (x *AggregateClusterResource) String() string
type AggregateClusterResource_builder ¶
type AggregateClusterResource_builder struct {
// Configuration source specifier for the ClusterConfig resource.
// Only the aggregated protocol variants are supported; if configured
// otherwise, the cluster resource will be NACKed.
ConfigSource *v3.ConfigSource
// The name of the ClusterConfig resource to subscribe to.
ResourceName string
// contains filtered or unexported fields
}
func (AggregateClusterResource_builder) Build ¶
func (b0 AggregateClusterResource_builder) Build() *AggregateClusterResource
type ClusterConfig ¶
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) 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) SetClusters ¶
func (x *ClusterConfig) SetClusters(v []string)
func (*ClusterConfig) String ¶
func (x *ClusterConfig) String() string
type ClusterConfig_builder ¶
type ClusterConfig_builder struct {
// Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they
// appear in this list.
Clusters []string
// contains filtered or unexported fields
}
func (ClusterConfig_builder) Build ¶
func (b0 ClusterConfig_builder) Build() *ClusterConfig
Source Files
¶
- cluster.pb.go
Click to show internal directories.
Click to hide internal directories.