envoy_api_v2

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cluster_ClusterProtocolSelection_name = map[int32]string{
	0: "USE_CONFIGURED_PROTOCOL",
	1: "USE_DOWNSTREAM_PROTOCOL",
}
View Source
var Cluster_ClusterProtocolSelection_value = map[string]int32{
	"USE_CONFIGURED_PROTOCOL": 0,
	"USE_DOWNSTREAM_PROTOCOL": 1,
}
View Source
var Cluster_DiscoveryType_name = map[int32]string{
	0: "STATIC",
	1: "STRICT_DNS",
	2: "LOGICAL_DNS",
	3: "EDS",
	4: "ORIGINAL_DST",
}
View Source
var Cluster_DiscoveryType_value = map[string]int32{
	"STATIC":       0,
	"STRICT_DNS":   1,
	"LOGICAL_DNS":  2,
	"EDS":          3,
	"ORIGINAL_DST": 4,
}
View Source
var Cluster_DnsLookupFamily_name = map[int32]string{
	0: "AUTO",
	1: "V4_ONLY",
	2: "V6_ONLY",
}
View Source
var Cluster_DnsLookupFamily_value = map[string]int32{
	"AUTO":    0,
	"V4_ONLY": 1,
	"V6_ONLY": 2,
}
View Source
var Cluster_LbPolicy_name = map[int32]string{
	0: "ROUND_ROBIN",
	1: "LEAST_REQUEST",
	2: "RING_HASH",
	3: "RANDOM",
	4: "ORIGINAL_DST_LB",
	5: "MAGLEV",
}
View Source
var Cluster_LbPolicy_value = map[string]int32{
	"ROUND_ROBIN":     0,
	"LEAST_REQUEST":   1,
	"RING_HASH":       2,
	"RANDOM":          3,
	"ORIGINAL_DST_LB": 4,
	"MAGLEV":          5,
}
View Source
var Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_name = map[int32]string{
	0: "NO_FALLBACK",
	1: "ANY_ENDPOINT",
	2: "DEFAULT_SUBSET",
}
View Source
var Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_value = map[string]int32{
	"NO_FALLBACK":    0,
	"ANY_ENDPOINT":   1,
	"DEFAULT_SUBSET": 2,
}
View Source
var Cluster_RingHashLbConfig_HashFunction_name = map[int32]string{
	0: "XX_HASH",
	1: "MURMUR_HASH_2",
}
View Source
var Cluster_RingHashLbConfig_HashFunction_value = map[string]int32{
	"XX_HASH":       0,
	"MURMUR_HASH_2": 1,
}

Functions

func RegisterClusterDiscoveryServiceServer

func RegisterClusterDiscoveryServiceServer(s *grpc.Server, srv ClusterDiscoveryServiceServer)

Types

type Cluster

