package Ydb_Maintenance_V1
import "github.com/ydb-platform/ydb-go-genproto/draft/Ydb_Maintenance_V1"
Index ¶
- Constants
- Variables
- func RegisterMaintenanceServiceServer(s grpc.ServiceRegistrar, srv MaintenanceServiceServer)
- type MaintenanceServiceClient
- type MaintenanceServiceServer
- type UnimplementedMaintenanceServiceServer
- func (UnimplementedMaintenanceServiceServer) CompleteAction(context.Context, *Ydb_Maintenance.CompleteActionRequest) (*Ydb_Maintenance.ManageActionResponse, error)
- func (UnimplementedMaintenanceServiceServer) CreateMaintenanceTask(context.Context, *Ydb_Maintenance.CreateMaintenanceTaskRequest) (*Ydb_Maintenance.MaintenanceTaskResponse, error)
- func (UnimplementedMaintenanceServiceServer) DropMaintenanceTask(context.Context, *Ydb_Maintenance.DropMaintenanceTaskRequest) (*Ydb_Maintenance.ManageMaintenanceTaskResponse, error)
- func (UnimplementedMaintenanceServiceServer) GetMaintenanceTask(context.Context, *Ydb_Maintenance.GetMaintenanceTaskRequest) (*Ydb_Maintenance.GetMaintenanceTaskResponse, error)
- func (UnimplementedMaintenanceServiceServer) ListClusterNodes(context.Context, *Ydb_Maintenance.ListClusterNodesRequest) (*Ydb_Maintenance.ListClusterNodesResponse, error)
- func (UnimplementedMaintenanceServiceServer) ListMaintenanceTasks(context.Context, *Ydb_Maintenance.ListMaintenanceTasksRequest) (*Ydb_Maintenance.ListMaintenanceTasksResponse, error)
- func (UnimplementedMaintenanceServiceServer) RefreshMaintenanceTask(context.Context, *Ydb_Maintenance.RefreshMaintenanceTaskRequest) (*Ydb_Maintenance.MaintenanceTaskResponse, error)
- type UnsafeMaintenanceServiceServer
Constants ¶
const ( MaintenanceService_ListClusterNodes_FullMethodName = "/Ydb.Maintenance.V1.MaintenanceService/ListClusterNodes" MaintenanceService_CreateMaintenanceTask_FullMethodName = "/Ydb.Maintenance.V1.MaintenanceService/CreateMaintenanceTask" MaintenanceService_RefreshMaintenanceTask_FullMethodName = "/Ydb.Maintenance.V1.MaintenanceService/RefreshMaintenanceTask" MaintenanceService_GetMaintenanceTask_FullMethodName = "/Ydb.Maintenance.V1.MaintenanceService/GetMaintenanceTask" MaintenanceService_ListMaintenanceTasks_FullMethodName = "/Ydb.Maintenance.V1.MaintenanceService/ListMaintenanceTasks" MaintenanceService_DropMaintenanceTask_FullMethodName = "/Ydb.Maintenance.V1.MaintenanceService/DropMaintenanceTask" MaintenanceService_CompleteAction_FullMethodName = "/Ydb.Maintenance.V1.MaintenanceService/CompleteAction" )
Variables ¶
var File_draft_ydb_maintenance_v1_proto protoreflect.FileDescriptor
var MaintenanceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Ydb.Maintenance.V1.MaintenanceService", HandlerType: (*MaintenanceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListClusterNodes", Handler: _MaintenanceService_ListClusterNodes_Handler, }, { MethodName: "CreateMaintenanceTask", Handler: _MaintenanceService_CreateMaintenanceTask_Handler, }, { MethodName: "RefreshMaintenanceTask", Handler: _MaintenanceService_RefreshMaintenanceTask_Handler, }, { MethodName: "GetMaintenanceTask", Handler: _MaintenanceService_GetMaintenanceTask_Handler, }, { MethodName: "ListMaintenanceTasks", Handler: _MaintenanceService_ListMaintenanceTasks_Handler, }, { MethodName: "DropMaintenanceTask", Handler: _MaintenanceService_DropMaintenanceTask_Handler, }, { MethodName: "CompleteAction", Handler: _MaintenanceService_CompleteAction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "draft/ydb_maintenance_v1.proto", }
MaintenanceService_ServiceDesc is the grpc.ServiceDesc for MaintenanceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMaintenanceServiceServer ¶
func RegisterMaintenanceServiceServer(s grpc.ServiceRegistrar, srv MaintenanceServiceServer)
Types ¶
type MaintenanceServiceClient ¶
type MaintenanceServiceClient interface { // List cluster nodes. ListClusterNodes(ctx context.Context, in *Ydb_Maintenance.ListClusterNodesRequest, opts ...grpc.CallOption) (*Ydb_Maintenance.ListClusterNodesResponse, error) // Create maintenance task. CreateMaintenanceTask(ctx context.Context, in *Ydb_Maintenance.CreateMaintenanceTaskRequest, opts ...grpc.CallOption) (*Ydb_Maintenance.MaintenanceTaskResponse, error) // Try to perform maintenance task's actions (polling). RefreshMaintenanceTask(ctx context.Context, in *Ydb_Maintenance.RefreshMaintenanceTaskRequest, opts ...grpc.CallOption) (*Ydb_Maintenance.MaintenanceTaskResponse, error) // Get detailed task information. GetMaintenanceTask(ctx context.Context, in *Ydb_Maintenance.GetMaintenanceTaskRequest, opts ...grpc.CallOption) (*Ydb_Maintenance.GetMaintenanceTaskResponse, error) // List maintenance tasks. ListMaintenanceTasks(ctx context.Context, in *Ydb_Maintenance.ListMaintenanceTasksRequest, opts ...grpc.CallOption) (*Ydb_Maintenance.ListMaintenanceTasksResponse, error) // Drop maintenance task. DropMaintenanceTask(ctx context.Context, in *Ydb_Maintenance.DropMaintenanceTaskRequest, opts ...grpc.CallOption) (*Ydb_Maintenance.ManageMaintenanceTaskResponse, error) // Mark action as completed. CompleteAction(ctx context.Context, in *Ydb_Maintenance.CompleteActionRequest, opts ...grpc.CallOption) (*Ydb_Maintenance.ManageActionResponse, error) }
MaintenanceServiceClient is the client API for MaintenanceService 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 NewMaintenanceServiceClient ¶
func NewMaintenanceServiceClient(cc grpc.ClientConnInterface) MaintenanceServiceClient
type MaintenanceServiceServer ¶
type MaintenanceServiceServer interface { // List cluster nodes. ListClusterNodes(context.Context, *Ydb_Maintenance.ListClusterNodesRequest) (*Ydb_Maintenance.ListClusterNodesResponse, error) // Create maintenance task. CreateMaintenanceTask(context.Context, *Ydb_Maintenance.CreateMaintenanceTaskRequest) (*Ydb_Maintenance.MaintenanceTaskResponse, error) // Try to perform maintenance task's actions (polling). RefreshMaintenanceTask(context.Context, *Ydb_Maintenance.RefreshMaintenanceTaskRequest) (*Ydb_Maintenance.MaintenanceTaskResponse, error) // Get detailed task information. GetMaintenanceTask(context.Context, *Ydb_Maintenance.GetMaintenanceTaskRequest) (*Ydb_Maintenance.GetMaintenanceTaskResponse, error) // List maintenance tasks. ListMaintenanceTasks(context.Context, *Ydb_Maintenance.ListMaintenanceTasksRequest) (*Ydb_Maintenance.ListMaintenanceTasksResponse, error) // Drop maintenance task. DropMaintenanceTask(context.Context, *Ydb_Maintenance.DropMaintenanceTaskRequest) (*Ydb_Maintenance.ManageMaintenanceTaskResponse, error) // Mark action as completed. CompleteAction(context.Context, *Ydb_Maintenance.CompleteActionRequest) (*Ydb_Maintenance.ManageActionResponse, error) // contains filtered or unexported methods }
MaintenanceServiceServer is the server API for MaintenanceService service. All implementations must embed UnimplementedMaintenanceServiceServer for forward compatibility
type UnimplementedMaintenanceServiceServer ¶
type UnimplementedMaintenanceServiceServer struct { }
UnimplementedMaintenanceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMaintenanceServiceServer) CompleteAction ¶
func (UnimplementedMaintenanceServiceServer) CompleteAction(context.Context, *Ydb_Maintenance.CompleteActionRequest) (*Ydb_Maintenance.ManageActionResponse, error)
func (UnimplementedMaintenanceServiceServer) CreateMaintenanceTask ¶
func (UnimplementedMaintenanceServiceServer) CreateMaintenanceTask(context.Context, *Ydb_Maintenance.CreateMaintenanceTaskRequest) (*Ydb_Maintenance.MaintenanceTaskResponse, error)
func (UnimplementedMaintenanceServiceServer) DropMaintenanceTask ¶
func (UnimplementedMaintenanceServiceServer) DropMaintenanceTask(context.Context, *Ydb_Maintenance.DropMaintenanceTaskRequest) (*Ydb_Maintenance.ManageMaintenanceTaskResponse, error)
func (UnimplementedMaintenanceServiceServer) GetMaintenanceTask ¶
func (UnimplementedMaintenanceServiceServer) GetMaintenanceTask(context.Context, *Ydb_Maintenance.GetMaintenanceTaskRequest) (*Ydb_Maintenance.GetMaintenanceTaskResponse, error)
func (UnimplementedMaintenanceServiceServer) ListClusterNodes ¶
func (UnimplementedMaintenanceServiceServer) ListClusterNodes(context.Context, *Ydb_Maintenance.ListClusterNodesRequest) (*Ydb_Maintenance.ListClusterNodesResponse, error)
func (UnimplementedMaintenanceServiceServer) ListMaintenanceTasks ¶
func (UnimplementedMaintenanceServiceServer) ListMaintenanceTasks(context.Context, *Ydb_Maintenance.ListMaintenanceTasksRequest) (*Ydb_Maintenance.ListMaintenanceTasksResponse, error)
func (UnimplementedMaintenanceServiceServer) RefreshMaintenanceTask ¶
func (UnimplementedMaintenanceServiceServer) RefreshMaintenanceTask(context.Context, *Ydb_Maintenance.RefreshMaintenanceTaskRequest) (*Ydb_Maintenance.MaintenanceTaskResponse, error)
type UnsafeMaintenanceServiceServer ¶
type UnsafeMaintenanceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMaintenanceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MaintenanceServiceServer will result in compilation errors.
Source Files ¶
ydb_maintenance_v1.pb.go ydb_maintenance_v1_grpc.pb.go
- Version
- v0.0.0-20241112172322-ea1f63298f77 (latest)
- Published
- Nov 12, 2024
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 4 weeks ago –
Tools for package owners.