Ydb_Maintenance_V1

package
v0.0.0-...-5acc94b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

View Source
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

View Source
var File_draft_ydb_maintenance_v1_proto protoreflect.FileDescriptor
View Source
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.

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.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL