Documentation ¶
Index ¶
- Variables
- func RegisterRouteDiscoveryServiceServer(s *grpc.Server, srv RouteDiscoveryServiceServer)
- func RegisterScopedRoutesDiscoveryServiceServer(s *grpc.Server, srv ScopedRoutesDiscoveryServiceServer)
- func RegisterVirtualHostDiscoveryServiceServer(s *grpc.Server, srv VirtualHostDiscoveryServiceServer)
- type RdsDummy
- func (*RdsDummy) Descriptor() ([]byte, []int)
- func (m *RdsDummy) Marshal() (dAtA []byte, err error)
- func (m *RdsDummy) MarshalTo(dAtA []byte) (int, error)
- func (m *RdsDummy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RdsDummy) ProtoMessage()
- func (m *RdsDummy) Reset()
- func (m *RdsDummy) Size() (n int)
- func (m *RdsDummy) String() string
- func (m *RdsDummy) Unmarshal(dAtA []byte) error
- func (m *RdsDummy) Validate() error
- func (m *RdsDummy) XXX_DiscardUnknown()
- func (m *RdsDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RdsDummy) XXX_Merge(src proto.Message)
- func (m *RdsDummy) XXX_Size() int
- func (m *RdsDummy) XXX_Unmarshal(b []byte) error
- 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
- func (*SrdsDummy) Descriptor() ([]byte, []int)
- func (m *SrdsDummy) Marshal() (dAtA []byte, err error)
- func (m *SrdsDummy) MarshalTo(dAtA []byte) (int, error)
- func (m *SrdsDummy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SrdsDummy) ProtoMessage()
- func (m *SrdsDummy) Reset()
- func (m *SrdsDummy) Size() (n int)
- func (m *SrdsDummy) String() string
- func (m *SrdsDummy) Unmarshal(dAtA []byte) error
- func (m *SrdsDummy) Validate() error
- func (m *SrdsDummy) XXX_DiscardUnknown()
- func (m *SrdsDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SrdsDummy) XXX_Merge(src proto.Message)
- func (m *SrdsDummy) XXX_Size() int
- func (m *SrdsDummy) XXX_Unmarshal(b []byte) error
- type SrdsDummyValidationError
- type UnimplementedRouteDiscoveryServiceServer
- func (*UnimplementedRouteDiscoveryServiceServer) DeltaRoutes(srv RouteDiscoveryService_DeltaRoutesServer) error
- func (*UnimplementedRouteDiscoveryServiceServer) FetchRoutes(ctx context.Context, req *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
- func (*UnimplementedRouteDiscoveryServiceServer) StreamRoutes(srv RouteDiscoveryService_StreamRoutesServer) error
- type UnimplementedScopedRoutesDiscoveryServiceServer
- func (*UnimplementedScopedRoutesDiscoveryServiceServer) DeltaScopedRoutes(srv ScopedRoutesDiscoveryService_DeltaScopedRoutesServer) error
- func (*UnimplementedScopedRoutesDiscoveryServiceServer) FetchScopedRoutes(ctx context.Context, req *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
- func (*UnimplementedScopedRoutesDiscoveryServiceServer) StreamScopedRoutes(srv ScopedRoutesDiscoveryService_StreamScopedRoutesServer) error
- type UnimplementedVirtualHostDiscoveryServiceServer
- type VirtualHostDiscoveryServiceClient
- type VirtualHostDiscoveryServiceServer
- type VirtualHostDiscoveryService_DeltaVirtualHostsClient
- type VirtualHostDiscoveryService_DeltaVirtualHostsServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterRouteDiscoveryServiceServer ¶
func RegisterRouteDiscoveryServiceServer(s *grpc.Server, srv RouteDiscoveryServiceServer)
func RegisterScopedRoutesDiscoveryServiceServer ¶
func RegisterScopedRoutesDiscoveryServiceServer(s *grpc.Server, srv ScopedRoutesDiscoveryServiceServer)
func RegisterVirtualHostDiscoveryServiceServer ¶
func RegisterVirtualHostDiscoveryServiceServer(s *grpc.Server, srv VirtualHostDiscoveryServiceServer)
Types ¶
type RdsDummy ¶
type RdsDummy struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#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 ¶
func (*RdsDummy) MarshalToSizedBuffer ¶
func (*RdsDummy) ProtoMessage ¶
func (*RdsDummy) ProtoMessage()
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, an error is returned.
func (*RdsDummy) XXX_DiscardUnknown ¶
func (m *RdsDummy) XXX_DiscardUnknown()
func (*RdsDummy) XXX_Marshal ¶
func (*RdsDummy) XXX_Unmarshal ¶
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRouteDiscoveryServiceClient ¶
func NewRouteDiscoveryServiceClient(cc *grpc.ClientConn) 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.
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewScopedRoutesDiscoveryServiceClient ¶
func NewScopedRoutesDiscoveryServiceClient(cc *grpc.ClientConn) 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.
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 { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#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 ¶
func (*SrdsDummy) MarshalToSizedBuffer ¶
func (*SrdsDummy) ProtoMessage ¶
func (*SrdsDummy) ProtoMessage()
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, an error is returned.
func (*SrdsDummy) XXX_DiscardUnknown ¶
func (m *SrdsDummy) XXX_DiscardUnknown()
func (*SrdsDummy) XXX_Marshal ¶
func (*SrdsDummy) XXX_Unmarshal ¶
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 can be embedded to have forward compatible implementations.
func (*UnimplementedRouteDiscoveryServiceServer) DeltaRoutes ¶
func (*UnimplementedRouteDiscoveryServiceServer) DeltaRoutes(srv RouteDiscoveryService_DeltaRoutesServer) error
func (*UnimplementedRouteDiscoveryServiceServer) FetchRoutes ¶
func (*UnimplementedRouteDiscoveryServiceServer) FetchRoutes(ctx context.Context, req *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
func (*UnimplementedRouteDiscoveryServiceServer) StreamRoutes ¶
func (*UnimplementedRouteDiscoveryServiceServer) StreamRoutes(srv RouteDiscoveryService_StreamRoutesServer) error
type UnimplementedScopedRoutesDiscoveryServiceServer ¶
type UnimplementedScopedRoutesDiscoveryServiceServer struct { }
UnimplementedScopedRoutesDiscoveryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedScopedRoutesDiscoveryServiceServer) DeltaScopedRoutes ¶
func (*UnimplementedScopedRoutesDiscoveryServiceServer) DeltaScopedRoutes(srv ScopedRoutesDiscoveryService_DeltaScopedRoutesServer) error
func (*UnimplementedScopedRoutesDiscoveryServiceServer) FetchScopedRoutes ¶
func (*UnimplementedScopedRoutesDiscoveryServiceServer) FetchScopedRoutes(ctx context.Context, req *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
func (*UnimplementedScopedRoutesDiscoveryServiceServer) StreamScopedRoutes ¶
func (*UnimplementedScopedRoutesDiscoveryServiceServer) StreamScopedRoutes(srv ScopedRoutesDiscoveryService_StreamScopedRoutesServer) error
type UnimplementedVirtualHostDiscoveryServiceServer ¶
type UnimplementedVirtualHostDiscoveryServiceServer struct { }
UnimplementedVirtualHostDiscoveryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedVirtualHostDiscoveryServiceServer) DeltaVirtualHosts ¶
func (*UnimplementedVirtualHostDiscoveryServiceServer) DeltaVirtualHosts(srv VirtualHostDiscoveryService_DeltaVirtualHostsServer) error
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVirtualHostDiscoveryServiceClient ¶
func NewVirtualHostDiscoveryServiceClient(cc *grpc.ClientConn) VirtualHostDiscoveryServiceClient
type VirtualHostDiscoveryServiceServer ¶
type VirtualHostDiscoveryServiceServer interface {
DeltaVirtualHosts(VirtualHostDiscoveryService_DeltaVirtualHostsServer) error
}
VirtualHostDiscoveryServiceServer is the server API for VirtualHostDiscoveryService service.
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 }