Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRouteDiscoveryServiceServer(s grpc.ServiceRegistrar, srv RouteDiscoveryServiceServer)
- func RegisterScopedRoutesDiscoveryServiceServer(s grpc.ServiceRegistrar, srv ScopedRoutesDiscoveryServiceServer)
- func RegisterVirtualHostDiscoveryServiceServer(s grpc.ServiceRegistrar, srv VirtualHostDiscoveryServiceServer)
- type RdsDummy
- type RdsDummyMultiError
- type RdsDummyValidationError
- type RouteDiscoveryServiceClient
- type RouteDiscoveryServiceServer
- type RouteDiscoveryService_DeltaRoutesClient
- type RouteDiscoveryService_DeltaRoutesServer
- type RouteDiscoveryService_StreamRoutesClient
- type RouteDiscoveryService_StreamRoutesServer
- type ScopedRoutesDiscoveryServiceClient
- type ScopedRoutesDiscoveryServiceServer
- type ScopedRoutesDiscoveryService_DeltaScopedRoutesClient
- type ScopedRoutesDiscoveryService_DeltaScopedRoutesServer
- type ScopedRoutesDiscoveryService_StreamScopedRoutesClient
- type ScopedRoutesDiscoveryService_StreamScopedRoutesServer
- type SrdsDummy
- type SrdsDummyMultiError
- type SrdsDummyValidationError
- type UnimplementedRouteDiscoveryServiceServer
- func (UnimplementedRouteDiscoveryServiceServer) DeltaRoutes(RouteDiscoveryService_DeltaRoutesServer) error
- func (UnimplementedRouteDiscoveryServiceServer) FetchRoutes(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
- func (UnimplementedRouteDiscoveryServiceServer) StreamRoutes(RouteDiscoveryService_StreamRoutesServer) error
- type UnimplementedScopedRoutesDiscoveryServiceServer
- func (UnimplementedScopedRoutesDiscoveryServiceServer) DeltaScopedRoutes(ScopedRoutesDiscoveryService_DeltaScopedRoutesServer) error
- func (UnimplementedScopedRoutesDiscoveryServiceServer) FetchScopedRoutes(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
- func (UnimplementedScopedRoutesDiscoveryServiceServer) StreamScopedRoutes(ScopedRoutesDiscoveryService_StreamScopedRoutesServer) error
- type UnimplementedVirtualHostDiscoveryServiceServer
- type UnsafeRouteDiscoveryServiceServer
- type UnsafeScopedRoutesDiscoveryServiceServer
- type UnsafeVirtualHostDiscoveryServiceServer
- type VirtualHostDiscoveryServiceClient
- type VirtualHostDiscoveryServiceServer
- type VirtualHostDiscoveryService_DeltaVirtualHostsClient
- type VirtualHostDiscoveryService_DeltaVirtualHostsServer
Constants ¶
const ( RouteDiscoveryService_StreamRoutes_FullMethodName = "/envoy.service.route.v3.RouteDiscoveryService/StreamRoutes" RouteDiscoveryService_DeltaRoutes_FullMethodName = "/envoy.service.route.v3.RouteDiscoveryService/DeltaRoutes" RouteDiscoveryService_FetchRoutes_FullMethodName = "/envoy.service.route.v3.RouteDiscoveryService/FetchRoutes" )
const ( ScopedRoutesDiscoveryService_StreamScopedRoutes_FullMethodName = "/envoy.service.route.v3.ScopedRoutesDiscoveryService/StreamScopedRoutes" ScopedRoutesDiscoveryService_DeltaScopedRoutes_FullMethodName = "/envoy.service.route.v3.ScopedRoutesDiscoveryService/DeltaScopedRoutes" ScopedRoutesDiscoveryService_FetchScopedRoutes_FullMethodName = "/envoy.service.route.v3.ScopedRoutesDiscoveryService/FetchScopedRoutes" )
const (
VirtualHostDiscoveryService_DeltaVirtualHosts_FullMethodName = "/envoy.service.route.v3.VirtualHostDiscoveryService/DeltaVirtualHosts"
)
Variables ¶
var File_envoy_service_route_v3_rds_proto protoreflect.FileDescriptor
var File_envoy_service_route_v3_srds_proto protoreflect.FileDescriptor
var RouteDiscoveryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "envoy.service.route.v3.RouteDiscoveryService", HandlerType: (*RouteDiscoveryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FetchRoutes", Handler: _RouteDiscoveryService_FetchRoutes_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamRoutes", Handler: _RouteDiscoveryService_StreamRoutes_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "DeltaRoutes", Handler: _RouteDiscoveryService_DeltaRoutes_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "envoy/service/route/v3/rds.proto", }
RouteDiscoveryService_ServiceDesc is the grpc.ServiceDesc for RouteDiscoveryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ScopedRoutesDiscoveryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "envoy.service.route.v3.ScopedRoutesDiscoveryService", HandlerType: (*ScopedRoutesDiscoveryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FetchScopedRoutes", Handler: _ScopedRoutesDiscoveryService_FetchScopedRoutes_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamScopedRoutes", Handler: _ScopedRoutesDiscoveryService_StreamScopedRoutes_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "DeltaScopedRoutes", Handler: _ScopedRoutesDiscoveryService_DeltaScopedRoutes_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "envoy/service/route/v3/srds.proto", }
ScopedRoutesDiscoveryService_ServiceDesc is the grpc.ServiceDesc for ScopedRoutesDiscoveryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VirtualHostDiscoveryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "envoy.service.route.v3.VirtualHostDiscoveryService", HandlerType: (*VirtualHostDiscoveryServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "DeltaVirtualHosts", Handler: _VirtualHostDiscoveryService_DeltaVirtualHosts_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "envoy/service/route/v3/rds.proto", }
VirtualHostDiscoveryService_ServiceDesc is the grpc.ServiceDesc for VirtualHostDiscoveryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRouteDiscoveryServiceServer ¶
func RegisterRouteDiscoveryServiceServer(s grpc.ServiceRegistrar, srv RouteDiscoveryServiceServer)
func RegisterScopedRoutesDiscoveryServiceServer ¶
func RegisterScopedRoutesDiscoveryServiceServer(s grpc.ServiceRegistrar, srv ScopedRoutesDiscoveryServiceServer)
func RegisterVirtualHostDiscoveryServiceServer ¶
func RegisterVirtualHostDiscoveryServiceServer(s grpc.ServiceRegistrar, srv VirtualHostDiscoveryServiceServer)
Types ¶
type RdsDummy ¶
type RdsDummy 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 (*RdsDummy) Descriptor
deprecated
func (*RdsDummy) ProtoMessage ¶
func (*RdsDummy) ProtoMessage()
func (*RdsDummy) ProtoReflect ¶
func (x *RdsDummy) ProtoReflect() protoreflect.Message
func (*RdsDummy) Validate ¶
Validate checks the field values on RdsDummy 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 (*RdsDummy) ValidateAll ¶
ValidateAll checks the field values on RdsDummy 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 RdsDummyMultiError, or nil if none found.
type RdsDummyMultiError ¶
type RdsDummyMultiError []error
RdsDummyMultiError is an error wrapping multiple validation errors returned by RdsDummy.ValidateAll() if the designated constraints aren't met.
func (RdsDummyMultiError) AllErrors ¶
func (m RdsDummyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RdsDummyMultiError) Error ¶
func (m RdsDummyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RdsDummyValidationError ¶
type RdsDummyValidationError struct {
// contains filtered or unexported fields
}
RdsDummyValidationError is the validation error returned by RdsDummy.Validate if the designated constraints aren't met.
func (RdsDummyValidationError) Cause ¶
func (e RdsDummyValidationError) Cause() error
Cause function returns cause value.
func (RdsDummyValidationError) Error ¶
func (e RdsDummyValidationError) Error() string
Error satisfies the builtin error interface
func (RdsDummyValidationError) ErrorName ¶
func (e RdsDummyValidationError) ErrorName() string
ErrorName returns error name.
func (RdsDummyValidationError) Field ¶
func (e RdsDummyValidationError) Field() string
Field function returns field value.
func (RdsDummyValidationError) Key ¶
func (e RdsDummyValidationError) Key() bool
Key function returns key value.
func (RdsDummyValidationError) Reason ¶
func (e RdsDummyValidationError) Reason() string
Reason function returns reason value.
type RouteDiscoveryServiceClient ¶
type RouteDiscoveryServiceClient interface { StreamRoutes(ctx context.Context, opts ...grpc.CallOption) (RouteDiscoveryService_StreamRoutesClient, error) DeltaRoutes(ctx context.Context, opts ...grpc.CallOption) (RouteDiscoveryService_DeltaRoutesClient, error) FetchRoutes(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error) }
RouteDiscoveryServiceClient is the client API for RouteDiscoveryService 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 NewRouteDiscoveryServiceClient ¶
func NewRouteDiscoveryServiceClient(cc grpc.ClientConnInterface) RouteDiscoveryServiceClient
type RouteDiscoveryServiceServer ¶
type RouteDiscoveryServiceServer interface { StreamRoutes(RouteDiscoveryService_StreamRoutesServer) error DeltaRoutes(RouteDiscoveryService_DeltaRoutesServer) error FetchRoutes(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error) }
RouteDiscoveryServiceServer is the server API for RouteDiscoveryService service. All implementations should embed UnimplementedRouteDiscoveryServiceServer for forward compatibility
type RouteDiscoveryService_DeltaRoutesClient ¶
type RouteDiscoveryService_DeltaRoutesClient interface { Send(*v3.DeltaDiscoveryRequest) error Recv() (*v3.DeltaDiscoveryResponse, error) grpc.ClientStream }
type RouteDiscoveryService_DeltaRoutesServer ¶
type RouteDiscoveryService_DeltaRoutesServer interface { Send(*v3.DeltaDiscoveryResponse) error Recv() (*v3.DeltaDiscoveryRequest, error) grpc.ServerStream }
type RouteDiscoveryService_StreamRoutesClient ¶
type RouteDiscoveryService_StreamRoutesClient interface { Send(*v3.DiscoveryRequest) error Recv() (*v3.DiscoveryResponse, error) grpc.ClientStream }
type RouteDiscoveryService_StreamRoutesServer ¶
type RouteDiscoveryService_StreamRoutesServer interface { Send(*v3.DiscoveryResponse) error Recv() (*v3.DiscoveryRequest, error) grpc.ServerStream }
type ScopedRoutesDiscoveryServiceClient ¶
type ScopedRoutesDiscoveryServiceClient interface { StreamScopedRoutes(ctx context.Context, opts ...grpc.CallOption) (ScopedRoutesDiscoveryService_StreamScopedRoutesClient, error) DeltaScopedRoutes(ctx context.Context, opts ...grpc.CallOption) (ScopedRoutesDiscoveryService_DeltaScopedRoutesClient, error) FetchScopedRoutes(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error) }
ScopedRoutesDiscoveryServiceClient is the client API for ScopedRoutesDiscoveryService 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 NewScopedRoutesDiscoveryServiceClient ¶
func NewScopedRoutesDiscoveryServiceClient(cc grpc.ClientConnInterface) ScopedRoutesDiscoveryServiceClient
type ScopedRoutesDiscoveryServiceServer ¶
type ScopedRoutesDiscoveryServiceServer interface { StreamScopedRoutes(ScopedRoutesDiscoveryService_StreamScopedRoutesServer) error DeltaScopedRoutes(ScopedRoutesDiscoveryService_DeltaScopedRoutesServer) error FetchScopedRoutes(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error) }
ScopedRoutesDiscoveryServiceServer is the server API for ScopedRoutesDiscoveryService service. All implementations should embed UnimplementedScopedRoutesDiscoveryServiceServer for forward compatibility
type ScopedRoutesDiscoveryService_DeltaScopedRoutesClient ¶
type ScopedRoutesDiscoveryService_DeltaScopedRoutesClient interface { Send(*v3.DeltaDiscoveryRequest) error Recv() (*v3.DeltaDiscoveryResponse, error) grpc.ClientStream }
type ScopedRoutesDiscoveryService_DeltaScopedRoutesServer ¶
type ScopedRoutesDiscoveryService_DeltaScopedRoutesServer interface { Send(*v3.DeltaDiscoveryResponse) error Recv() (*v3.DeltaDiscoveryRequest, error) grpc.ServerStream }
type ScopedRoutesDiscoveryService_StreamScopedRoutesClient ¶
type ScopedRoutesDiscoveryService_StreamScopedRoutesClient interface { Send(*v3.DiscoveryRequest) error Recv() (*v3.DiscoveryResponse, error) grpc.ClientStream }
type ScopedRoutesDiscoveryService_StreamScopedRoutesServer ¶
type ScopedRoutesDiscoveryService_StreamScopedRoutesServer interface { Send(*v3.DiscoveryResponse) error Recv() (*v3.DiscoveryRequest, error) grpc.ServerStream }
type SrdsDummy ¶
type SrdsDummy 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 (*SrdsDummy) Descriptor
deprecated
func (*SrdsDummy) ProtoMessage ¶
func (*SrdsDummy) ProtoMessage()
func (*SrdsDummy) ProtoReflect ¶
func (x *SrdsDummy) ProtoReflect() protoreflect.Message
func (*SrdsDummy) Validate ¶
Validate checks the field values on SrdsDummy 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 (*SrdsDummy) ValidateAll ¶
ValidateAll checks the field values on SrdsDummy 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 SrdsDummyMultiError, or nil if none found.
type SrdsDummyMultiError ¶
type SrdsDummyMultiError []error
SrdsDummyMultiError is an error wrapping multiple validation errors returned by SrdsDummy.ValidateAll() if the designated constraints aren't met.
func (SrdsDummyMultiError) AllErrors ¶
func (m SrdsDummyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SrdsDummyMultiError) Error ¶
func (m SrdsDummyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SrdsDummyValidationError ¶
type SrdsDummyValidationError struct {
// contains filtered or unexported fields
}
SrdsDummyValidationError is the validation error returned by SrdsDummy.Validate if the designated constraints aren't met.
func (SrdsDummyValidationError) Cause ¶
func (e SrdsDummyValidationError) Cause() error
Cause function returns cause value.
func (SrdsDummyValidationError) Error ¶
func (e SrdsDummyValidationError) Error() string
Error satisfies the builtin error interface
func (SrdsDummyValidationError) ErrorName ¶
func (e SrdsDummyValidationError) ErrorName() string
ErrorName returns error name.
func (SrdsDummyValidationError) Field ¶
func (e SrdsDummyValidationError) Field() string
Field function returns field value.
func (SrdsDummyValidationError) Key ¶
func (e SrdsDummyValidationError) Key() bool
Key function returns key value.
func (SrdsDummyValidationError) Reason ¶
func (e SrdsDummyValidationError) Reason() string
Reason function returns reason value.
type UnimplementedRouteDiscoveryServiceServer ¶
type UnimplementedRouteDiscoveryServiceServer struct { }
UnimplementedRouteDiscoveryServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedRouteDiscoveryServiceServer) DeltaRoutes ¶
func (UnimplementedRouteDiscoveryServiceServer) DeltaRoutes(RouteDiscoveryService_DeltaRoutesServer) error
func (UnimplementedRouteDiscoveryServiceServer) FetchRoutes ¶
func (UnimplementedRouteDiscoveryServiceServer) FetchRoutes(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
func (UnimplementedRouteDiscoveryServiceServer) StreamRoutes ¶
func (UnimplementedRouteDiscoveryServiceServer) StreamRoutes(RouteDiscoveryService_StreamRoutesServer) error
type UnimplementedScopedRoutesDiscoveryServiceServer ¶
type UnimplementedScopedRoutesDiscoveryServiceServer struct { }
UnimplementedScopedRoutesDiscoveryServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedScopedRoutesDiscoveryServiceServer) DeltaScopedRoutes ¶
func (UnimplementedScopedRoutesDiscoveryServiceServer) DeltaScopedRoutes(ScopedRoutesDiscoveryService_DeltaScopedRoutesServer) error
func (UnimplementedScopedRoutesDiscoveryServiceServer) FetchScopedRoutes ¶
func (UnimplementedScopedRoutesDiscoveryServiceServer) FetchScopedRoutes(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
func (UnimplementedScopedRoutesDiscoveryServiceServer) StreamScopedRoutes ¶
func (UnimplementedScopedRoutesDiscoveryServiceServer) StreamScopedRoutes(ScopedRoutesDiscoveryService_StreamScopedRoutesServer) error
type UnimplementedVirtualHostDiscoveryServiceServer ¶
type UnimplementedVirtualHostDiscoveryServiceServer struct { }
UnimplementedVirtualHostDiscoveryServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedVirtualHostDiscoveryServiceServer) DeltaVirtualHosts ¶
func (UnimplementedVirtualHostDiscoveryServiceServer) DeltaVirtualHosts(VirtualHostDiscoveryService_DeltaVirtualHostsServer) error
type UnsafeRouteDiscoveryServiceServer ¶
type UnsafeRouteDiscoveryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRouteDiscoveryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RouteDiscoveryServiceServer will result in compilation errors.
type UnsafeScopedRoutesDiscoveryServiceServer ¶
type UnsafeScopedRoutesDiscoveryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeScopedRoutesDiscoveryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ScopedRoutesDiscoveryServiceServer will result in compilation errors.
type UnsafeVirtualHostDiscoveryServiceServer ¶
type UnsafeVirtualHostDiscoveryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVirtualHostDiscoveryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VirtualHostDiscoveryServiceServer will result in compilation errors.
type VirtualHostDiscoveryServiceClient ¶
type VirtualHostDiscoveryServiceClient interface {
DeltaVirtualHosts(ctx context.Context, opts ...grpc.CallOption) (VirtualHostDiscoveryService_DeltaVirtualHostsClient, error)
}
VirtualHostDiscoveryServiceClient is the client API for VirtualHostDiscoveryService 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 NewVirtualHostDiscoveryServiceClient ¶
func NewVirtualHostDiscoveryServiceClient(cc grpc.ClientConnInterface) VirtualHostDiscoveryServiceClient
type VirtualHostDiscoveryServiceServer ¶
type VirtualHostDiscoveryServiceServer interface {
DeltaVirtualHosts(VirtualHostDiscoveryService_DeltaVirtualHostsServer) error
}
VirtualHostDiscoveryServiceServer is the server API for VirtualHostDiscoveryService service. All implementations should embed UnimplementedVirtualHostDiscoveryServiceServer for forward compatibility
type VirtualHostDiscoveryService_DeltaVirtualHostsClient ¶
type VirtualHostDiscoveryService_DeltaVirtualHostsClient interface { Send(*v3.DeltaDiscoveryRequest) error Recv() (*v3.DeltaDiscoveryResponse, error) grpc.ClientStream }
type VirtualHostDiscoveryService_DeltaVirtualHostsServer ¶
type VirtualHostDiscoveryService_DeltaVirtualHostsServer interface { Send(*v3.DeltaDiscoveryResponse) error Recv() (*v3.DeltaDiscoveryRequest, error) grpc.ServerStream }