type Cluster struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	AltStatName string `protobuf:"bytes,28,opt,name=alt_stat_name,json=altStatName,proto3" json:"alt_stat_name,omitempty"`
	// Types that are valid to be assigned to ClusterDiscoveryType:
	//	*Cluster_Type
	//	*Cluster_ClusterType
	ClusterDiscoveryType          isCluster_ClusterDiscoveryType      `protobuf_oneof:"cluster_discovery_type"`
	EdsClusterConfig              *Cluster_EdsClusterConfig           `protobuf:"bytes,3,opt,name=eds_cluster_config,json=edsClusterConfig,proto3" json:"eds_cluster_config,omitempty"`
	ConnectTimeout                *duration.Duration                  `protobuf:"bytes,4,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"`
	PerConnectionBufferLimitBytes *wrappers.UInt32Value               `` /* 154-byte string literal not displayed */
	LbPolicy                      Cluster_LbPolicy                    `protobuf:"varint,6,opt,name=lb_policy,json=lbPolicy,proto3,enum=envoy.api.v2.Cluster_LbPolicy" json:"lb_policy,omitempty"`
	Hosts                         []*address.Address                  `protobuf:"bytes,7,rep,name=hosts,proto3" json:"hosts,omitempty"` // Deprecated: Do not use.
	LoadAssignment                *eds.ClusterLoadAssignment          `protobuf:"bytes,33,opt,name=load_assignment,json=loadAssignment,proto3" json:"load_assignment,omitempty"`
	HealthChecks                  []*health_check.HealthCheck         `protobuf:"bytes,8,rep,name=health_checks,json=healthChecks,proto3" json:"health_checks,omitempty"`
	MaxRequestsPerConnection      *wrappers.UInt32Value               `` /* 137-byte string literal not displayed */
	CircuitBreakers               *circuit_breaker.CircuitBreakers    `protobuf:"bytes,10,opt,name=circuit_breakers,json=circuitBreakers,proto3" json:"circuit_breakers,omitempty"`
	TlsContext                    *cert.UpstreamTlsContext            `protobuf:"bytes,11,opt,name=tls_context,json=tlsContext,proto3" json:"tls_context,omitempty"`
	CommonHttpProtocolOptions     *protocol.HttpProtocolOptions       `` /* 141-byte string literal not displayed */
	HttpProtocolOptions           *protocol.Http1ProtocolOptions      `protobuf:"bytes,13,opt,name=http_protocol_options,json=httpProtocolOptions,proto3" json:"http_protocol_options,omitempty"`
	Http2ProtocolOptions          *protocol.Http2ProtocolOptions      `protobuf:"bytes,14,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"`
	ExtensionProtocolOptions      map[string]*_struct.Struct          `` /* 224-byte string literal not displayed */
	TypedExtensionProtocolOptions map[string]*any.Any                 `` /* 241-byte string literal not displayed */
	DnsRefreshRate                *duration.Duration                  `protobuf:"bytes,16,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dns_refresh_rate,omitempty"`
	DnsLookupFamily               Cluster_DnsLookupFamily             `` /* 152-byte string literal not displayed */
	DnsResolvers                  []*address.Address                  `protobuf:"bytes,18,rep,name=dns_resolvers,json=dnsResolvers,proto3" json:"dns_resolvers,omitempty"`
	OutlierDetection              *outlier_detection.OutlierDetection `protobuf:"bytes,19,opt,name=outlier_detection,json=outlierDetection,proto3" json:"outlier_detection,omitempty"`
	CleanupInterval               *duration.Duration                  `protobuf:"bytes,20,opt,name=cleanup_interval,json=cleanupInterval,proto3" json:"cleanup_interval,omitempty"`
	UpstreamBindConfig            *address.BindConfig                 `protobuf:"bytes,21,opt,name=upstream_bind_config,json=upstreamBindConfig,proto3" json:"upstream_bind_config,omitempty"`
	LbSubsetConfig                *Cluster_LbSubsetConfig             `protobuf:"bytes,22,opt,name=lb_subset_config,json=lbSubsetConfig,proto3" json:"lb_subset_config,omitempty"`
	// Types that are valid to be assigned to LbConfig:
	//	*Cluster_RingHashLbConfig_
	//	*Cluster_OriginalDstLbConfig_
	//	*Cluster_LeastRequestLbConfig_
	LbConfig                            isCluster_LbConfig               `protobuf_oneof:"lb_config"`
	CommonLbConfig                      *Cluster_CommonLbConfig          `protobuf:"bytes,27,opt,name=common_lb_config,json=commonLbConfig,proto3" json:"common_lb_config,omitempty"`
	TransportSocket                     *base.TransportSocket            `protobuf:"bytes,24,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
	Metadata                            *base.Metadata                   `protobuf:"bytes,25,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ProtocolSelection                   Cluster_ClusterProtocolSelection `` /* 165-byte string literal not displayed */
	UpstreamConnectionOptions           *UpstreamConnectionOptions       `` /* 139-byte string literal not displayed */
	CloseConnectionsOnHostHealthFailure bool                             `` /* 176-byte string literal not displayed */
	DrainConnectionsOnHostRemoval       bool                             `` /* 156-byte string literal not displayed */
	XXX_NoUnkeyedLiteral                struct{}                         `json:"-"`
	XXX_unrecognized                    []byte                           `json:"-"`
	XXX_sizecache                       int32                            `json:"-"`
}

func (*Cluster) Descriptor

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

func (*Cluster) GetAltStatName

func (m *Cluster) GetAltStatName() string

func (*Cluster) GetCircuitBreakers

func (m *Cluster) GetCircuitBreakers() *circuit_breaker.CircuitBreakers

func (*Cluster) GetCleanupInterval

func (m *Cluster) GetCleanupInterval() *duration.Duration

func (*Cluster) GetCloseConnectionsOnHostHealthFailure

func (m *Cluster) GetCloseConnectionsOnHostHealthFailure() bool

func (*Cluster) GetClusterDiscoveryType

func (m *Cluster) GetClusterDiscoveryType() isCluster_ClusterDiscoveryType

func (*Cluster) GetClusterType

func (m *Cluster) GetClusterType() *Cluster_CustomClusterType

func (*Cluster) GetCommonHttpProtocolOptions

func (m *Cluster) GetCommonHttpProtocolOptions() *protocol.HttpProtocolOptions

func (*Cluster) GetCommonLbConfig

func (m *Cluster) GetCommonLbConfig() *Cluster_CommonLbConfig

func (*Cluster) GetConnectTimeout

func (m *Cluster) GetConnectTimeout() *duration.Duration

func (*Cluster) GetDnsLookupFamily

func (m *Cluster) GetDnsLookupFamily() Cluster_DnsLookupFamily

