envoy_api_v2

package
v1.24.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterEndpointDiscoveryServiceServer

func RegisterEndpointDiscoveryServiceServer(s *grpc.Server, srv EndpointDiscoveryServiceServer)

Types

type ClusterLoadAssignment

type ClusterLoadAssignment struct {
	ClusterName          string                          `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	Endpoints            []*endpoint.LocalityLbEndpoints `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	NamedEndpoints       map[string]*endpoint.Endpoint   `` /* 191-byte string literal not displayed */
	Policy               *ClusterLoadAssignment_Policy   `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*ClusterLoadAssignment) Descriptor

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

func (*ClusterLoadAssignment) GetClusterName

func (m *ClusterLoadAssignment) GetClusterName() string

func (*ClusterLoadAssignment) GetEndpoints

func (m *ClusterLoadAssignment) GetEndpoints() []*endpoint.LocalityLbEndpoints

func (*ClusterLoadAssignment) GetNamedEndpoints

func (m *ClusterLoadAssignment) GetNamedEndpoints() map[string]*endpoint.Endpoint

func (*ClusterLoadAssignment) GetPolicy

func (*ClusterLoadAssignment) ProtoMessage

func (*ClusterLoadAssignment) ProtoMessage()

func (*ClusterLoadAssignment) Reset

func (m *ClusterLoadAssignment) Reset()

func (*ClusterLoadAssignment) String

func (m *ClusterLoadAssignment) String() string

func (*ClusterLoadAssignment) XXX_DiscardUnknown

func (m *ClusterLoadAssignment) XXX_DiscardUnknown()

func (*ClusterLoadAssignment) XXX_Marshal

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

func (*ClusterLoadAssignment) XXX_Merge

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

func (*ClusterLoadAssignment) XXX_Size

func (m *ClusterLoadAssignment) XXX_Size() int

func (*ClusterLoadAssignment) XXX_Unmarshal

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

type ClusterLoadAssignment_Policy

type ClusterLoadAssignment_Policy struct {
	DropOverloads          []*ClusterLoadAssignment_Policy_DropOverload `protobuf:"bytes,2,rep,name=drop_overloads,json=dropOverloads,proto3" json:"drop_overloads,omitempty"`
	OverprovisioningFactor *wrappers.UInt32Value                        `` /* 127-byte string literal not displayed */
	EndpointStaleAfter     *duration.Duration                           `protobuf:"bytes,4,opt,name=endpoint_stale_after,json=endpointStaleAfter,proto3" json:"endpoint_stale_after,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}                                     `json:"-"`
	XXX_unrecognized       []byte                                       `json:"-"`
	XXX_sizecache          int32                                        `json:"-"`
}

func (*ClusterLoadAssignment_Policy) Descriptor

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

func (*ClusterLoadAssignment_Policy) GetDropOverloads

func (*ClusterLoadAssignment_Policy) GetEndpointStaleAfter

func (m *ClusterLoadAssignment_Policy) GetEndpointStaleAfter() *duration.Duration

func (*ClusterLoadAssignment_Policy) GetOverprovisioningFactor

func (m *ClusterLoadAssignment_Policy) GetOverprovisioningFactor() *wrappers.UInt32Value

func (*ClusterLoadAssignment_Policy) ProtoMessage

func (*ClusterLoadAssignment_Policy) ProtoMessage()

func (*ClusterLoadAssignment_Policy) Reset

func (m *ClusterLoadAssignment_Policy) Reset()

func (*ClusterLoadAssignment_Policy) String

func (*ClusterLoadAssignment_Policy) XXX_DiscardUnknown

func (m *ClusterLoadAssignment_Policy) XXX_DiscardUnknown()

func (*ClusterLoadAssignment_Policy) XXX_Marshal

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

func (*ClusterLoadAssignment_Policy) XXX_Merge

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

func (*ClusterLoadAssignment_Policy) XXX_Size

func (m *ClusterLoadAssignment_Policy) XXX_Size() int

func (*ClusterLoadAssignment_Policy) XXX_Unmarshal

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

type ClusterLoadAssignment_Policy_DropOverload

type ClusterLoadAssignment_Policy_DropOverload struct {
	Category             string                     `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	DropPercentage       *percent.FractionalPercent `protobuf:"bytes,2,opt,name=drop_percentage,json=dropPercentage,proto3" json:"drop_percentage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*ClusterLoadAssignment_Policy_DropOverload) Descriptor

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

func (*ClusterLoadAssignment_Policy_DropOverload) GetCategory

func (*ClusterLoadAssignment_Policy_DropOverload) GetDropPercentage

func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage

func (*ClusterLoadAssignment_Policy_DropOverload) Reset

func (*ClusterLoadAssignment_Policy_DropOverload) String

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_DiscardUnknown

func (m *ClusterLoadAssignment_Policy_DropOverload) XXX_DiscardUnknown()

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_Marshal

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

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_Merge

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_Size

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_Unmarshal

type EndpointDiscoveryServiceClient

type EndpointDiscoveryServiceClient interface {
	StreamEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_StreamEndpointsClient, error)
	DeltaEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_DeltaEndpointsClient, error)
	FetchEndpoints(ctx context.Context, in *discovery.DiscoveryRequest, opts ...grpc.CallOption) (*discovery.DiscoveryResponse, error)
}

EndpointDiscoveryServiceClient is the client API for EndpointDiscoveryService service.

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

func NewEndpointDiscoveryServiceClient

func NewEndpointDiscoveryServiceClient(cc *grpc.ClientConn) EndpointDiscoveryServiceClient

type EndpointDiscoveryServiceServer

type EndpointDiscoveryServiceServer interface {
	StreamEndpoints(EndpointDiscoveryService_StreamEndpointsServer) error
	DeltaEndpoints(EndpointDiscoveryService_DeltaEndpointsServer) error
	FetchEndpoints(context.Context, *discovery.DiscoveryRequest) (*discovery.DiscoveryResponse, error)
}

EndpointDiscoveryServiceServer is the server API for EndpointDiscoveryService service.

type EndpointDiscoveryService_DeltaEndpointsClient

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

type EndpointDiscoveryService_DeltaEndpointsServer

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

type EndpointDiscoveryService_StreamEndpointsClient

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

type EndpointDiscoveryService_StreamEndpointsServer

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

Jump to

Keyboard shortcuts

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