listenerv3

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 24 Imported by: 105

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_service_listener_v3_lds_proto protoreflect.FileDescriptor

Functions

func RegisterListenerDiscoveryServiceServer

func RegisterListenerDiscoveryServiceServer(s *grpc.Server, srv ListenerDiscoveryServiceServer)

Types

type LdsDummy

type LdsDummy 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 (*LdsDummy) Descriptor deprecated

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

Deprecated: Use LdsDummy.ProtoReflect.Descriptor instead.

func (*LdsDummy) ProtoMessage

func (*LdsDummy) ProtoMessage()

func (*LdsDummy) ProtoReflect added in v0.9.6

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

func (*LdsDummy) Reset

func (x *LdsDummy) Reset()

func (*LdsDummy) String

func (x *LdsDummy) String() string

func (*LdsDummy) Validate

func (m *LdsDummy) Validate() error

Validate checks the field values on LdsDummy 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 (*LdsDummy) ValidateAll added in v0.10.0

func (m *LdsDummy) ValidateAll() error

ValidateAll checks the field values on LdsDummy 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 LdsDummyMultiError, or nil if none found.

type LdsDummyMultiError added in v0.10.0

type LdsDummyMultiError []error

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

func (LdsDummyMultiError) AllErrors added in v0.10.0

func (m LdsDummyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LdsDummyMultiError) Error added in v0.10.0

func (m LdsDummyMultiError) Error() string

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

type LdsDummyValidationError

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

LdsDummyValidationError is the validation error returned by LdsDummy.Validate if the designated constraints aren't met.

func (LdsDummyValidationError) Cause

func (e LdsDummyValidationError) Cause() error

Cause function returns cause value.

func (LdsDummyValidationError) Error

func (e LdsDummyValidationError) Error() string

Error satisfies the builtin error interface

func (LdsDummyValidationError) ErrorName

func (e LdsDummyValidationError) ErrorName() string

ErrorName returns error name.

func (LdsDummyValidationError) Field

func (e LdsDummyValidationError) Field() string

Field function returns field value.

func (LdsDummyValidationError) Key

func (e LdsDummyValidationError) Key() bool

Key function returns key value.

func (LdsDummyValidationError) Reason

func (e LdsDummyValidationError) Reason() string

Reason function returns reason value.

type ListenerDiscoveryServiceClient

type ListenerDiscoveryServiceClient interface {
	DeltaListeners(ctx context.Context, opts ...grpc.CallOption) (ListenerDiscoveryService_DeltaListenersClient, error)
	StreamListeners(ctx context.Context, opts ...grpc.CallOption) (ListenerDiscoveryService_StreamListenersClient, error)
	FetchListeners(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error)
}

ListenerDiscoveryServiceClient is the client API for ListenerDiscoveryService service.

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

type ListenerDiscoveryServiceServer

type ListenerDiscoveryServiceServer interface {
	DeltaListeners(ListenerDiscoveryService_DeltaListenersServer) error
	StreamListeners(ListenerDiscoveryService_StreamListenersServer) error
	FetchListeners(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
}

ListenerDiscoveryServiceServer is the server API for ListenerDiscoveryService service.

type ListenerDiscoveryService_DeltaListenersClient

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

type ListenerDiscoveryService_DeltaListenersServer

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

type ListenerDiscoveryService_StreamListenersClient

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

type ListenerDiscoveryService_StreamListenersServer

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

type UnimplementedListenerDiscoveryServiceServer

type UnimplementedListenerDiscoveryServiceServer struct {
}

UnimplementedListenerDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedListenerDiscoveryServiceServer) DeltaListeners

func (*UnimplementedListenerDiscoveryServiceServer) FetchListeners

func (*UnimplementedListenerDiscoveryServiceServer) StreamListeners

Jump to

Keyboard shortcuts

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