func (*Cluster) GetDnsRefreshRate

func (m *Cluster) GetDnsRefreshRate() *duration.Duration

func (*Cluster) GetDnsResolvers

func (m *Cluster) GetDnsResolvers() []*address.Address

func (*Cluster) GetDrainConnectionsOnHostRemoval

func (m *Cluster) GetDrainConnectionsOnHostRemoval() bool

func (*Cluster) GetEdsClusterConfig

func (m *Cluster) GetEdsClusterConfig() *Cluster_EdsClusterConfig

func (*Cluster) GetExtensionProtocolOptions

func (m *Cluster) GetExtensionProtocolOptions() map[string]*_struct.Struct

func (*Cluster) GetHealthChecks

func (m *Cluster) GetHealthChecks() []*health_check.HealthCheck

func (*Cluster) GetHosts deprecated

func (m *Cluster) GetHosts() []*address.Address

Deprecated: Do not use.

func (*Cluster) GetHttp2ProtocolOptions

func (m *Cluster) GetHttp2ProtocolOptions() *protocol.Http2ProtocolOptions

func (*Cluster) GetHttpProtocolOptions

func (m *Cluster) GetHttpProtocolOptions() *protocol.Http1ProtocolOptions

func (*Cluster) GetLbConfig

func (m *Cluster) GetLbConfig() isCluster_LbConfig

func (*Cluster) GetLbPolicy

func (m *Cluster) GetLbPolicy() Cluster_LbPolicy

func (*Cluster) GetLbSubsetConfig

func (m *Cluster) GetLbSubsetConfig() *Cluster_LbSubsetConfig

func (*Cluster) GetLeastRequestLbConfig

func (m *Cluster) GetLeastRequestLbConfig() *Cluster_LeastRequestLbConfig

func (*Cluster) GetLoadAssignment

func (m *Cluster) GetLoadAssignment() *eds.ClusterLoadAssignment

func (*Cluster) GetMaxRequestsPerConnection

func (m *Cluster) GetMaxRequestsPerConnection() *wrappers.UInt32Value

func (*Cluster) GetMetadata

func (m *Cluster) GetMetadata() *base.Metadata

func (*Cluster) GetName

func (m *Cluster) GetName() string

func (*Cluster) GetOriginalDstLbConfig

func (m *Cluster) GetOriginalDstLbConfig() *Cluster_OriginalDstLbConfig

func (*Cluster) GetOutlierDetection

func (m *Cluster) GetOutlierDetection() *outlier_detection.OutlierDetection

func (*Cluster) GetPerConnectionBufferLimitBytes

func (m *Cluster) GetPerConnectionBufferLimitBytes() *wrappers.UInt32Value

func (*Cluster) GetProtocolSelection

func (m *Cluster) GetProtocolSelection() Cluster_ClusterProtocolSelection

func (*Cluster) GetRingHashLbConfig

func (m *Cluster) GetRingHashLbConfig() *Cluster_RingHashLbConfig

func (*Cluster) GetTlsContext

func (m *Cluster) GetTlsContext() *cert.UpstreamTlsContext

func (*Cluster) GetTransportSocket

func (m *Cluster) GetTransportSocket() *base.TransportSocket

func (*Cluster) GetType

func (m *Cluster) GetType() Cluster_DiscoveryType

func (*Cluster) GetTypedExtensionProtocolOptions

func (m *Cluster) GetTypedExtensionProtocolOptions() map[string]*any.Any

func (*Cluster) GetUpstreamBindConfig

func (m *Cluster) GetUpstreamBindConfig() *address.BindConfig

func (*Cluster) GetUpstreamConnectionOptions

func (m *Cluster) GetUpstreamConnectionOptions() *UpstreamConnectionOptions

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) String

func (m *Cluster) String() string

func (*Cluster) XXX_DiscardUnknown

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal

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

func (*Cluster) XXX_Merge

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

func (*Cluster) XXX_OneofFuncs

func (*Cluster) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Cluster) XXX_Size

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal

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

type ClusterDiscoveryServiceClient

type ClusterDiscoveryServiceClient interface {
	StreamClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_StreamClustersClient, error)
	DeltaClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_DeltaClustersClient, error)
	FetchClusters(ctx context.Context, in *discovery.DiscoveryRequest, opts ...grpc.CallOption) (*discovery.DiscoveryResponse, error)
}

ClusterDiscoveryServiceClient is the client API for ClusterDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClusterDiscoveryServiceClient

func NewClusterDiscoveryServiceClient(cc *grpc.ClientConn) ClusterDiscoveryServiceClient

type ClusterDiscoveryServiceServer

