Documentation
¶
Index ¶
- type ServerService
- func (s *ServerService) CreateNode(ctx context.Context, req *v1.CreateNodeRequest) (*v1.CreateNodeReply, error)
- func (s *ServerService) CreateServer(ctx context.Context, req *v1.CreateServerRequest) (*v1.CreateServerReply, error)
- func (s *ServerService) DeleteNode(ctx context.Context, req *v1.DeleteNodeRequest) (*v1.DeleteNodeReply, error)
- func (s *ServerService) DeleteServer(ctx context.Context, req *v1.DeleteServerRequest) (*v1.DeleteServerReply, error)
- func (s *ServerService) FilterNodeList(ctx context.Context, req *v1.FilterNodeListRequest) (*v1.FilterNodeListReply, error)
- func (s *ServerService) FilterServerList(ctx context.Context, req *v1.FilterServerListRequest) (*v1.FilterServerListReply, error)
- func (s *ServerService) GetServerProtocols(ctx context.Context, req *v1.GetServerProtocolsRequest) (*v1.GetServerProtocolsReply, error)
- func (s *ServerService) HasMigrateServerNode(ctx context.Context, req *v1.HasMigrateServerNodeRequest) (*v1.HasMigrateServerNodeReply, error)
- func (s *ServerService) MigrateServerNode(ctx context.Context, req *v1.MigrateServerNodeRequest) (*v1.MigrateServerNodeReply, error)
- func (s *ServerService) QueryNodeTag(ctx context.Context, req *v1.QueryNodeTagRequest) (*v1.QueryNodeTagReply, error)
- func (s *ServerService) ResetSortWithNode(ctx context.Context, req *v1.ResetSortRequest) (*v1.ResetSortReply, error)
- func (s *ServerService) ResetSortWithServer(ctx context.Context, req *v1.ResetSortRequest) (*v1.ResetSortReply, error)
- func (s *ServerService) ToggleNodeStatus(ctx context.Context, req *v1.ToggleNodeStatusRequest) (*v1.ToggleNodeStatusReply, error)
- func (s *ServerService) UpdateNode(ctx context.Context, req *v1.UpdateNodeRequest) (*v1.UpdateNodeReply, error)
- func (s *ServerService) UpdateServer(ctx context.Context, req *v1.UpdateServerRequest) (*v1.UpdateServerReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerService ¶
type ServerService struct {
v1.UnimplementedServerServiceServer
// contains filtered or unexported fields
}
func NewServerService ¶
func NewServerService(serverUc *serverbiz.ServerUsecase, nodeUc *serverbiz.NodeUsecase, migrationUc *serverbiz.MigrationUsecase, logger log.Logger) *ServerService
func (*ServerService) CreateNode ¶
func (s *ServerService) CreateNode(ctx context.Context, req *v1.CreateNodeRequest) (*v1.CreateNodeReply, error)
func (*ServerService) CreateServer ¶
func (s *ServerService) CreateServer(ctx context.Context, req *v1.CreateServerRequest) (*v1.CreateServerReply, error)
func (*ServerService) DeleteNode ¶
func (s *ServerService) DeleteNode(ctx context.Context, req *v1.DeleteNodeRequest) (*v1.DeleteNodeReply, error)
func (*ServerService) DeleteServer ¶
func (s *ServerService) DeleteServer(ctx context.Context, req *v1.DeleteServerRequest) (*v1.DeleteServerReply, error)
func (*ServerService) FilterNodeList ¶
func (s *ServerService) FilterNodeList(ctx context.Context, req *v1.FilterNodeListRequest) (*v1.FilterNodeListReply, error)
func (*ServerService) FilterServerList ¶
func (s *ServerService) FilterServerList(ctx context.Context, req *v1.FilterServerListRequest) (*v1.FilterServerListReply, error)
func (*ServerService) GetServerProtocols ¶
func (s *ServerService) GetServerProtocols(ctx context.Context, req *v1.GetServerProtocolsRequest) (*v1.GetServerProtocolsReply, error)
func (*ServerService) HasMigrateServerNode ¶
func (s *ServerService) HasMigrateServerNode(ctx context.Context, req *v1.HasMigrateServerNodeRequest) (*v1.HasMigrateServerNodeReply, error)
func (*ServerService) MigrateServerNode ¶
func (s *ServerService) MigrateServerNode(ctx context.Context, req *v1.MigrateServerNodeRequest) (*v1.MigrateServerNodeReply, error)
func (*ServerService) QueryNodeTag ¶
func (s *ServerService) QueryNodeTag(ctx context.Context, req *v1.QueryNodeTagRequest) (*v1.QueryNodeTagReply, error)
func (*ServerService) ResetSortWithNode ¶
func (s *ServerService) ResetSortWithNode(ctx context.Context, req *v1.ResetSortRequest) (*v1.ResetSortReply, error)
func (*ServerService) ResetSortWithServer ¶
func (s *ServerService) ResetSortWithServer(ctx context.Context, req *v1.ResetSortRequest) (*v1.ResetSortReply, error)
func (*ServerService) ToggleNodeStatus ¶
func (s *ServerService) ToggleNodeStatus(ctx context.Context, req *v1.ToggleNodeStatusRequest) (*v1.ToggleNodeStatusReply, error)
func (*ServerService) UpdateNode ¶
func (s *ServerService) UpdateNode(ctx context.Context, req *v1.UpdateNodeRequest) (*v1.UpdateNodeReply, error)
func (*ServerService) UpdateServer ¶
func (s *ServerService) UpdateServer(ctx context.Context, req *v1.UpdateServerRequest) (*v1.UpdateServerReply, error)
Click to show internal directories.
Click to hide internal directories.