Documentation ¶
Index ¶
- Variables
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterClientServiceServer(s grpc.ServiceRegistrar, srv ClientServiceServer)
- func RegisterClustersServiceServer(s grpc.ServiceRegistrar, srv ClustersServiceServer)
- func RegisterEndpointServiceServer(s grpc.ServiceRegistrar, srv EndpointServiceServer)
- func RegisterInfobasesServiceServer(s grpc.ServiceRegistrar, srv InfobasesServiceServer)
- func RegisterRasServiceServer(s grpc.ServiceRegistrar, srv RasServiceServer)
- func RegisterSessionsServiceServer(s grpc.ServiceRegistrar, srv SessionsServiceServer)
- type AuthService
- func (x *AuthService) AuthenticateAgent(req *v1.AuthenticateAgentRequest) (*emptypb.Empty, error)
- func (x *AuthService) AuthenticateCluster(req *v1.ClusterAuthenticateRequest) (*emptypb.Empty, error)
- func (x *AuthService) AuthenticateInfobase(req *v1.AuthenticateInfobaseRequest) (*emptypb.Empty, error)
- type AuthServiceClient
- type AuthServiceImpl
- type AuthServiceServer
- type ClientServiceClient
- type ClientServiceImpl
- type ClientServiceOption
- type ClientServiceOptions
- type ClientServiceServer
- type ClustersService
- func (x *ClustersService) GetClusterInfo(req *v1.GetClusterInfoRequest) (*v1.GetClusterInfoResponse, error)
- func (x *ClustersService) GetClusters(req *v1.GetClustersRequest) (*v1.GetClustersResponse, error)
- func (x *ClustersService) RegCluster(req *v1.RegClusterRequest) (*v1.RegClusterResponse, error)
- func (x *ClustersService) UnregCluster(req *v1.UnregClusterRequest) (*emptypb.Empty, error)
- type ClustersServiceClient
- type ClustersServiceImpl
- type ClustersServiceServer
- type EndpointRequest
- func (*EndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointRequest) GetRequest() *anypb.Any
- func (x *EndpointRequest) GetRespond() *anypb.Any
- func (*EndpointRequest) ProtoMessage()
- func (x *EndpointRequest) ProtoReflect() protoreflect.Message
- func (x *EndpointRequest) Reset()
- func (x *EndpointRequest) String() string
- type EndpointServiceClient
- type EndpointServiceImpl
- type EndpointServiceServer
- type InfobasesService
- type InfobasesServiceClient
- type InfobasesServiceImpl
- type InfobasesServiceServer
- type RasServiceClient
- type RasServiceImpl
- type RasServiceServer
- type SessionsService
- type SessionsServiceClient
- type SessionsServiceImpl
- type SessionsServiceServer
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) AuthenticateAgent(context.Context, *v1.AuthenticateAgentRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServiceServer) AuthenticateCluster(context.Context, *v1.ClusterAuthenticateRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServiceServer) AuthenticateInfobase(context.Context, *v1.AuthenticateInfobaseRequest) (*emptypb.Empty, error)
- type UnimplementedClientServiceServer
- func (UnimplementedClientServiceServer) Connect(context.Context, *v1.ConnectMessage) (*v1.ConnectMessageAck, error)
- func (UnimplementedClientServiceServer) Disconnect(context.Context, *v1.DisconnectMessage) (*emptypb.Empty, error)
- func (UnimplementedClientServiceServer) EndpointClose(context.Context, *v1.EndpointClose) (*emptypb.Empty, error)
- func (UnimplementedClientServiceServer) EndpointMessage(context.Context, *v1.EndpointMessage) (*v1.EndpointMessage, error)
- func (UnimplementedClientServiceServer) EndpointOpen(context.Context, *v1.EndpointOpen) (*v1.EndpointOpenAck, error)
- func (UnimplementedClientServiceServer) Negotiate(context.Context, *v1.NegotiateMessage) (*emptypb.Empty, error)
- func (UnimplementedClientServiceServer) NewEndpoint(context.Context, *v1.EndpointOpenAck) (*v1.Endpoint, error)
- type UnimplementedClustersServiceServer
- func (UnimplementedClustersServiceServer) GetClusterInfo(context.Context, *v1.GetClusterInfoRequest) (*v1.GetClusterInfoResponse, error)
- func (UnimplementedClustersServiceServer) GetClusters(context.Context, *v1.GetClustersRequest) (*v1.GetClustersResponse, error)
- func (UnimplementedClustersServiceServer) RegCluster(context.Context, *v1.RegClusterRequest) (*v1.RegClusterResponse, error)
- func (UnimplementedClustersServiceServer) UnregCluster(context.Context, *v1.UnregClusterRequest) (*emptypb.Empty, error)
- type UnimplementedEndpointServiceServer
- type UnimplementedInfobasesServiceServer
- type UnimplementedRasServiceServer
- type UnimplementedSessionsServiceServer
- type UnsafeAuthServiceServer
- type UnsafeClientServiceServer
- type UnsafeClustersServiceServer
- type UnsafeEndpointServiceServer
- type UnsafeInfobasesServiceServer
- type UnsafeRasServiceServer
- type UnsafeSessionsServiceServer
Constants ¶
This section is empty.
Variables ¶
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ras.client.v1.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AuthenticateCluster", Handler: _AuthService_AuthenticateCluster_Handler, }, { MethodName: "AuthenticateInfobase", Handler: _AuthService_AuthenticateInfobase_Handler, }, { MethodName: "AuthenticateAgent", Handler: _AuthService_AuthenticateAgent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ras/client/v1/auth_service.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ClientService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ras.client.v1.ClientService", HandlerType: (*ClientServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Negotiate", Handler: _ClientService_Negotiate_Handler, }, { MethodName: "Connect", Handler: _ClientService_Connect_Handler, }, { MethodName: "Disconnect", Handler: _ClientService_Disconnect_Handler, }, { MethodName: "EndpointOpen", Handler: _ClientService_EndpointOpen_Handler, }, { MethodName: "EndpointClose", Handler: _ClientService_EndpointClose_Handler, }, { MethodName: "EndpointMessage", Handler: _ClientService_EndpointMessage_Handler, }, { MethodName: "NewEndpoint", Handler: _ClientService_NewEndpoint_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ras/client/v1/client_service.proto", }
ClientService_ServiceDesc is the grpc.ServiceDesc for ClientService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ClustersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ras.client.v1.ClustersService", HandlerType: (*ClustersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetClusters", Handler: _ClustersService_GetClusters_Handler, }, { MethodName: "GetClusterInfo", Handler: _ClustersService_GetClusterInfo_Handler, }, { MethodName: "RegCluster", Handler: _ClustersService_RegCluster_Handler, }, { MethodName: "UnregCluster", Handler: _ClustersService_UnregCluster_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ras/client/v1/clusters_service.proto", }
ClustersService_ServiceDesc is the grpc.ServiceDesc for ClustersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EndpointService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ras.client.v1.EndpointService", HandlerType: (*EndpointServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Request", Handler: _EndpointService_Request_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ras/client/v1/client_service.proto", }
EndpointService_ServiceDesc is the grpc.ServiceDesc for EndpointService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_ras_client_v1_auth_service_proto protoreflect.FileDescriptor
var File_ras_client_v1_client_service_proto protoreflect.FileDescriptor
var File_ras_client_v1_clusters_service_proto protoreflect.FileDescriptor
var File_ras_client_v1_infonases_service_proto protoreflect.FileDescriptor
var File_ras_client_v1_ras_service_proto protoreflect.FileDescriptor
var File_ras_client_v1_sessions_service_proto protoreflect.FileDescriptor
var InfobasesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ras.client.v1.InfobasesService", HandlerType: (*InfobasesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetShortInfobases", Handler: _InfobasesService_GetShortInfobases_Handler, }, { MethodName: "GetSessions", Handler: _InfobasesService_GetSessions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ras/client/v1/infonases_service.proto", }
InfobasesService_ServiceDesc is the grpc.ServiceDesc for InfobasesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RasService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ras.client.v1.RasService", HandlerType: (*RasServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "ras/client/v1/ras_service.proto", }
RasService_ServiceDesc is the grpc.ServiceDesc for RasService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SessionsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ras.client.v1.SessionsService", HandlerType: (*SessionsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSessions", Handler: _SessionsService_GetSessions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ras/client/v1/sessions_service.proto", }
SessionsService_ServiceDesc is the grpc.ServiceDesc for SessionsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterClientServiceServer ¶
func RegisterClientServiceServer(s grpc.ServiceRegistrar, srv ClientServiceServer)
func RegisterClustersServiceServer ¶
func RegisterClustersServiceServer(s grpc.ServiceRegistrar, srv ClustersServiceServer)
func RegisterEndpointServiceServer ¶
func RegisterEndpointServiceServer(s grpc.ServiceRegistrar, srv EndpointServiceServer)
func RegisterInfobasesServiceServer ¶
func RegisterInfobasesServiceServer(s grpc.ServiceRegistrar, srv InfobasesServiceServer)
func RegisterRasServiceServer ¶
func RegisterRasServiceServer(s grpc.ServiceRegistrar, srv RasServiceServer)
func RegisterSessionsServiceServer ¶
func RegisterSessionsServiceServer(s grpc.ServiceRegistrar, srv SessionsServiceServer)
Types ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
AuthService is the endpoint message service for RAS service.
func (*AuthService) AuthenticateAgent ¶
func (x *AuthService) AuthenticateAgent(req *v1.AuthenticateAgentRequest) (*emptypb.Empty, error)
func (*AuthService) AuthenticateCluster ¶
func (x *AuthService) AuthenticateCluster(req *v1.ClusterAuthenticateRequest) (*emptypb.Empty, error)
func (*AuthService) AuthenticateInfobase ¶
func (x *AuthService) AuthenticateInfobase(req *v1.AuthenticateInfobaseRequest) (*emptypb.Empty, error)
type AuthServiceClient ¶
type AuthServiceClient interface { AuthenticateCluster(ctx context.Context, in *v1.ClusterAuthenticateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AuthenticateInfobase(ctx context.Context, in *v1.AuthenticateInfobaseRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AuthenticateAgent(ctx context.Context, in *v1.AuthenticateAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AuthServiceClient is the client API for AuthService 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 NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceImpl ¶
type AuthServiceImpl interface { AuthenticateCluster(*v1.ClusterAuthenticateRequest) (*emptypb.Empty, error) AuthenticateInfobase(*v1.AuthenticateInfobaseRequest) (*emptypb.Empty, error) AuthenticateAgent(*v1.AuthenticateAgentRequest) (*emptypb.Empty, error) }
func NewAuthService ¶
func NewAuthService(endpointService EndpointServiceImpl) AuthServiceImpl
type AuthServiceServer ¶
type AuthServiceServer interface { AuthenticateCluster(context.Context, *v1.ClusterAuthenticateRequest) (*emptypb.Empty, error) AuthenticateInfobase(context.Context, *v1.AuthenticateInfobaseRequest) (*emptypb.Empty, error) AuthenticateAgent(context.Context, *v1.AuthenticateAgentRequest) (*emptypb.Empty, error) }
AuthServiceServer is the server API for AuthService service. All implementations should embed UnimplementedAuthServiceServer for forward compatibility
type ClientServiceClient ¶
type ClientServiceClient interface { Negotiate(ctx context.Context, in *v1.NegotiateMessage, opts ...grpc.CallOption) (*emptypb.Empty, error) Connect(ctx context.Context, in *v1.ConnectMessage, opts ...grpc.CallOption) (*v1.ConnectMessageAck, error) Disconnect(ctx context.Context, in *v1.DisconnectMessage, opts ...grpc.CallOption) (*emptypb.Empty, error) EndpointOpen(ctx context.Context, in *v1.EndpointOpen, opts ...grpc.CallOption) (*v1.EndpointOpenAck, error) EndpointClose(ctx context.Context, in *v1.EndpointClose, opts ...grpc.CallOption) (*emptypb.Empty, error) EndpointMessage(ctx context.Context, in *v1.EndpointMessage, opts ...grpc.CallOption) (*v1.EndpointMessage, error) NewEndpoint(ctx context.Context, in *v1.EndpointOpenAck, opts ...grpc.CallOption) (*v1.Endpoint, error) }
ClientServiceClient is the client API for ClientService 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 NewClientServiceClient ¶
func NewClientServiceClient(cc grpc.ClientConnInterface) ClientServiceClient
type ClientServiceImpl ¶
type ClientServiceImpl interface { Negotiate(*v1.NegotiateMessage) (*emptypb.Empty, error) Connect(*v1.ConnectMessage) (*v1.ConnectMessageAck, error) Disconnect(*v1.DisconnectMessage) (*emptypb.Empty, error) EndpointOpen(*v1.EndpointOpen) (*v1.EndpointOpenAck, error) EndpointClose(*v1.EndpointClose) (*emptypb.Empty, error) EndpointMessage(*v1.EndpointMessage) (*v1.EndpointMessage, error) NewEndpoint(*v1.EndpointOpenAck) (*v1.Endpoint, error) DetectSupportedVersion(err error) string }
func NewClientService ¶
func NewClientService(host string, opts ...ClientServiceOption) ClientServiceImpl
type ClientServiceOption ¶
type ClientServiceOption func(*ClientServiceOptions)
func SetTimeout ¶
func SetTimeout(timeout time.Duration) ClientServiceOption
func WithDialer ¶
func WithDialer(dialer *net.Dialer) ClientServiceOption
type ClientServiceOptions ¶
type ClientServiceOptions struct {
// contains filtered or unexported fields
}
type ClientServiceServer ¶
type ClientServiceServer interface { Negotiate(context.Context, *v1.NegotiateMessage) (*emptypb.Empty, error) Connect(context.Context, *v1.ConnectMessage) (*v1.ConnectMessageAck, error) Disconnect(context.Context, *v1.DisconnectMessage) (*emptypb.Empty, error) EndpointOpen(context.Context, *v1.EndpointOpen) (*v1.EndpointOpenAck, error) EndpointClose(context.Context, *v1.EndpointClose) (*emptypb.Empty, error) EndpointMessage(context.Context, *v1.EndpointMessage) (*v1.EndpointMessage, error) NewEndpoint(context.Context, *v1.EndpointOpenAck) (*v1.Endpoint, error) }
ClientServiceServer is the server API for ClientService service. All implementations should embed UnimplementedClientServiceServer for forward compatibility
type ClustersService ¶
type ClustersService struct {
// contains filtered or unexported fields
}
ClustersService is the endpoint message service for RAS service.
func (*ClustersService) GetClusterInfo ¶
func (x *ClustersService) GetClusterInfo(req *v1.GetClusterInfoRequest) (*v1.GetClusterInfoResponse, error)
func (*ClustersService) GetClusters ¶
func (x *ClustersService) GetClusters(req *v1.GetClustersRequest) (*v1.GetClustersResponse, error)
func (*ClustersService) RegCluster ¶
func (x *ClustersService) RegCluster(req *v1.RegClusterRequest) (*v1.RegClusterResponse, error)
func (*ClustersService) UnregCluster ¶
func (x *ClustersService) UnregCluster(req *v1.UnregClusterRequest) (*emptypb.Empty, error)
type ClustersServiceClient ¶
type ClustersServiceClient interface { GetClusters(ctx context.Context, in *v1.GetClustersRequest, opts ...grpc.CallOption) (*v1.GetClustersResponse, error) GetClusterInfo(ctx context.Context, in *v1.GetClusterInfoRequest, opts ...grpc.CallOption) (*v1.GetClusterInfoResponse, error) RegCluster(ctx context.Context, in *v1.RegClusterRequest, opts ...grpc.CallOption) (*v1.RegClusterResponse, error) UnregCluster(ctx context.Context, in *v1.UnregClusterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ClustersServiceClient is the client API for ClustersService 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 NewClustersServiceClient ¶
func NewClustersServiceClient(cc grpc.ClientConnInterface) ClustersServiceClient
type ClustersServiceImpl ¶
type ClustersServiceImpl interface { GetClusters(*v1.GetClustersRequest) (*v1.GetClustersResponse, error) GetClusterInfo(*v1.GetClusterInfoRequest) (*v1.GetClusterInfoResponse, error) RegCluster(*v1.RegClusterRequest) (*v1.RegClusterResponse, error) UnregCluster(*v1.UnregClusterRequest) (*emptypb.Empty, error) }
func NewClustersService ¶
func NewClustersService(endpointService EndpointServiceImpl) ClustersServiceImpl
type ClustersServiceServer ¶
type ClustersServiceServer interface { GetClusters(context.Context, *v1.GetClustersRequest) (*v1.GetClustersResponse, error) GetClusterInfo(context.Context, *v1.GetClusterInfoRequest) (*v1.GetClusterInfoResponse, error) RegCluster(context.Context, *v1.RegClusterRequest) (*v1.RegClusterResponse, error) UnregCluster(context.Context, *v1.UnregClusterRequest) (*emptypb.Empty, error) }
ClustersServiceServer is the server API for ClustersService service. All implementations should embed UnimplementedClustersServiceServer for forward compatibility
type EndpointRequest ¶
type EndpointRequest struct { Request *anypb.Any `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` Respond *anypb.Any `protobuf:"bytes,2,opt,name=respond,proto3" json:"respond,omitempty"` // contains filtered or unexported fields }
func (*EndpointRequest) Descriptor
deprecated
func (*EndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use EndpointRequest.ProtoReflect.Descriptor instead.
func (*EndpointRequest) GetRequest ¶
func (x *EndpointRequest) GetRequest() *anypb.Any
func (*EndpointRequest) GetRespond ¶
func (x *EndpointRequest) GetRespond() *anypb.Any
func (*EndpointRequest) ProtoMessage ¶
func (*EndpointRequest) ProtoMessage()
func (*EndpointRequest) ProtoReflect ¶
func (x *EndpointRequest) ProtoReflect() protoreflect.Message
func (*EndpointRequest) Reset ¶
func (x *EndpointRequest) Reset()
func (*EndpointRequest) String ¶
func (x *EndpointRequest) String() string
type EndpointServiceClient ¶
type EndpointServiceClient interface {
Request(ctx context.Context, in *EndpointRequest, opts ...grpc.CallOption) (*anypb.Any, error)
}
EndpointServiceClient is the client API for EndpointService 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 NewEndpointServiceClient ¶
func NewEndpointServiceClient(cc grpc.ClientConnInterface) EndpointServiceClient
type EndpointServiceImpl ¶
type EndpointServiceImpl interface {
Request(*EndpointRequest) (*anypb.Any, error)
}
func NewEndpointService ¶
func NewEndpointService(clientService ClientServiceImpl, endpoint v1.EndpointImpl) EndpointServiceImpl
type EndpointServiceServer ¶
type EndpointServiceServer interface {
Request(context.Context, *EndpointRequest) (*anypb.Any, error)
}
EndpointServiceServer is the server API for EndpointService service. All implementations should embed UnimplementedEndpointServiceServer for forward compatibility
type InfobasesService ¶
type InfobasesService struct {
// contains filtered or unexported fields
}
InfobasesService is the endpoint message service for RAS service.
func (*InfobasesService) GetSessions ¶
func (x *InfobasesService) GetSessions(req *v1.GetInfobaseSessionsRequest) (*v1.GetInfobaseSessionsResponse, error)
func (*InfobasesService) GetShortInfobases ¶
func (x *InfobasesService) GetShortInfobases(req *v1.GetInfobasesShortRequest) (*v1.GetInfobasesShortResponse, error)
type InfobasesServiceClient ¶
type InfobasesServiceClient interface { // GetInfobasesShortRequest GetShortInfobases(ctx context.Context, in *v1.GetInfobasesShortRequest, opts ...grpc.CallOption) (*v1.GetInfobasesShortResponse, error) // GetInfobaseSessionsRequest GetSessions(ctx context.Context, in *v1.GetInfobaseSessionsRequest, opts ...grpc.CallOption) (*v1.GetInfobaseSessionsResponse, error) }
InfobasesServiceClient is the client API for InfobasesService 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 NewInfobasesServiceClient ¶
func NewInfobasesServiceClient(cc grpc.ClientConnInterface) InfobasesServiceClient
type InfobasesServiceImpl ¶
type InfobasesServiceImpl interface { GetShortInfobases(*v1.GetInfobasesShortRequest) (*v1.GetInfobasesShortResponse, error) GetSessions(*v1.GetInfobaseSessionsRequest) (*v1.GetInfobaseSessionsResponse, error) }
func NewInfobasesService ¶
func NewInfobasesService(endpointService EndpointServiceImpl) InfobasesServiceImpl
type InfobasesServiceServer ¶
type InfobasesServiceServer interface { // GetInfobasesShortRequest GetShortInfobases(context.Context, *v1.GetInfobasesShortRequest) (*v1.GetInfobasesShortResponse, error) // GetInfobaseSessionsRequest GetSessions(context.Context, *v1.GetInfobaseSessionsRequest) (*v1.GetInfobaseSessionsResponse, error) }
InfobasesServiceServer is the server API for InfobasesService service. All implementations should embed UnimplementedInfobasesServiceServer for forward compatibility
type RasServiceClient ¶
type RasServiceClient interface { }
RasServiceClient is the client API for RasService 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 NewRasServiceClient ¶
func NewRasServiceClient(cc grpc.ClientConnInterface) RasServiceClient
type RasServiceImpl ¶
type RasServiceImpl interface { // AuthenticateCluster proxy request AuthService.AuthenticateCluster AuthenticateCluster(*v1.ClusterAuthenticateRequest) (*emptypb.Empty, error) // AuthenticateInfobase proxy request AuthService.AuthenticateInfobase AuthenticateInfobase(*v1.AuthenticateInfobaseRequest) (*emptypb.Empty, error) // AuthenticateAgent proxy request AuthService.AuthenticateAgent AuthenticateAgent(*v1.AuthenticateAgentRequest) (*emptypb.Empty, error) // GetClusters proxy request ClustersService.GetClusters GetClusters(*v1.GetClustersRequest) (*v1.GetClustersResponse, error) // GetClusterInfo proxy request ClustersService.GetClusterInfo GetClusterInfo(*v1.GetClusterInfoRequest) (*v1.GetClusterInfoResponse, error) // RegCluster proxy request ClustersService.RegCluster RegCluster(*v1.RegClusterRequest) (*v1.RegClusterResponse, error) // UnregCluster proxy request ClustersService.UnregCluster UnregCluster(*v1.UnregClusterRequest) (*emptypb.Empty, error) // GetShortInfobases proxy request InfobasesService.GetShortInfobases GetShortInfobases(*v1.GetInfobasesShortRequest) (*v1.GetInfobasesShortResponse, error) // GetInfobaseSessions proxy request InfobasesService.GetSessions GetInfobaseSessions(*v1.GetInfobaseSessionsRequest) (*v1.GetInfobaseSessionsResponse, error) // GetSessions proxy request SessionsService.GetSessions GetSessions(*v1.GetSessionsRequest) (*v1.GetSessionsResponse, error) }
func NewRasService ¶
func NewRasService(endpointService EndpointServiceImpl) RasServiceImpl
type RasServiceServer ¶
type RasServiceServer interface { }
RasServiceServer is the server API for RasService service. All implementations should embed UnimplementedRasServiceServer for forward compatibility
type SessionsService ¶
type SessionsService struct {
// contains filtered or unexported fields
}
SessionsService is the endpoint message service for RAS service.
func (*SessionsService) GetSessions ¶
func (x *SessionsService) GetSessions(req *v1.GetSessionsRequest) (*v1.GetSessionsResponse, error)
type SessionsServiceClient ¶
type SessionsServiceClient interface {
GetSessions(ctx context.Context, in *v1.GetSessionsRequest, opts ...grpc.CallOption) (*v1.GetSessionsResponse, error)
}
SessionsServiceClient is the client API for SessionsService 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 NewSessionsServiceClient ¶
func NewSessionsServiceClient(cc grpc.ClientConnInterface) SessionsServiceClient
type SessionsServiceImpl ¶
type SessionsServiceImpl interface {
GetSessions(*v1.GetSessionsRequest) (*v1.GetSessionsResponse, error)
}
func NewSessionsService ¶
func NewSessionsService(endpointService EndpointServiceImpl) SessionsServiceImpl
type SessionsServiceServer ¶
type SessionsServiceServer interface {
GetSessions(context.Context, *v1.GetSessionsRequest) (*v1.GetSessionsResponse, error)
}
SessionsServiceServer is the server API for SessionsService service. All implementations should embed UnimplementedSessionsServiceServer for forward compatibility
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) AuthenticateAgent ¶
func (UnimplementedAuthServiceServer) AuthenticateAgent(context.Context, *v1.AuthenticateAgentRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServiceServer) AuthenticateCluster ¶
func (UnimplementedAuthServiceServer) AuthenticateCluster(context.Context, *v1.ClusterAuthenticateRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServiceServer) AuthenticateInfobase ¶
func (UnimplementedAuthServiceServer) AuthenticateInfobase(context.Context, *v1.AuthenticateInfobaseRequest) (*emptypb.Empty, error)
type UnimplementedClientServiceServer ¶
type UnimplementedClientServiceServer struct { }
UnimplementedClientServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedClientServiceServer) Connect ¶
func (UnimplementedClientServiceServer) Connect(context.Context, *v1.ConnectMessage) (*v1.ConnectMessageAck, error)
func (UnimplementedClientServiceServer) Disconnect ¶
func (UnimplementedClientServiceServer) Disconnect(context.Context, *v1.DisconnectMessage) (*emptypb.Empty, error)
func (UnimplementedClientServiceServer) EndpointClose ¶
func (UnimplementedClientServiceServer) EndpointClose(context.Context, *v1.EndpointClose) (*emptypb.Empty, error)
func (UnimplementedClientServiceServer) EndpointMessage ¶
func (UnimplementedClientServiceServer) EndpointMessage(context.Context, *v1.EndpointMessage) (*v1.EndpointMessage, error)
func (UnimplementedClientServiceServer) EndpointOpen ¶
func (UnimplementedClientServiceServer) EndpointOpen(context.Context, *v1.EndpointOpen) (*v1.EndpointOpenAck, error)
func (UnimplementedClientServiceServer) Negotiate ¶
func (UnimplementedClientServiceServer) Negotiate(context.Context, *v1.NegotiateMessage) (*emptypb.Empty, error)
func (UnimplementedClientServiceServer) NewEndpoint ¶
func (UnimplementedClientServiceServer) NewEndpoint(context.Context, *v1.EndpointOpenAck) (*v1.Endpoint, error)
type UnimplementedClustersServiceServer ¶
type UnimplementedClustersServiceServer struct { }
UnimplementedClustersServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedClustersServiceServer) GetClusterInfo ¶
func (UnimplementedClustersServiceServer) GetClusterInfo(context.Context, *v1.GetClusterInfoRequest) (*v1.GetClusterInfoResponse, error)
func (UnimplementedClustersServiceServer) GetClusters ¶
func (UnimplementedClustersServiceServer) GetClusters(context.Context, *v1.GetClustersRequest) (*v1.GetClustersResponse, error)
func (UnimplementedClustersServiceServer) RegCluster ¶
func (UnimplementedClustersServiceServer) RegCluster(context.Context, *v1.RegClusterRequest) (*v1.RegClusterResponse, error)
func (UnimplementedClustersServiceServer) UnregCluster ¶
func (UnimplementedClustersServiceServer) UnregCluster(context.Context, *v1.UnregClusterRequest) (*emptypb.Empty, error)
type UnimplementedEndpointServiceServer ¶
type UnimplementedEndpointServiceServer struct { }
UnimplementedEndpointServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEndpointServiceServer) Request ¶
func (UnimplementedEndpointServiceServer) Request(context.Context, *EndpointRequest) (*anypb.Any, error)
type UnimplementedInfobasesServiceServer ¶
type UnimplementedInfobasesServiceServer struct { }
UnimplementedInfobasesServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedInfobasesServiceServer) GetSessions ¶
func (UnimplementedInfobasesServiceServer) GetSessions(context.Context, *v1.GetInfobaseSessionsRequest) (*v1.GetInfobaseSessionsResponse, error)
func (UnimplementedInfobasesServiceServer) GetShortInfobases ¶
func (UnimplementedInfobasesServiceServer) GetShortInfobases(context.Context, *v1.GetInfobasesShortRequest) (*v1.GetInfobasesShortResponse, error)
type UnimplementedRasServiceServer ¶
type UnimplementedRasServiceServer struct { }
UnimplementedRasServiceServer should be embedded to have forward compatible implementations.
type UnimplementedSessionsServiceServer ¶
type UnimplementedSessionsServiceServer struct { }
UnimplementedSessionsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedSessionsServiceServer) GetSessions ¶
func (UnimplementedSessionsServiceServer) GetSessions(context.Context, *v1.GetSessionsRequest) (*v1.GetSessionsResponse, error)
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeClientServiceServer ¶
type UnsafeClientServiceServer interface {
// contains filtered or unexported methods
}
UnsafeClientServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClientServiceServer will result in compilation errors.
type UnsafeClustersServiceServer ¶
type UnsafeClustersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeClustersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClustersServiceServer will result in compilation errors.
type UnsafeEndpointServiceServer ¶
type UnsafeEndpointServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEndpointServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EndpointServiceServer will result in compilation errors.
type UnsafeInfobasesServiceServer ¶
type UnsafeInfobasesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInfobasesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InfobasesServiceServer will result in compilation errors.
type UnsafeRasServiceServer ¶
type UnsafeRasServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRasServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RasServiceServer will result in compilation errors.
type UnsafeSessionsServiceServer ¶
type UnsafeSessionsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSessionsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SessionsServiceServer will result in compilation errors.
Source Files ¶
- auth_service.pb.go
- auth_service_grpc.pb.go
- auth_service_ras.pb.go
- client_service.pb.go
- client_service_grpc.pb.go
- client_service_ras.pb.go
- clusters_service.pb.go
- clusters_service_grpc.pb.go
- clusters_service_ras.pb.go
- infonases_service.pb.go
- infonases_service_grpc.pb.go
- infonases_service_ras.pb.go
- ras_service.pb.go
- ras_service_grpc.pb.go
- ras_service_ras.pb.go
- sessions_service.pb.go
- sessions_service_grpc.pb.go
- sessions_service_ras.pb.go