type ClusterDiscoveryServiceServer interface {
	StreamClusters(ClusterDiscoveryService_StreamClustersServer) error
	DeltaClusters(ClusterDiscoveryService_DeltaClustersServer) error
	FetchClusters(context.Context, *discovery.DiscoveryRequest) (*discovery.DiscoveryResponse, error)
}

ClusterDiscoveryServiceServer is the server API for ClusterDiscoveryService service.

type ClusterDiscoveryService_DeltaClustersClient

type ClusterDiscoveryService_DeltaClustersClient interface {
	Send(*discovery.DeltaDiscoveryRequest) error
	Recv() (*discovery.DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type ClusterDiscoveryService_DeltaClustersServer

type ClusterDiscoveryService_DeltaClustersServer interface {
	Send(*discovery.DeltaDiscoveryResponse) error
	Recv() (*discovery.DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

type ClusterDiscoveryService_StreamClustersClient

type ClusterDiscoveryService_StreamClustersClient interface {
	Send(*discovery.DiscoveryRequest) error
	Recv() (*discovery.DiscoveryResponse, error)
	grpc.ClientStream
}

type ClusterDiscoveryService_StreamClustersServer

type ClusterDiscoveryService_StreamClustersServer interface {
	Send(*discovery.DiscoveryResponse) error
	Recv() (*discovery.DiscoveryRequest, error)
	grpc.ServerStream
}

type Cluster_ClusterProtocolSelection

type Cluster_ClusterProtocolSelection int32
const (
	Cluster_USE_CONFIGURED_PROTOCOL Cluster_ClusterProtocolSelection = 0
	Cluster_USE_DOWNSTREAM_PROTOCOL Cluster_ClusterProtocolSelection = 1
)

func (Cluster_ClusterProtocolSelection) EnumDescriptor

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

func (Cluster_ClusterProtocolSelection) String

type Cluster_ClusterType

type Cluster_ClusterType struct {
	ClusterType *Cluster_CustomClusterType `protobuf:"bytes,38,opt,name=cluster_type,json=clusterType,proto3,oneof"`
}

type Cluster_CommonLbConfig

type Cluster_CommonLbConfig struct {
	HealthyPanicThreshold *percent.Percent `` /* 126-byte string literal not displayed */
	// Types that are valid to be assigned to LocalityConfigSpecifier:
	//	*Cluster_CommonLbConfig_ZoneAwareLbConfig_
	//	*Cluster_CommonLbConfig_LocalityWeightedLbConfig_
	LocalityConfigSpecifier isCluster_CommonLbConfig_LocalityConfigSpecifier `protobuf_oneof:"locality_config_specifier"`
	UpdateMergeWindow       *duration.Duration                               `protobuf:"bytes,4,opt,name=update_merge_window,json=updateMergeWindow,proto3" json:"update_merge_window,omitempty"`
	XXX_NoUnkeyedLiteral    struct{}                                         `json:"-"`
	XXX_unrecognized        []byte                                           `json:"-"`
	XXX_sizecache           int32                                            `json:"-"`
}

func (*Cluster_CommonLbConfig) Descriptor

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

func (*Cluster_CommonLbConfig) GetHealthyPanicThreshold

func (m *Cluster_CommonLbConfig) GetHealthyPanicThreshold() *percent.Percent

func (*Cluster_CommonLbConfig) GetLocalityConfigSpecifier

func (m *Cluster_CommonLbConfig) GetLocalityConfigSpecifier() isCluster_CommonLbConfig_LocalityConfigSpecifier

func (*Cluster_CommonLbConfig) GetLocalityWeightedLbConfig

func (*Cluster_CommonLbConfig) GetUpdateMergeWindow

func (m *Cluster_CommonLbConfig) GetUpdateMergeWindow() *duration.Duration

func (*Cluster_CommonLbConfig) GetZoneAwareLbConfig

func (*Cluster_CommonLbConfig) ProtoMessage

func (*Cluster_CommonLbConfig) ProtoMessage()

func (*Cluster_CommonLbConfig) Reset

func (m *Cluster_CommonLbConfig) Reset()

func (*Cluster_CommonLbConfig) String

func (m *Cluster_CommonLbConfig) String() string

func (*Cluster_CommonLbConfig) XXX_DiscardUnknown

func (m *Cluster_CommonLbConfig) XXX_DiscardUnknown()

func (*Cluster_CommonLbConfig) XXX_Marshal

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

func (*Cluster_CommonLbConfig) XXX_Merge

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

func (*Cluster_CommonLbConfig) XXX_OneofFuncs

func (*Cluster_CommonLbConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Cluster_CommonLbConfig) XXX_Size

func (m *Cluster_CommonLbConfig) XXX_Size() int

func (*Cluster_CommonLbConfig) XXX_Unmarshal

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

type Cluster_CommonLbConfig_LocalityWeightedLbConfig

type Cluster_CommonLbConfig_LocalityWeightedLbConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Descriptor

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) ProtoMessage

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Reset

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) String

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_DiscardUnknown

func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_DiscardUnknown()

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Marshal

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

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Merge

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Size

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Unmarshal

type Cluster_CommonLbConfig_LocalityWeightedLbConfig_

type Cluster_CommonLbConfig_LocalityWeightedLbConfig_ struct {
	LocalityWeightedLbConfig *Cluster_CommonLbConfig_LocalityWeightedLbConfig `protobuf:"bytes,3,opt,name=locality_weighted_lb_config,json=localityWeightedLbConfig,proto3,oneof"`
}

type Cluster_CommonLbConfig_ZoneAwareLbConfig

type Cluster_CommonLbConfig_ZoneAwareLbConfig struct {
	RoutingEnabled       *percent.Percent      `protobuf:"bytes,1,opt,name=routing_enabled,json=routingEnabled,proto3" json:"routing_enabled,omitempty"`
	MinClusterSize       *wrappers.UInt64Value `protobuf:"bytes,2,opt,name=min_cluster_size,json=minClusterSize,proto3" json:"min_cluster_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Descriptor

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

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) GetMinClusterSize

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) GetRoutingEnabled

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) ProtoMessage

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Reset

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) String

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_DiscardUnknown

func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_DiscardUnknown()

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Marshal

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

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Merge

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Size

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Unmarshal

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

type Cluster_CommonLbConfig_ZoneAwareLbConfig_

type Cluster_CommonLbConfig_ZoneAwareLbConfig_ struct {
	ZoneAwareLbConfig *Cluster_CommonLbConfig_ZoneAwareLbConfig `protobuf:"bytes,2,opt,name=zone_aware_lb_config,json=zoneAwareLbConfig,proto3,oneof"`
}

type Cluster_CustomClusterType

type Cluster_CustomClusterType struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	TypedConfig          *any.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Cluster_CustomClusterType) Descriptor

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

func (*Cluster_CustomClusterType) GetName

func (m *Cluster_CustomClusterType) GetName() string

func (*Cluster_CustomClusterType) GetTypedConfig

func (m *Cluster_CustomClusterType) GetTypedConfig() *any.Any

func (*Cluster_CustomClusterType) ProtoMessage

func (*Cluster_CustomClusterType) ProtoMessage()

func (*Cluster_CustomClusterType) Reset

func (m *Cluster_CustomClusterType) Reset()

func (*Cluster_CustomClusterType) String

func (m *Cluster_CustomClusterType) String() string

func (*Cluster_CustomClusterType) XXX_DiscardUnknown

func (m *Cluster_CustomClusterType) XXX_DiscardUnknown()

func (*Cluster_CustomClusterType) XXX_Marshal

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

func (*Cluster_CustomClusterType) XXX_Merge

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

func (*Cluster_CustomClusterType) XXX_Size

func (m *Cluster_CustomClusterType) XXX_Size() int

func (*Cluster_CustomClusterType) XXX_Unmarshal

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

type Cluster_DiscoveryType

type Cluster_DiscoveryType int32
const (
	Cluster_STATIC       Cluster_DiscoveryType = 0
	Cluster_STRICT_DNS   Cluster_DiscoveryType = 1
	Cluster_LOGICAL_DNS  Cluster_DiscoveryType = 2
	Cluster_EDS          Cluster_DiscoveryType = 3
	Cluster_ORIGINAL_DST Cluster_DiscoveryType = 4
)

func (Cluster_DiscoveryType) EnumDescriptor

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

func (Cluster_DiscoveryType) String

func (x Cluster_DiscoveryType) String() string

type Cluster_DnsLookupFamily

type Cluster_DnsLookupFamily int32
const (
	Cluster_AUTO    Cluster_DnsLookupFamily = 0
	Cluster_V4_ONLY Cluster_DnsLookupFamily = 1
	Cluster_V6_ONLY Cluster_DnsLookupFamily = 2
)

func (Cluster_DnsLookupFamily) EnumDescriptor

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

func (Cluster_DnsLookupFamily) String

func (x Cluster_DnsLookupFamily) String() string

type Cluster_EdsClusterConfig

type Cluster_EdsClusterConfig struct {
	EdsConfig            *config_source.ConfigSource `protobuf:"bytes,1,opt,name=eds_config,json=edsConfig,proto3" json:"eds_config,omitempty"`
	ServiceName          string                      `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*Cluster_EdsClusterConfig) Descriptor

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

func (*Cluster_EdsClusterConfig) GetEdsConfig

func (*Cluster_EdsClusterConfig) GetServiceName

func (m *Cluster_EdsClusterConfig) GetServiceName() string

func (*Cluster_EdsClusterConfig) ProtoMessage

func (*Cluster_EdsClusterConfig) ProtoMessage()

func (*Cluster_EdsClusterConfig) Reset

func (m *Cluster_EdsClusterConfig) Reset()

func (*Cluster_EdsClusterConfig) String

func (m *Cluster_EdsClusterConfig) String() string

func (*Cluster_EdsClusterConfig) XXX_DiscardUnknown

func (m *Cluster_EdsClusterConfig) XXX_DiscardUnknown()

func (*Cluster_EdsClusterConfig) XXX_Marshal

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

func (*Cluster_EdsClusterConfig) XXX_Merge

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

func (*Cluster_EdsClusterConfig) XXX_Size

func (m *Cluster_EdsClusterConfig) XXX_Size() int

func (*Cluster_EdsClusterConfig) XXX_Unmarshal

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

type Cluster_LbPolicy

type Cluster_LbPolicy int32
const (
	Cluster_ROUND_ROBIN     Cluster_LbPolicy = 0
	Cluster_LEAST_REQUEST   Cluster_LbPolicy = 1
	Cluster_RING_HASH       Cluster_LbPolicy = 2
	Cluster_RANDOM          Cluster_LbPolicy = 3
	Cluster_ORIGINAL_DST_LB Cluster_LbPolicy = 4
	Cluster_MAGLEV          Cluster_LbPolicy = 5
)

func (Cluster_LbPolicy) EnumDescriptor

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

func (Cluster_LbPolicy) String

func (x Cluster_LbPolicy) String() string

type Cluster_LbSubsetConfig

type Cluster_LbSubsetConfig struct {
	FallbackPolicy       Cluster_LbSubsetConfig_LbSubsetFallbackPolicy `` /* 168-byte string literal not displayed */
	DefaultSubset        *_struct.Struct                               `protobuf:"bytes,2,opt,name=default_subset,json=defaultSubset,proto3" json:"default_subset,omitempty"`
	SubsetSelectors      []*Cluster_LbSubsetConfig_LbSubsetSelector    `protobuf:"bytes,3,rep,name=subset_selectors,json=subsetSelectors,proto3" json:"subset_selectors,omitempty"`
	LocalityWeightAware  bool                                          `protobuf:"varint,4,opt,name=locality_weight_aware,json=localityWeightAware,proto3" json:"locality_weight_aware,omitempty"`
	ScaleLocalityWeight  bool                                          `protobuf:"varint,5,opt,name=scale_locality_weight,json=scaleLocalityWeight,proto3" json:"scale_locality_weight,omitempty"`
	PanicModeAny         bool                                          `protobuf:"varint,6,opt,name=panic_mode_any,json=panicModeAny,proto3" json:"panic_mode_any,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

func (*Cluster_LbSubsetConfig) Descriptor

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

func (*Cluster_LbSubsetConfig) GetDefaultSubset

func (m *Cluster_LbSubsetConfig) GetDefaultSubset() *_struct.Struct

func (*Cluster_LbSubsetConfig) GetFallbackPolicy

func (*Cluster_LbSubsetConfig) GetLocalityWeightAware

func (m *Cluster_LbSubsetConfig) GetLocalityWeightAware() bool

func (*Cluster_LbSubsetConfig) GetPanicModeAny

func (m *Cluster_LbSubsetConfig) GetPanicModeAny() bool

func (*Cluster_LbSubsetConfig) GetScaleLocalityWeight

func (m *Cluster_LbSubsetConfig) GetScaleLocalityWeight() bool

func (*Cluster_LbSubsetConfig) GetSubsetSelectors

func (*Cluster_LbSubsetConfig) ProtoMessage

func (*Cluster_LbSubsetConfig) ProtoMessage()

func (*Cluster_LbSubsetConfig) Reset

func (m *Cluster_LbSubsetConfig) Reset()

func (*Cluster_LbSubsetConfig) String

func (m *Cluster_LbSubsetConfig) String() string

func (*Cluster_LbSubsetConfig) XXX_DiscardUnknown

func (m *Cluster_LbSubsetConfig) XXX_DiscardUnknown()

func (*Cluster_LbSubsetConfig) XXX_Marshal

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

func (*Cluster_LbSubsetConfig) XXX_Merge

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

func (*Cluster_LbSubsetConfig) XXX_Size

func (m *Cluster_LbSubsetConfig) XXX_Size() int

func (*Cluster_LbSubsetConfig) XXX_Unmarshal

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

type Cluster_LbSubsetConfig_LbSubsetFallbackPolicy

type Cluster_LbSubsetConfig_LbSubsetFallbackPolicy int32
const (
	Cluster_LbSubsetConfig_NO_FALLBACK    Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 0
	Cluster_LbSubsetConfig_ANY_ENDPOINT   Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 1
	Cluster_LbSubsetConfig_DEFAULT_SUBSET Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 2
)

func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) EnumDescriptor

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

func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) String

type Cluster_LbSubsetConfig_LbSubsetSelector

type Cluster_LbSubsetConfig_LbSubsetSelector struct {
	Keys                 []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Cluster_LbSubsetConfig_LbSubsetSelector) Descriptor

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

func (*Cluster_LbSubsetConfig_LbSubsetSelector) GetKeys

func (*Cluster_LbSubsetConfig_LbSubsetSelector) ProtoMessage

func (*Cluster_LbSubsetConfig_LbSubsetSelector) Reset

func (*Cluster_LbSubsetConfig_LbSubsetSelector) String

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_DiscardUnknown

func (m *Cluster_LbSubsetConfig_LbSubsetSelector) XXX_DiscardUnknown()

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Marshal

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

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Merge

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Size

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Unmarshal

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

type Cluster_LeastRequestLbConfig

type Cluster_LeastRequestLbConfig struct {
	ChoiceCount          *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=choice_count,json=choiceCount,proto3" json:"choice_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Cluster_LeastRequestLbConfig) Descriptor

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

func (*Cluster_LeastRequestLbConfig) GetChoiceCount

func (m *Cluster_LeastRequestLbConfig) GetChoiceCount() *wrappers.UInt32Value

func (*Cluster_LeastRequestLbConfig) ProtoMessage

func (*Cluster_LeastRequestLbConfig) ProtoMessage()

func (*Cluster_LeastRequestLbConfig) Reset

func (m *Cluster_LeastRequestLbConfig) Reset()

func (*Cluster_LeastRequestLbConfig) String

func (*Cluster_LeastRequestLbConfig) XXX_DiscardUnknown

func (m *Cluster_LeastRequestLbConfig) XXX_DiscardUnknown()

func (*Cluster_LeastRequestLbConfig) XXX_Marshal

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

func (*Cluster_LeastRequestLbConfig) XXX_Merge

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

func (*Cluster_LeastRequestLbConfig) XXX_Size

func (m *Cluster_LeastRequestLbConfig) XXX_Size() int

func (*Cluster_LeastRequestLbConfig) XXX_Unmarshal

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

type Cluster_LeastRequestLbConfig_

type Cluster_LeastRequestLbConfig_ struct {
	LeastRequestLbConfig *Cluster_LeastRequestLbConfig `protobuf:"bytes,37,opt,name=least_request_lb_config,json=leastRequestLbConfig,proto3,oneof"`
}

type Cluster_OriginalDstLbConfig

type Cluster_OriginalDstLbConfig struct {
	UseHttpHeader        bool     `protobuf:"varint,1,opt,name=use_http_header,json=useHttpHeader,proto3" json:"use_http_header,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Cluster_OriginalDstLbConfig) Descriptor

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

func (*Cluster_OriginalDstLbConfig) GetUseHttpHeader

func (m *Cluster_OriginalDstLbConfig) GetUseHttpHeader() bool

func (*Cluster_OriginalDstLbConfig) ProtoMessage

func (*Cluster_OriginalDstLbConfig) ProtoMessage()

func (*Cluster_OriginalDstLbConfig) Reset

func (m *Cluster_OriginalDstLbConfig) Reset()

func (*Cluster_OriginalDstLbConfig) String

func (m *Cluster_OriginalDstLbConfig) String() string

func (*Cluster_OriginalDstLbConfig) XXX_DiscardUnknown

func (m *Cluster_OriginalDstLbConfig) XXX_DiscardUnknown()

func (*Cluster_OriginalDstLbConfig) XXX_Marshal

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

func (*Cluster_OriginalDstLbConfig) XXX_Merge

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

func (*Cluster_OriginalDstLbConfig) XXX_Size

func (m *Cluster_OriginalDstLbConfig) XXX_Size() int

func (*Cluster_OriginalDstLbConfig) XXX_Unmarshal

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

type Cluster_OriginalDstLbConfig_

type Cluster_OriginalDstLbConfig_ struct {
	OriginalDstLbConfig *Cluster_OriginalDstLbConfig `protobuf:"bytes,34,opt,name=original_dst_lb_config,json=originalDstLbConfig,proto3,oneof"`
}

type Cluster_RingHashLbConfig

type Cluster_RingHashLbConfig struct {
	MinimumRingSize      *wrappers.UInt64Value                 `protobuf:"bytes,1,opt,name=minimum_ring_size,json=minimumRingSize,proto3" json:"minimum_ring_size,omitempty"`
	HashFunction         Cluster_RingHashLbConfig_HashFunction `` /* 154-byte string literal not displayed */
	MaximumRingSize      *wrappers.UInt64Value                 `protobuf:"bytes,4,opt,name=maximum_ring_size,json=maximumRingSize,proto3" json:"maximum_ring_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*Cluster_RingHashLbConfig) Descriptor

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

func (*Cluster_RingHashLbConfig) GetHashFunction

func (*Cluster_RingHashLbConfig) GetMaximumRingSize

func (m *Cluster_RingHashLbConfig) GetMaximumRingSize() *wrappers.UInt64Value

func (*Cluster_RingHashLbConfig) GetMinimumRingSize

func (m *Cluster_RingHashLbConfig) GetMinimumRingSize() *wrappers.UInt64Value

func (*Cluster_RingHashLbConfig) ProtoMessage

func (*Cluster_RingHashLbConfig) ProtoMessage()

func (*Cluster_RingHashLbConfig) Reset

func (m *Cluster_RingHashLbConfig) Reset()

func (*Cluster_RingHashLbConfig) String

func (m *Cluster_RingHashLbConfig) String() string

func (*Cluster_RingHashLbConfig) XXX_DiscardUnknown

func (m *Cluster_RingHashLbConfig) XXX_DiscardUnknown()

func (*Cluster_RingHashLbConfig) XXX_Marshal

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

func (*Cluster_RingHashLbConfig) XXX_Merge

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

func (*Cluster_RingHashLbConfig) XXX_Size

func (m *Cluster_RingHashLbConfig) XXX_Size() int

func (*Cluster_RingHashLbConfig) XXX_Unmarshal

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

type Cluster_RingHashLbConfig_

type Cluster_RingHashLbConfig_ struct {
	RingHashLbConfig *Cluster_RingHashLbConfig `protobuf:"bytes,23,opt,name=ring_hash_lb_config,json=ringHashLbConfig,proto3,oneof"`
}

type Cluster_RingHashLbConfig_HashFunction

type Cluster_RingHashLbConfig_HashFunction int32
const (
	Cluster_RingHashLbConfig_XX_HASH       Cluster_RingHashLbConfig_HashFunction = 0
	Cluster_RingHashLbConfig_MURMUR_HASH_2 Cluster_RingHashLbConfig_HashFunction = 1
)

func (Cluster_RingHashLbConfig_HashFunction) EnumDescriptor

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

func (Cluster_RingHashLbConfig_HashFunction) String

type Cluster_Type

type Cluster_Type struct {
	Type Cluster_DiscoveryType `protobuf:"varint,2,opt,name=type,proto3,enum=envoy.api.v2.Cluster_DiscoveryType,oneof"`
}

type UpstreamBindConfig

type UpstreamBindConfig struct {
	SourceAddress        *address.Address `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*UpstreamBindConfig) Descriptor

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

func (*UpstreamBindConfig) GetSourceAddress

func (m *UpstreamBindConfig) GetSourceAddress() *address.Address

func (*UpstreamBindConfig) ProtoMessage

func (*UpstreamBindConfig) ProtoMessage()

func (*UpstreamBindConfig) Reset

func (m *UpstreamBindConfig) Reset()

func (*UpstreamBindConfig) String

func (m *UpstreamBindConfig) String() string

func (*UpstreamBindConfig) XXX_DiscardUnknown

func (m *UpstreamBindConfig) XXX_DiscardUnknown()

func (*UpstreamBindConfig) XXX_Marshal

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

func (*UpstreamBindConfig) XXX_Merge

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

func (*UpstreamBindConfig) XXX_Size

func (m *UpstreamBindConfig) XXX_Size() int

func (*UpstreamBindConfig) XXX_Unmarshal

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

type UpstreamConnectionOptions

type UpstreamConnectionOptions struct {
	TcpKeepalive         *address.TcpKeepalive `protobuf:"bytes,1,opt,name=tcp_keepalive,json=tcpKeepalive,proto3" json:"tcp_keepalive,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*UpstreamConnectionOptions) Descriptor

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

func (*UpstreamConnectionOptions) GetTcpKeepalive

func (m *UpstreamConnectionOptions) GetTcpKeepalive() *address.TcpKeepalive

func (*UpstreamConnectionOptions) ProtoMessage

func (*UpstreamConnectionOptions) ProtoMessage()

func (*UpstreamConnectionOptions) Reset

func (m *UpstreamConnectionOptions) Reset()

func (*UpstreamConnectionOptions) String

func (m *UpstreamConnectionOptions) String() string

func (*UpstreamConnectionOptions) XXX_DiscardUnknown

func (m *UpstreamConnectionOptions) XXX_DiscardUnknown()

func (*UpstreamConnectionOptions) XXX_Marshal

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

func (*UpstreamConnectionOptions) XXX_Merge

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

func (*UpstreamConnectionOptions) XXX_Size

func (m *UpstreamConnectionOptions) XXX_Size() int

func (*UpstreamConnectionOptions) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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