Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterListenerDiscoveryServiceServer(s grpc.ServiceRegistrar, srv ListenerDiscoveryServiceServer)
- type LdsDummy
- type LdsDummyMultiError
- type LdsDummyValidationError
- type ListenerDiscoveryServiceClient
- type ListenerDiscoveryServiceServer
- type ListenerDiscoveryService_DeltaListenersClient
- type ListenerDiscoveryService_DeltaListenersServer
- type ListenerDiscoveryService_StreamListenersClient
- type ListenerDiscoveryService_StreamListenersServer
- type UnimplementedListenerDiscoveryServiceServer
- func (UnimplementedListenerDiscoveryServiceServer) DeltaListeners(ListenerDiscoveryService_DeltaListenersServer) error
- func (UnimplementedListenerDiscoveryServiceServer) FetchListeners(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
- func (UnimplementedListenerDiscoveryServiceServer) StreamListeners(ListenerDiscoveryService_StreamListenersServer) error
- type UnsafeListenerDiscoveryServiceServer
Constants ¶
const ( ListenerDiscoveryService_DeltaListeners_FullMethodName = "/envoy.service.listener.v3.ListenerDiscoveryService/DeltaListeners" ListenerDiscoveryService_StreamListeners_FullMethodName = "/envoy.service.listener.v3.ListenerDiscoveryService/StreamListeners" ListenerDiscoveryService_FetchListeners_FullMethodName = "/envoy.service.listener.v3.ListenerDiscoveryService/FetchListeners" )
Variables ¶
var File_envoy_service_listener_v3_lds_proto protoreflect.FileDescriptor
var ListenerDiscoveryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "envoy.service.listener.v3.ListenerDiscoveryService", HandlerType: (*ListenerDiscoveryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FetchListeners", Handler: _ListenerDiscoveryService_FetchListeners_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "DeltaListeners", Handler: _ListenerDiscoveryService_DeltaListeners_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "StreamListeners", Handler: _ListenerDiscoveryService_StreamListeners_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "envoy/service/listener/v3/lds.proto", }
ListenerDiscoveryService_ServiceDesc is the grpc.ServiceDesc for ListenerDiscoveryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterListenerDiscoveryServiceServer ¶
func RegisterListenerDiscoveryServiceServer(s grpc.ServiceRegistrar, 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) ProtoMessage ¶
func (*LdsDummy) ProtoMessage()
func (*LdsDummy) ProtoReflect ¶ added in v0.9.6
func (x *LdsDummy) ProtoReflect() protoreflect.Message
func (*LdsDummy) Validate ¶
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
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewListenerDiscoveryServiceClient ¶
func NewListenerDiscoveryServiceClient(cc grpc.ClientConnInterface) ListenerDiscoveryServiceClient
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. All implementations should embed UnimplementedListenerDiscoveryServiceServer for forward compatibility
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 should be embedded to have forward compatible implementations.
func (UnimplementedListenerDiscoveryServiceServer) DeltaListeners ¶
func (UnimplementedListenerDiscoveryServiceServer) DeltaListeners(ListenerDiscoveryService_DeltaListenersServer) error
func (UnimplementedListenerDiscoveryServiceServer) FetchListeners ¶
func (UnimplementedListenerDiscoveryServiceServer) FetchListeners(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
func (UnimplementedListenerDiscoveryServiceServer) StreamListeners ¶
func (UnimplementedListenerDiscoveryServiceServer) StreamListeners(ListenerDiscoveryService_StreamListenersServer) error
type UnsafeListenerDiscoveryServiceServer ¶ added in v0.13.0
type UnsafeListenerDiscoveryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeListenerDiscoveryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ListenerDiscoveryServiceServer will result in compilation errors.