endpointv3

package
v0.0.0-...-682395d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 25 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_service_endpoint_v3_eds_proto protoreflect.FileDescriptor
View Source
var File_envoy_service_endpoint_v3_leds_proto protoreflect.FileDescriptor

Functions

func RegisterEndpointDiscoveryServiceServer

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

func RegisterLocalityEndpointDiscoveryServiceServer

func RegisterLocalityEndpointDiscoveryServiceServer(s *grpc.Server, srv LocalityEndpointDiscoveryServiceServer)

Types

type EdsDummy

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

[#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing services: https://github.com/google/protobuf/issues/4221 and protoxform to upgrade the file.

func (*EdsDummy) Descriptor deprecated

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

Deprecated: Use EdsDummy.ProtoReflect.Descriptor instead.

func (*EdsDummy) ProtoMessage

func (*EdsDummy) ProtoMessage()

func (*EdsDummy) ProtoReflect

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

func (*EdsDummy) Reset

func (x *EdsDummy) Reset()

func (*EdsDummy) String

func (x *EdsDummy) String() string

func (*EdsDummy) Validate

func (m *EdsDummy) Validate() error

Validate checks the field values on EdsDummy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EdsDummy) ValidateAll

func (m *EdsDummy) ValidateAll() error

ValidateAll checks the field values on EdsDummy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EdsDummyMultiError, or nil if none found.

type EdsDummyMultiError

type EdsDummyMultiError []error

EdsDummyMultiError is an error wrapping multiple validation errors returned by EdsDummy.ValidateAll() if the designated constraints aren't met.

func (EdsDummyMultiError) AllErrors

func (m EdsDummyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EdsDummyMultiError) Error

func (m EdsDummyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EdsDummyValidationError

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

EdsDummyValidationError is the validation error returned by EdsDummy.Validate if the designated constraints aren't met.

func (EdsDummyValidationError) Cause

func (e EdsDummyValidationError) Cause() error

Cause function returns cause value.

func (EdsDummyValidationError) Error

func (e EdsDummyValidationError) Error() string

Error satisfies the builtin error interface

func (EdsDummyValidationError) ErrorName

func (e EdsDummyValidationError) ErrorName() string

ErrorName returns error name.

func (EdsDummyValidationError) Field

func (e EdsDummyValidationError) Field() string

Field function returns field value.

func (EdsDummyValidationError) Key

func (e EdsDummyValidationError) Key() bool

Key function returns key value.

func (EdsDummyValidationError) Reason

func (e EdsDummyValidationError) Reason() string

Reason function returns reason value.

type EndpointDiscoveryServiceClient

type EndpointDiscoveryServiceClient interface {
	// The resource_names field in DiscoveryRequest specifies a list of clusters
	// to subscribe to updates for.
	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 *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.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.

type EndpointDiscoveryServiceServer

type EndpointDiscoveryServiceServer interface {
	// The resource_names field in DiscoveryRequest specifies a list of clusters
	// to subscribe to updates for.
	StreamEndpoints(EndpointDiscoveryService_StreamEndpointsServer) error
	DeltaEndpoints(EndpointDiscoveryService_DeltaEndpointsServer) error
	FetchEndpoints(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
}

EndpointDiscoveryServiceServer is the server API for EndpointDiscoveryService service.

type EndpointDiscoveryService_DeltaEndpointsClient

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

type EndpointDiscoveryService_DeltaEndpointsServer

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

type EndpointDiscoveryService_StreamEndpointsClient

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

type EndpointDiscoveryService_StreamEndpointsServer

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

type LedsDummy

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

[#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing services: https://github.com/google/protobuf/issues/4221 and protoxform to upgrade the file.

func (*LedsDummy) Descriptor deprecated

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

Deprecated: Use LedsDummy.ProtoReflect.Descriptor instead.

func (*LedsDummy) ProtoMessage

func (*LedsDummy) ProtoMessage()

func (*LedsDummy) ProtoReflect

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

func (*LedsDummy) Reset

func (x *LedsDummy) Reset()

func (*LedsDummy) String

func (x *LedsDummy) String() string

func (*LedsDummy) Validate

func (m *LedsDummy) Validate() error

Validate checks the field values on LedsDummy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LedsDummy) ValidateAll

func (m *LedsDummy) ValidateAll() error

ValidateAll checks the field values on LedsDummy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LedsDummyMultiError, or nil if none found.

type LedsDummyMultiError

type LedsDummyMultiError []error

LedsDummyMultiError is an error wrapping multiple validation errors returned by LedsDummy.ValidateAll() if the designated constraints aren't met.

func (LedsDummyMultiError) AllErrors

func (m LedsDummyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LedsDummyMultiError) Error

func (m LedsDummyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LedsDummyValidationError

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

LedsDummyValidationError is the validation error returned by LedsDummy.Validate if the designated constraints aren't met.

func (LedsDummyValidationError) Cause

func (e LedsDummyValidationError) Cause() error

Cause function returns cause value.

func (LedsDummyValidationError) Error

func (e LedsDummyValidationError) Error() string

Error satisfies the builtin error interface

func (LedsDummyValidationError) ErrorName

func (e LedsDummyValidationError) ErrorName() string

ErrorName returns error name.

func (LedsDummyValidationError) Field

func (e LedsDummyValidationError) Field() string

Field function returns field value.

func (LedsDummyValidationError) Key

Key function returns key value.

func (LedsDummyValidationError) Reason

func (e LedsDummyValidationError) Reason() string

Reason function returns reason value.

type LocalityEndpointDiscoveryServiceClient

type LocalityEndpointDiscoveryServiceClient interface {
	// The resource_names_subscribe resource_names_unsubscribe fields in DeltaDiscoveryRequest
	// specify a list of glob collections to subscribe to updates for.
	DeltaLocalityEndpoints(ctx context.Context, opts ...grpc.CallOption) (LocalityEndpointDiscoveryService_DeltaLocalityEndpointsClient, error)
}

LocalityEndpointDiscoveryServiceClient is the client API for LocalityEndpointDiscoveryService service.

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

type LocalityEndpointDiscoveryServiceServer

type LocalityEndpointDiscoveryServiceServer interface {
	// The resource_names_subscribe resource_names_unsubscribe fields in DeltaDiscoveryRequest
	// specify a list of glob collections to subscribe to updates for.
	DeltaLocalityEndpoints(LocalityEndpointDiscoveryService_DeltaLocalityEndpointsServer) error
}

LocalityEndpointDiscoveryServiceServer is the server API for LocalityEndpointDiscoveryService service.

type LocalityEndpointDiscoveryService_DeltaLocalityEndpointsClient

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

type LocalityEndpointDiscoveryService_DeltaLocalityEndpointsServer

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

type UnimplementedEndpointDiscoveryServiceServer

type UnimplementedEndpointDiscoveryServiceServer struct {
}

UnimplementedEndpointDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEndpointDiscoveryServiceServer) DeltaEndpoints

func (*UnimplementedEndpointDiscoveryServiceServer) FetchEndpoints

func (*UnimplementedEndpointDiscoveryServiceServer) StreamEndpoints

type UnimplementedLocalityEndpointDiscoveryServiceServer

type UnimplementedLocalityEndpointDiscoveryServiceServer struct {
}

UnimplementedLocalityEndpointDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLocalityEndpointDiscoveryServiceServer) DeltaLocalityEndpoints

Jump to

Keyboard shortcuts

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