Documentation ¶
Index ¶
- Variables
- type Action
- type ActionGroup
- type ActionGroupStates
- func (*ActionGroupStates) Descriptor() ([]byte, []int)deprecated
- func (x *ActionGroupStates) GetActionStates() []*ActionState
- func (*ActionGroupStates) ProtoMessage()
- func (x *ActionGroupStates) ProtoReflect() protoreflect.Message
- func (x *ActionGroupStates) Reset()
- func (x *ActionGroupStates) String() string
- type ActionScope
- func (*ActionScope) Descriptor() ([]byte, []int)deprecated
- func (x *ActionScope) GetHost() string
- func (x *ActionScope) GetNodeId() uint32
- func (m *ActionScope) GetScope() isActionScope_Scope
- func (*ActionScope) ProtoMessage()
- func (x *ActionScope) ProtoReflect() protoreflect.Message
- func (x *ActionScope) Reset()
- func (x *ActionScope) String() string
- type ActionScope_Host
- type ActionScope_NodeId
- type ActionState
- func (*ActionState) Descriptor() ([]byte, []int)deprecated
- func (x *ActionState) GetAction() *Action
- func (x *ActionState) GetActionUid() *ActionUid
- func (x *ActionState) GetDeadline() *timestamppb.Timestamp
- func (x *ActionState) GetReason() ActionState_ActionReason
- func (x *ActionState) GetReasonDetails() string
- func (x *ActionState) GetStatus() ActionState_ActionStatus
- func (*ActionState) ProtoMessage()
- func (x *ActionState) ProtoReflect() protoreflect.Message
- func (x *ActionState) Reset()
- func (x *ActionState) String() string
- type ActionState_ActionReason
- func (ActionState_ActionReason) Descriptor() protoreflect.EnumDescriptor
- func (x ActionState_ActionReason) Enum() *ActionState_ActionReason
- func (ActionState_ActionReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActionState_ActionReason) Number() protoreflect.EnumNumber
- func (x ActionState_ActionReason) String() string
- func (ActionState_ActionReason) Type() protoreflect.EnumType
- type ActionState_ActionStatus
- func (ActionState_ActionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ActionState_ActionStatus) Enum() *ActionState_ActionStatus
- func (ActionState_ActionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActionState_ActionStatus) Number() protoreflect.EnumNumber
- func (x ActionState_ActionStatus) String() string
- func (ActionState_ActionStatus) Type() protoreflect.EnumType
- type ActionUid
- func (*ActionUid) Descriptor() ([]byte, []int)deprecated
- func (x *ActionUid) GetActionId() string
- func (x *ActionUid) GetGroupId() string
- func (x *ActionUid) GetTaskUid() string
- func (*ActionUid) ProtoMessage()
- func (x *ActionUid) ProtoReflect() protoreflect.Message
- func (x *ActionUid) Reset()
- func (x *ActionUid) String() string
- type Action_LockAction
- type AvailabilityMode
- func (AvailabilityMode) Descriptor() protoreflect.EnumDescriptor
- func (x AvailabilityMode) Enum() *AvailabilityMode
- func (AvailabilityMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AvailabilityMode) Number() protoreflect.EnumNumber
- func (x AvailabilityMode) String() string
- func (AvailabilityMode) Type() protoreflect.EnumType
- type CompleteActionRequest
- func (*CompleteActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteActionRequest) GetActionUids() []*ActionUid
- func (x *CompleteActionRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (*CompleteActionRequest) ProtoMessage()
- func (x *CompleteActionRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteActionRequest) Reset()
- func (x *CompleteActionRequest) String() string
- type CreateMaintenanceTaskRequest
- func (*CreateMaintenanceTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMaintenanceTaskRequest) GetActionGroups() []*ActionGroup
- func (x *CreateMaintenanceTaskRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *CreateMaintenanceTaskRequest) GetTaskOptions() *MaintenanceTaskOptions
- func (*CreateMaintenanceTaskRequest) ProtoMessage()
- func (x *CreateMaintenanceTaskRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMaintenanceTaskRequest) Reset()
- func (x *CreateMaintenanceTaskRequest) String() string
- type DropMaintenanceTaskRequest
- func (*DropMaintenanceTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DropMaintenanceTaskRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *DropMaintenanceTaskRequest) GetTaskUid() string
- func (*DropMaintenanceTaskRequest) ProtoMessage()
- func (x *DropMaintenanceTaskRequest) ProtoReflect() protoreflect.Message
- func (x *DropMaintenanceTaskRequest) Reset()
- func (x *DropMaintenanceTaskRequest) String() string
- type GetMaintenanceTaskRequest
- func (*GetMaintenanceTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMaintenanceTaskRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *GetMaintenanceTaskRequest) GetTaskUid() string
- func (*GetMaintenanceTaskRequest) ProtoMessage()
- func (x *GetMaintenanceTaskRequest) ProtoReflect() protoreflect.Message
- func (x *GetMaintenanceTaskRequest) Reset()
- func (x *GetMaintenanceTaskRequest) String() string
- type GetMaintenanceTaskResponse
- func (*GetMaintenanceTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMaintenanceTaskResponse) GetOperation() *Ydb_Operations.Operation
- func (*GetMaintenanceTaskResponse) ProtoMessage()
- func (x *GetMaintenanceTaskResponse) ProtoReflect() protoreflect.Message
- func (x *GetMaintenanceTaskResponse) Reset()
- func (x *GetMaintenanceTaskResponse) String() string
- type GetMaintenanceTaskResult
- func (*GetMaintenanceTaskResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetMaintenanceTaskResult) GetActionGroupStates() []*ActionGroupStates
- func (x *GetMaintenanceTaskResult) GetTaskOptions() *MaintenanceTaskOptions
- func (*GetMaintenanceTaskResult) ProtoMessage()
- func (x *GetMaintenanceTaskResult) ProtoReflect() protoreflect.Message
- func (x *GetMaintenanceTaskResult) Reset()
- func (x *GetMaintenanceTaskResult) String() string
- type ItemState
- type ListClusterNodesRequest
- func (*ListClusterNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterNodesRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (*ListClusterNodesRequest) ProtoMessage()
- func (x *ListClusterNodesRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterNodesRequest) Reset()
- func (x *ListClusterNodesRequest) String() string
- type ListClusterNodesResponse
- func (*ListClusterNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterNodesResponse) GetOperation() *Ydb_Operations.Operation
- func (*ListClusterNodesResponse) ProtoMessage()
- func (x *ListClusterNodesResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterNodesResponse) Reset()
- func (x *ListClusterNodesResponse) String() string
- type ListClusterNodesResult
- func (*ListClusterNodesResult) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterNodesResult) GetNodes() []*Node
- func (*ListClusterNodesResult) ProtoMessage()
- func (x *ListClusterNodesResult) ProtoReflect() protoreflect.Message
- func (x *ListClusterNodesResult) Reset()
- func (x *ListClusterNodesResult) String() string
- type ListMaintenanceTasksRequest
- func (*ListMaintenanceTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMaintenanceTasksRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *ListMaintenanceTasksRequest) GetUser() string
- func (*ListMaintenanceTasksRequest) ProtoMessage()
- func (x *ListMaintenanceTasksRequest) ProtoReflect() protoreflect.Message
- func (x *ListMaintenanceTasksRequest) Reset()
- func (x *ListMaintenanceTasksRequest) String() string
- type ListMaintenanceTasksResponse
- func (*ListMaintenanceTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMaintenanceTasksResponse) GetOperation() *Ydb_Operations.Operation
- func (*ListMaintenanceTasksResponse) ProtoMessage()
- func (x *ListMaintenanceTasksResponse) ProtoReflect() protoreflect.Message
- func (x *ListMaintenanceTasksResponse) Reset()
- func (x *ListMaintenanceTasksResponse) String() string
- type ListMaintenanceTasksResult
- func (*ListMaintenanceTasksResult) Descriptor() ([]byte, []int)deprecated
- func (x *ListMaintenanceTasksResult) GetTasksUids() []string
- func (*ListMaintenanceTasksResult) ProtoMessage()
- func (x *ListMaintenanceTasksResult) ProtoReflect() protoreflect.Message
- func (x *ListMaintenanceTasksResult) Reset()
- func (x *ListMaintenanceTasksResult) String() string
- type LockAction
- func (*LockAction) Descriptor() ([]byte, []int)deprecated
- func (x *LockAction) GetDuration() *durationpb.Duration
- func (x *LockAction) GetScope() *ActionScope
- func (*LockAction) ProtoMessage()
- func (x *LockAction) ProtoReflect() protoreflect.Message
- func (x *LockAction) Reset()
- func (x *LockAction) String() string
- type MaintenanceTaskOptions
- func (*MaintenanceTaskOptions) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceTaskOptions) GetAvailabilityMode() AvailabilityMode
- func (x *MaintenanceTaskOptions) GetDescription() string
- func (x *MaintenanceTaskOptions) GetDryRun() bool
- func (x *MaintenanceTaskOptions) GetPriority() int32
- func (x *MaintenanceTaskOptions) GetTaskUid() string
- func (*MaintenanceTaskOptions) ProtoMessage()
- func (x *MaintenanceTaskOptions) ProtoReflect() protoreflect.Message
- func (x *MaintenanceTaskOptions) Reset()
- func (x *MaintenanceTaskOptions) String() string
- type MaintenanceTaskResponse
- func (*MaintenanceTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceTaskResponse) GetOperation() *Ydb_Operations.Operation
- func (*MaintenanceTaskResponse) ProtoMessage()
- func (x *MaintenanceTaskResponse) ProtoReflect() protoreflect.Message
- func (x *MaintenanceTaskResponse) Reset()
- func (x *MaintenanceTaskResponse) String() string
- type MaintenanceTaskResult
- func (*MaintenanceTaskResult) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceTaskResult) GetActionGroupStates() []*ActionGroupStates
- func (x *MaintenanceTaskResult) GetRetryAfter() *timestamppb.Timestamp
- func (x *MaintenanceTaskResult) GetTaskUid() string
- func (*MaintenanceTaskResult) ProtoMessage()
- func (x *MaintenanceTaskResult) ProtoReflect() protoreflect.Message
- func (x *MaintenanceTaskResult) Reset()
- func (x *MaintenanceTaskResult) String() string
- type ManageActionResponse
- func (*ManageActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ManageActionResponse) GetOperation() *Ydb_Operations.Operation
- func (*ManageActionResponse) ProtoMessage()
- func (x *ManageActionResponse) ProtoReflect() protoreflect.Message
- func (x *ManageActionResponse) Reset()
- func (x *ManageActionResponse) String() string
- type ManageActionResult
- func (*ManageActionResult) Descriptor() ([]byte, []int)deprecated
- func (x *ManageActionResult) GetActionStatuses() []*ManageActionResult_Status
- func (*ManageActionResult) ProtoMessage()
- func (x *ManageActionResult) ProtoReflect() protoreflect.Message
- func (x *ManageActionResult) Reset()
- func (x *ManageActionResult) String() string
- type ManageActionResult_Status
- func (*ManageActionResult_Status) Descriptor() ([]byte, []int)deprecated
- func (x *ManageActionResult_Status) GetActionUid() *ActionUid
- func (x *ManageActionResult_Status) GetStatus() Ydb.StatusIds_StatusCode
- func (*ManageActionResult_Status) ProtoMessage()
- func (x *ManageActionResult_Status) ProtoReflect() protoreflect.Message
- func (x *ManageActionResult_Status) Reset()
- func (x *ManageActionResult_Status) String() string
- type ManageMaintenanceTaskResponse
- func (*ManageMaintenanceTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ManageMaintenanceTaskResponse) GetOperation() *Ydb_Operations.Operation
- func (*ManageMaintenanceTaskResponse) ProtoMessage()
- func (x *ManageMaintenanceTaskResponse) ProtoReflect() protoreflect.Message
- func (x *ManageMaintenanceTaskResponse) Reset()
- func (x *ManageMaintenanceTaskResponse) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetDynamic() *Node_DynamicNode
- func (x *Node) GetHost() string
- func (x *Node) GetLocation() *Ydb_Discovery.NodeLocation
- func (x *Node) GetNodeId() uint32
- func (x *Node) GetPort() uint32
- func (x *Node) GetStartTime() *timestamppb.Timestamp
- func (x *Node) GetState() ItemState
- func (x *Node) GetStorage() *Node_StorageNode
- func (m *Node) GetType() isNode_Type
- func (x *Node) GetVersion() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type Node_Dynamic
- type Node_DynamicNode
- type Node_Storage
- type Node_StorageNode
- type RefreshMaintenanceTaskRequest
- func (*RefreshMaintenanceTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshMaintenanceTaskRequest) GetOperationParams() *Ydb_Operations.OperationParams
- func (x *RefreshMaintenanceTaskRequest) GetTaskUid() string
- func (*RefreshMaintenanceTaskRequest) ProtoMessage()
- func (x *RefreshMaintenanceTaskRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshMaintenanceTaskRequest) Reset()
- func (x *RefreshMaintenanceTaskRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ItemState_name = map[int32]string{ 0: "ITEM_STATE_UNSPECIFIED", 1: "ITEM_STATE_UP", 2: "ITEM_STATE_MAINTENANCE", 3: "ITEM_STATE_DOWN", } ItemState_value = map[string]int32{ "ITEM_STATE_UNSPECIFIED": 0, "ITEM_STATE_UP": 1, "ITEM_STATE_MAINTENANCE": 2, "ITEM_STATE_DOWN": 3, } )
Enum value maps for ItemState.
var ( AvailabilityMode_name = map[int32]string{ 0: "AVAILABILITY_MODE_UNSPECIFIED", 1: "AVAILABILITY_MODE_STRONG", 2: "AVAILABILITY_MODE_WEAK", 3: "AVAILABILITY_MODE_FORCE", } AvailabilityMode_value = map[string]int32{ "AVAILABILITY_MODE_UNSPECIFIED": 0, "AVAILABILITY_MODE_STRONG": 1, "AVAILABILITY_MODE_WEAK": 2, "AVAILABILITY_MODE_FORCE": 3, } )
Enum value maps for AvailabilityMode.
var ( ActionState_ActionStatus_name = map[int32]string{ 0: "ACTION_STATUS_UNSPECIFIED", 1: "ACTION_STATUS_PENDING", 2: "ACTION_STATUS_PERFORMED", } ActionState_ActionStatus_value = map[string]int32{ "ACTION_STATUS_UNSPECIFIED": 0, "ACTION_STATUS_PENDING": 1, "ACTION_STATUS_PERFORMED": 2, } )
Enum value maps for ActionState_ActionStatus.
var ( ActionState_ActionReason_name = map[int32]string{ 0: "ACTION_REASON_UNSPECIFIED", 1: "ACTION_REASON_OK", 2: "ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS", 3: "ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS", 4: "ACTION_REASON_DISABLED_NODES_LIMIT_REACHED", 5: "ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED", 6: "ACTION_REASON_WRONG_REQUEST", 7: "ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED", 8: "ACTION_REASON_GENERIC", } ActionState_ActionReason_value = map[string]int32{ "ACTION_REASON_UNSPECIFIED": 0, "ACTION_REASON_OK": 1, "ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS": 2, "ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS": 3, "ACTION_REASON_DISABLED_NODES_LIMIT_REACHED": 4, "ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED": 5, "ACTION_REASON_WRONG_REQUEST": 6, "ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED": 7, "ACTION_REASON_GENERIC": 8, } )
Enum value maps for ActionState_ActionReason.
var File_draft_protos_ydb_maintenance_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // Types that are assignable to Action: // // *Action_LockAction Action isAction_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
func (*Action) GetLockAction ¶
func (x *Action) GetLockAction() *LockAction
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type ActionGroup ¶
type ActionGroup struct { Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*ActionGroup) Descriptor
deprecated
func (*ActionGroup) Descriptor() ([]byte, []int)
Deprecated: Use ActionGroup.ProtoReflect.Descriptor instead.
func (*ActionGroup) GetActions ¶
func (x *ActionGroup) GetActions() []*Action
func (*ActionGroup) ProtoMessage ¶
func (*ActionGroup) ProtoMessage()
func (*ActionGroup) ProtoReflect ¶
func (x *ActionGroup) ProtoReflect() protoreflect.Message
func (*ActionGroup) Reset ¶
func (x *ActionGroup) Reset()
func (*ActionGroup) String ¶
func (x *ActionGroup) String() string
type ActionGroupStates ¶
type ActionGroupStates struct { ActionStates []*ActionState `protobuf:"bytes,1,rep,name=action_states,json=actionStates,proto3" json:"action_states,omitempty"` // contains filtered or unexported fields }
func (*ActionGroupStates) Descriptor
deprecated
func (*ActionGroupStates) Descriptor() ([]byte, []int)
Deprecated: Use ActionGroupStates.ProtoReflect.Descriptor instead.
func (*ActionGroupStates) GetActionStates ¶
func (x *ActionGroupStates) GetActionStates() []*ActionState
func (*ActionGroupStates) ProtoMessage ¶
func (*ActionGroupStates) ProtoMessage()
func (*ActionGroupStates) ProtoReflect ¶
func (x *ActionGroupStates) ProtoReflect() protoreflect.Message
func (*ActionGroupStates) Reset ¶
func (x *ActionGroupStates) Reset()
func (*ActionGroupStates) String ¶
func (x *ActionGroupStates) String() string
type ActionScope ¶
type ActionScope struct { // Types that are assignable to Scope: // // *ActionScope_NodeId // *ActionScope_Host Scope isActionScope_Scope `protobuf_oneof:"scope"` // contains filtered or unexported fields }
Used to describe the scope of a single action.
func (*ActionScope) Descriptor
deprecated
func (*ActionScope) Descriptor() ([]byte, []int)
Deprecated: Use ActionScope.ProtoReflect.Descriptor instead.
func (*ActionScope) GetHost ¶
func (x *ActionScope) GetHost() string
func (*ActionScope) GetNodeId ¶
func (x *ActionScope) GetNodeId() uint32
func (*ActionScope) GetScope ¶
func (m *ActionScope) GetScope() isActionScope_Scope
func (*ActionScope) ProtoMessage ¶
func (*ActionScope) ProtoMessage()
func (*ActionScope) ProtoReflect ¶
func (x *ActionScope) ProtoReflect() protoreflect.Message
func (*ActionScope) Reset ¶
func (x *ActionScope) Reset()
func (*ActionScope) String ¶
func (x *ActionScope) String() string
type ActionScope_Host ¶
type ActionScope_Host struct {
Host string `protobuf:"bytes,2,opt,name=host,proto3,oneof"`
}
type ActionScope_NodeId ¶
type ActionScope_NodeId struct {
NodeId uint32 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3,oneof"`
}
type ActionState ¶
type ActionState struct { Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` ActionUid *ActionUid `protobuf:"bytes,2,opt,name=action_uid,json=actionUid,proto3" json:"action_uid,omitempty"` Status ActionState_ActionStatus `protobuf:"varint,3,opt,name=status,proto3,enum=Ydb.Maintenance.ActionState_ActionStatus" json:"status,omitempty"` Reason ActionState_ActionReason `protobuf:"varint,4,opt,name=reason,proto3,enum=Ydb.Maintenance.ActionState_ActionReason" json:"reason,omitempty"` ReasonDetails string `protobuf:"bytes,6,opt,name=reason_details,json=reasonDetails,proto3" json:"reason_details,omitempty"` Deadline *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deadline,proto3" json:"deadline,omitempty"` // contains filtered or unexported fields }
func (*ActionState) Descriptor
deprecated
func (*ActionState) Descriptor() ([]byte, []int)
Deprecated: Use ActionState.ProtoReflect.Descriptor instead.
func (*ActionState) GetAction ¶
func (x *ActionState) GetAction() *Action
func (*ActionState) GetActionUid ¶
func (x *ActionState) GetActionUid() *ActionUid
func (*ActionState) GetDeadline ¶
func (x *ActionState) GetDeadline() *timestamppb.Timestamp
func (*ActionState) GetReason ¶
func (x *ActionState) GetReason() ActionState_ActionReason
func (*ActionState) GetReasonDetails ¶
func (x *ActionState) GetReasonDetails() string
func (*ActionState) GetStatus ¶
func (x *ActionState) GetStatus() ActionState_ActionStatus
func (*ActionState) ProtoMessage ¶
func (*ActionState) ProtoMessage()
func (*ActionState) ProtoReflect ¶
func (x *ActionState) ProtoReflect() protoreflect.Message
func (*ActionState) Reset ¶
func (x *ActionState) Reset()
func (*ActionState) String ¶
func (x *ActionState) String() string
type ActionState_ActionReason ¶
type ActionState_ActionReason int32
const ( ActionState_ACTION_REASON_UNSPECIFIED ActionState_ActionReason = 0 // Everything is ok. ActionState_ACTION_REASON_OK ActionState_ActionReason = 1 // Affected storage group has too many unavailable (locked or down) vdisks. ActionState_ACTION_REASON_TOO_MANY_UNAVAILABLE_VDISKS ActionState_ActionReason = 2 // Too many unavailable state storage rings. ActionState_ACTION_REASON_TOO_MANY_UNAVAILABLE_STATE_STORAGE_RINGS ActionState_ActionReason = 3 // Too many disabled nodes (storage & dynamic) in cluster. ActionState_ACTION_REASON_DISABLED_NODES_LIMIT_REACHED ActionState_ActionReason = 4 // Too many disabled dynamic nodes of specific tenant. ActionState_ACTION_REASON_TENANT_DISABLED_NODES_LIMIT_REACHED ActionState_ActionReason = 5 // Wrong request. ActionState_ACTION_REASON_WRONG_REQUEST ActionState_ActionReason = 6 // Too many unavailable nodes with system tablets. ActionState_ACTION_REASON_SYS_TABLETS_NODE_LIMIT_REACHED ActionState_ActionReason = 7 // Generic reason. ActionState_ACTION_REASON_GENERIC ActionState_ActionReason = 8 )
func (ActionState_ActionReason) Descriptor ¶
func (ActionState_ActionReason) Descriptor() protoreflect.EnumDescriptor
func (ActionState_ActionReason) Enum ¶
func (x ActionState_ActionReason) Enum() *ActionState_ActionReason
func (ActionState_ActionReason) EnumDescriptor
deprecated
func (ActionState_ActionReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionState_ActionReason.Descriptor instead.
func (ActionState_ActionReason) Number ¶
func (x ActionState_ActionReason) Number() protoreflect.EnumNumber
func (ActionState_ActionReason) String ¶
func (x ActionState_ActionReason) String() string
func (ActionState_ActionReason) Type ¶
func (ActionState_ActionReason) Type() protoreflect.EnumType
type ActionState_ActionStatus ¶
type ActionState_ActionStatus int32
const ( ActionState_ACTION_STATUS_UNSPECIFIED ActionState_ActionStatus = 0 // Action can't be performed now. ActionState_ACTION_STATUS_PENDING ActionState_ActionStatus = 1 // Action performed: e.g. lock is taken. ActionState_ACTION_STATUS_PERFORMED ActionState_ActionStatus = 2 )
func (ActionState_ActionStatus) Descriptor ¶
func (ActionState_ActionStatus) Descriptor() protoreflect.EnumDescriptor
func (ActionState_ActionStatus) Enum ¶
func (x ActionState_ActionStatus) Enum() *ActionState_ActionStatus
func (ActionState_ActionStatus) EnumDescriptor
deprecated
func (ActionState_ActionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionState_ActionStatus.Descriptor instead.
func (ActionState_ActionStatus) Number ¶
func (x ActionState_ActionStatus) Number() protoreflect.EnumNumber
func (ActionState_ActionStatus) String ¶
func (x ActionState_ActionStatus) String() string
func (ActionState_ActionStatus) Type ¶
func (ActionState_ActionStatus) Type() protoreflect.EnumType
type ActionUid ¶
type ActionUid struct { TaskUid string `protobuf:"bytes,1,opt,name=task_uid,json=taskUid,proto3" json:"task_uid,omitempty"` // Unique ids within a single task, assigned by the server. GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` ActionId string `protobuf:"bytes,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // contains filtered or unexported fields }
func (*ActionUid) Descriptor
deprecated
func (*ActionUid) GetActionId ¶
func (*ActionUid) GetGroupId ¶
func (*ActionUid) GetTaskUid ¶
func (*ActionUid) ProtoMessage ¶
func (*ActionUid) ProtoMessage()
func (*ActionUid) ProtoReflect ¶
func (x *ActionUid) ProtoReflect() protoreflect.Message
type Action_LockAction ¶
type Action_LockAction struct {
LockAction *LockAction `protobuf:"bytes,1,opt,name=lock_action,json=lockAction,proto3,oneof"`
}
type AvailabilityMode ¶
type AvailabilityMode int32
const ( AvailabilityMode_AVAILABILITY_MODE_UNSPECIFIED AvailabilityMode = 0 // In this mode allowed: // - at most 1 unavailable disk in each affected storage group; // - at most 1 unavailable state storage ring. // For nodes tenant and cluster policies are followed. AvailabilityMode_AVAILABILITY_MODE_STRONG AvailabilityMode = 1 // In this mode: // - total number of an unavailable disks in each affected storage group // shouldn't exceed number of parity parts in that group; // - it is allowed to disable (n_to_select - 1) / 2 state storage rings. // // Nodes are handled as in strong mode. AvailabilityMode_AVAILABILITY_MODE_WEAK AvailabilityMode = 2 // Ignore any storage group & state storage checks. // Using this mode might cause data unavailability. AvailabilityMode_AVAILABILITY_MODE_FORCE AvailabilityMode = 3 )
func (AvailabilityMode) Descriptor ¶
func (AvailabilityMode) Descriptor() protoreflect.EnumDescriptor
func (AvailabilityMode) Enum ¶
func (x AvailabilityMode) Enum() *AvailabilityMode
func (AvailabilityMode) EnumDescriptor
deprecated
func (AvailabilityMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AvailabilityMode.Descriptor instead.
func (AvailabilityMode) Number ¶
func (x AvailabilityMode) Number() protoreflect.EnumNumber
func (AvailabilityMode) String ¶
func (x AvailabilityMode) String() string
func (AvailabilityMode) Type ¶
func (AvailabilityMode) Type() protoreflect.EnumType
type CompleteActionRequest ¶
type CompleteActionRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` ActionUids []*ActionUid `protobuf:"bytes,2,rep,name=action_uids,json=actionUids,proto3" json:"action_uids,omitempty"` // contains filtered or unexported fields }
func (*CompleteActionRequest) Descriptor
deprecated
func (*CompleteActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteActionRequest.ProtoReflect.Descriptor instead.
func (*CompleteActionRequest) GetActionUids ¶
func (x *CompleteActionRequest) GetActionUids() []*ActionUid
func (*CompleteActionRequest) GetOperationParams ¶
func (x *CompleteActionRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*CompleteActionRequest) ProtoMessage ¶
func (*CompleteActionRequest) ProtoMessage()
func (*CompleteActionRequest) ProtoReflect ¶
func (x *CompleteActionRequest) ProtoReflect() protoreflect.Message
func (*CompleteActionRequest) Reset ¶
func (x *CompleteActionRequest) Reset()
func (*CompleteActionRequest) String ¶
func (x *CompleteActionRequest) String() string
type CreateMaintenanceTaskRequest ¶
type CreateMaintenanceTaskRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` TaskOptions *MaintenanceTaskOptions `protobuf:"bytes,2,opt,name=task_options,json=taskOptions,proto3" json:"task_options,omitempty"` ActionGroups []*ActionGroup `protobuf:"bytes,3,rep,name=action_groups,json=actionGroups,proto3" json:"action_groups,omitempty"` // contains filtered or unexported fields }
func (*CreateMaintenanceTaskRequest) Descriptor
deprecated
func (*CreateMaintenanceTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMaintenanceTaskRequest.ProtoReflect.Descriptor instead.
func (*CreateMaintenanceTaskRequest) GetActionGroups ¶
func (x *CreateMaintenanceTaskRequest) GetActionGroups() []*ActionGroup
func (*CreateMaintenanceTaskRequest) GetOperationParams ¶
func (x *CreateMaintenanceTaskRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*CreateMaintenanceTaskRequest) GetTaskOptions ¶
func (x *CreateMaintenanceTaskRequest) GetTaskOptions() *MaintenanceTaskOptions
func (*CreateMaintenanceTaskRequest) ProtoMessage ¶
func (*CreateMaintenanceTaskRequest) ProtoMessage()
func (*CreateMaintenanceTaskRequest) ProtoReflect ¶
func (x *CreateMaintenanceTaskRequest) ProtoReflect() protoreflect.Message
func (*CreateMaintenanceTaskRequest) Reset ¶
func (x *CreateMaintenanceTaskRequest) Reset()
func (*CreateMaintenanceTaskRequest) String ¶
func (x *CreateMaintenanceTaskRequest) String() string
type DropMaintenanceTaskRequest ¶
type DropMaintenanceTaskRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` TaskUid string `protobuf:"bytes,2,opt,name=task_uid,json=taskUid,proto3" json:"task_uid,omitempty"` // contains filtered or unexported fields }
func (*DropMaintenanceTaskRequest) Descriptor
deprecated
func (*DropMaintenanceTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use DropMaintenanceTaskRequest.ProtoReflect.Descriptor instead.
func (*DropMaintenanceTaskRequest) GetOperationParams ¶
func (x *DropMaintenanceTaskRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*DropMaintenanceTaskRequest) GetTaskUid ¶
func (x *DropMaintenanceTaskRequest) GetTaskUid() string
func (*DropMaintenanceTaskRequest) ProtoMessage ¶
func (*DropMaintenanceTaskRequest) ProtoMessage()
func (*DropMaintenanceTaskRequest) ProtoReflect ¶
func (x *DropMaintenanceTaskRequest) ProtoReflect() protoreflect.Message
func (*DropMaintenanceTaskRequest) Reset ¶
func (x *DropMaintenanceTaskRequest) Reset()
func (*DropMaintenanceTaskRequest) String ¶
func (x *DropMaintenanceTaskRequest) String() string
type GetMaintenanceTaskRequest ¶
type GetMaintenanceTaskRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` TaskUid string `protobuf:"bytes,2,opt,name=task_uid,json=taskUid,proto3" json:"task_uid,omitempty"` // contains filtered or unexported fields }
func (*GetMaintenanceTaskRequest) Descriptor
deprecated
func (*GetMaintenanceTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMaintenanceTaskRequest.ProtoReflect.Descriptor instead.
func (*GetMaintenanceTaskRequest) GetOperationParams ¶
func (x *GetMaintenanceTaskRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*GetMaintenanceTaskRequest) GetTaskUid ¶
func (x *GetMaintenanceTaskRequest) GetTaskUid() string
func (*GetMaintenanceTaskRequest) ProtoMessage ¶
func (*GetMaintenanceTaskRequest) ProtoMessage()
func (*GetMaintenanceTaskRequest) ProtoReflect ¶
func (x *GetMaintenanceTaskRequest) ProtoReflect() protoreflect.Message
func (*GetMaintenanceTaskRequest) Reset ¶
func (x *GetMaintenanceTaskRequest) Reset()
func (*GetMaintenanceTaskRequest) String ¶
func (x *GetMaintenanceTaskRequest) String() string
type GetMaintenanceTaskResponse ¶
type GetMaintenanceTaskResponse struct { // operation.result = GetMaintenanceTaskResult Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*GetMaintenanceTaskResponse) Descriptor
deprecated
func (*GetMaintenanceTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMaintenanceTaskResponse.ProtoReflect.Descriptor instead.
func (*GetMaintenanceTaskResponse) GetOperation ¶
func (x *GetMaintenanceTaskResponse) GetOperation() *Ydb_Operations.Operation
func (*GetMaintenanceTaskResponse) ProtoMessage ¶
func (*GetMaintenanceTaskResponse) ProtoMessage()
func (*GetMaintenanceTaskResponse) ProtoReflect ¶
func (x *GetMaintenanceTaskResponse) ProtoReflect() protoreflect.Message
func (*GetMaintenanceTaskResponse) Reset ¶
func (x *GetMaintenanceTaskResponse) Reset()
func (*GetMaintenanceTaskResponse) String ¶
func (x *GetMaintenanceTaskResponse) String() string
type GetMaintenanceTaskResult ¶
type GetMaintenanceTaskResult struct { TaskOptions *MaintenanceTaskOptions `protobuf:"bytes,1,opt,name=task_options,json=taskOptions,proto3" json:"task_options,omitempty"` ActionGroupStates []*ActionGroupStates `protobuf:"bytes,2,rep,name=action_group_states,json=actionGroupStates,proto3" json:"action_group_states,omitempty"` // contains filtered or unexported fields }
func (*GetMaintenanceTaskResult) Descriptor
deprecated
func (*GetMaintenanceTaskResult) Descriptor() ([]byte, []int)
Deprecated: Use GetMaintenanceTaskResult.ProtoReflect.Descriptor instead.
func (*GetMaintenanceTaskResult) GetActionGroupStates ¶
func (x *GetMaintenanceTaskResult) GetActionGroupStates() []*ActionGroupStates
func (*GetMaintenanceTaskResult) GetTaskOptions ¶
func (x *GetMaintenanceTaskResult) GetTaskOptions() *MaintenanceTaskOptions
func (*GetMaintenanceTaskResult) ProtoMessage ¶
func (*GetMaintenanceTaskResult) ProtoMessage()
func (*GetMaintenanceTaskResult) ProtoReflect ¶
func (x *GetMaintenanceTaskResult) ProtoReflect() protoreflect.Message
func (*GetMaintenanceTaskResult) Reset ¶
func (x *GetMaintenanceTaskResult) Reset()
func (*GetMaintenanceTaskResult) String ¶
func (x *GetMaintenanceTaskResult) String() string
type ItemState ¶
type ItemState int32
Represents state of an abstract item: e.g. node or device.
const ( // Item's state couldn't be identified. ItemState_ITEM_STATE_UNSPECIFIED ItemState = 0 // Item is up. ItemState_ITEM_STATE_UP ItemState = 1 // Item is down due to planned maintenance. ItemState_ITEM_STATE_MAINTENANCE ItemState = 2 // Item is down off-schedule. ItemState_ITEM_STATE_DOWN ItemState = 3 )
func (ItemState) Descriptor ¶
func (ItemState) Descriptor() protoreflect.EnumDescriptor
func (ItemState) EnumDescriptor
deprecated
func (ItemState) Number ¶
func (x ItemState) Number() protoreflect.EnumNumber
func (ItemState) Type ¶
func (ItemState) Type() protoreflect.EnumType
type ListClusterNodesRequest ¶
type ListClusterNodesRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` // contains filtered or unexported fields }
func (*ListClusterNodesRequest) Descriptor
deprecated
func (*ListClusterNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClusterNodesRequest.ProtoReflect.Descriptor instead.
func (*ListClusterNodesRequest) GetOperationParams ¶
func (x *ListClusterNodesRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*ListClusterNodesRequest) ProtoMessage ¶
func (*ListClusterNodesRequest) ProtoMessage()
func (*ListClusterNodesRequest) ProtoReflect ¶
func (x *ListClusterNodesRequest) ProtoReflect() protoreflect.Message
func (*ListClusterNodesRequest) Reset ¶
func (x *ListClusterNodesRequest) Reset()
func (*ListClusterNodesRequest) String ¶
func (x *ListClusterNodesRequest) String() string
type ListClusterNodesResponse ¶
type ListClusterNodesResponse struct { // operation.result = ListClusterNodesResult Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ListClusterNodesResponse) Descriptor
deprecated
func (*ListClusterNodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClusterNodesResponse.ProtoReflect.Descriptor instead.
func (*ListClusterNodesResponse) GetOperation ¶
func (x *ListClusterNodesResponse) GetOperation() *Ydb_Operations.Operation
func (*ListClusterNodesResponse) ProtoMessage ¶
func (*ListClusterNodesResponse) ProtoMessage()
func (*ListClusterNodesResponse) ProtoReflect ¶
func (x *ListClusterNodesResponse) ProtoReflect() protoreflect.Message
func (*ListClusterNodesResponse) Reset ¶
func (x *ListClusterNodesResponse) Reset()
func (*ListClusterNodesResponse) String ¶
func (x *ListClusterNodesResponse) String() string
type ListClusterNodesResult ¶
type ListClusterNodesResult struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*ListClusterNodesResult) Descriptor
deprecated
func (*ListClusterNodesResult) Descriptor() ([]byte, []int)
Deprecated: Use ListClusterNodesResult.ProtoReflect.Descriptor instead.
func (*ListClusterNodesResult) GetNodes ¶
func (x *ListClusterNodesResult) GetNodes() []*Node
func (*ListClusterNodesResult) ProtoMessage ¶
func (*ListClusterNodesResult) ProtoMessage()
func (*ListClusterNodesResult) ProtoReflect ¶
func (x *ListClusterNodesResult) ProtoReflect() protoreflect.Message
func (*ListClusterNodesResult) Reset ¶
func (x *ListClusterNodesResult) Reset()
func (*ListClusterNodesResult) String ¶
func (x *ListClusterNodesResult) String() string
type ListMaintenanceTasksRequest ¶
type ListMaintenanceTasksRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` // User SID (Security ID). // If specified, it will return the tasks created by this user. // Otherwise all tasks will be returned. User *string `protobuf:"bytes,2,opt,name=user,proto3,oneof" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListMaintenanceTasksRequest) Descriptor
deprecated
func (*ListMaintenanceTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMaintenanceTasksRequest.ProtoReflect.Descriptor instead.
func (*ListMaintenanceTasksRequest) GetOperationParams ¶
func (x *ListMaintenanceTasksRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*ListMaintenanceTasksRequest) GetUser ¶
func (x *ListMaintenanceTasksRequest) GetUser() string
func (*ListMaintenanceTasksRequest) ProtoMessage ¶
func (*ListMaintenanceTasksRequest) ProtoMessage()
func (*ListMaintenanceTasksRequest) ProtoReflect ¶
func (x *ListMaintenanceTasksRequest) ProtoReflect() protoreflect.Message
func (*ListMaintenanceTasksRequest) Reset ¶
func (x *ListMaintenanceTasksRequest) Reset()
func (*ListMaintenanceTasksRequest) String ¶
func (x *ListMaintenanceTasksRequest) String() string
type ListMaintenanceTasksResponse ¶
type ListMaintenanceTasksResponse struct { // operation.result = ListMaintenanceTasksResult Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ListMaintenanceTasksResponse) Descriptor
deprecated
func (*ListMaintenanceTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMaintenanceTasksResponse.ProtoReflect.Descriptor instead.
func (*ListMaintenanceTasksResponse) GetOperation ¶
func (x *ListMaintenanceTasksResponse) GetOperation() *Ydb_Operations.Operation
func (*ListMaintenanceTasksResponse) ProtoMessage ¶
func (*ListMaintenanceTasksResponse) ProtoMessage()
func (*ListMaintenanceTasksResponse) ProtoReflect ¶
func (x *ListMaintenanceTasksResponse) ProtoReflect() protoreflect.Message
func (*ListMaintenanceTasksResponse) Reset ¶
func (x *ListMaintenanceTasksResponse) Reset()
func (*ListMaintenanceTasksResponse) String ¶
func (x *ListMaintenanceTasksResponse) String() string
type ListMaintenanceTasksResult ¶
type ListMaintenanceTasksResult struct { TasksUids []string `protobuf:"bytes,1,rep,name=tasks_uids,json=tasksUids,proto3" json:"tasks_uids,omitempty"` // contains filtered or unexported fields }
func (*ListMaintenanceTasksResult) Descriptor
deprecated
func (*ListMaintenanceTasksResult) Descriptor() ([]byte, []int)
Deprecated: Use ListMaintenanceTasksResult.ProtoReflect.Descriptor instead.
func (*ListMaintenanceTasksResult) GetTasksUids ¶
func (x *ListMaintenanceTasksResult) GetTasksUids() []string
func (*ListMaintenanceTasksResult) ProtoMessage ¶
func (*ListMaintenanceTasksResult) ProtoMessage()
func (*ListMaintenanceTasksResult) ProtoReflect ¶
func (x *ListMaintenanceTasksResult) ProtoReflect() protoreflect.Message
func (*ListMaintenanceTasksResult) Reset ¶
func (x *ListMaintenanceTasksResult) Reset()
func (*ListMaintenanceTasksResult) String ¶
func (x *ListMaintenanceTasksResult) String() string
type LockAction ¶
type LockAction struct { Scope *ActionScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
Taking an exclusive lock to perform maintenance.
func (*LockAction) Descriptor
deprecated
func (*LockAction) Descriptor() ([]byte, []int)
Deprecated: Use LockAction.ProtoReflect.Descriptor instead.
func (*LockAction) GetDuration ¶
func (x *LockAction) GetDuration() *durationpb.Duration
func (*LockAction) GetScope ¶
func (x *LockAction) GetScope() *ActionScope
func (*LockAction) ProtoMessage ¶
func (*LockAction) ProtoMessage()
func (*LockAction) ProtoReflect ¶
func (x *LockAction) ProtoReflect() protoreflect.Message
func (*LockAction) Reset ¶
func (x *LockAction) Reset()
func (*LockAction) String ¶
func (x *LockAction) String() string
type MaintenanceTaskOptions ¶
type MaintenanceTaskOptions struct { // User-defined _unique_ task identifier. TaskUid string `protobuf:"bytes,1,opt,name=task_uid,json=taskUid,proto3" json:"task_uid,omitempty"` // User-defined description. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Availability mode. AvailabilityMode AvailabilityMode `` /* 148-byte string literal not displayed */ DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // Priority of the task. Lower value indicates higher priority. Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` // contains filtered or unexported fields }
func (*MaintenanceTaskOptions) Descriptor
deprecated
func (*MaintenanceTaskOptions) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceTaskOptions.ProtoReflect.Descriptor instead.
func (*MaintenanceTaskOptions) GetAvailabilityMode ¶
func (x *MaintenanceTaskOptions) GetAvailabilityMode() AvailabilityMode
func (*MaintenanceTaskOptions) GetDescription ¶
func (x *MaintenanceTaskOptions) GetDescription() string
func (*MaintenanceTaskOptions) GetDryRun ¶
func (x *MaintenanceTaskOptions) GetDryRun() bool
func (*MaintenanceTaskOptions) GetPriority ¶
func (x *MaintenanceTaskOptions) GetPriority() int32
func (*MaintenanceTaskOptions) GetTaskUid ¶
func (x *MaintenanceTaskOptions) GetTaskUid() string
func (*MaintenanceTaskOptions) ProtoMessage ¶
func (*MaintenanceTaskOptions) ProtoMessage()
func (*MaintenanceTaskOptions) ProtoReflect ¶
func (x *MaintenanceTaskOptions) ProtoReflect() protoreflect.Message
func (*MaintenanceTaskOptions) Reset ¶
func (x *MaintenanceTaskOptions) Reset()
func (*MaintenanceTaskOptions) String ¶
func (x *MaintenanceTaskOptions) String() string
type MaintenanceTaskResponse ¶
type MaintenanceTaskResponse struct { // operation.result = MaintenanceTaskResult Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*MaintenanceTaskResponse) Descriptor
deprecated
func (*MaintenanceTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceTaskResponse.ProtoReflect.Descriptor instead.
func (*MaintenanceTaskResponse) GetOperation ¶
func (x *MaintenanceTaskResponse) GetOperation() *Ydb_Operations.Operation
func (*MaintenanceTaskResponse) ProtoMessage ¶
func (*MaintenanceTaskResponse) ProtoMessage()
func (*MaintenanceTaskResponse) ProtoReflect ¶
func (x *MaintenanceTaskResponse) ProtoReflect() protoreflect.Message
func (*MaintenanceTaskResponse) Reset ¶
func (x *MaintenanceTaskResponse) Reset()
func (*MaintenanceTaskResponse) String ¶
func (x *MaintenanceTaskResponse) String() string
type MaintenanceTaskResult ¶
type MaintenanceTaskResult struct { TaskUid string `protobuf:"bytes,1,opt,name=task_uid,json=taskUid,proto3" json:"task_uid,omitempty"` ActionGroupStates []*ActionGroupStates `protobuf:"bytes,2,rep,name=action_group_states,json=actionGroupStates,proto3" json:"action_group_states,omitempty"` // Try again after this deadline. Specified if there are no performed actions. RetryAfter *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=retry_after,json=retryAfter,proto3,oneof" json:"retry_after,omitempty"` // contains filtered or unexported fields }
func (*MaintenanceTaskResult) Descriptor
deprecated
func (*MaintenanceTaskResult) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceTaskResult.ProtoReflect.Descriptor instead.
func (*MaintenanceTaskResult) GetActionGroupStates ¶
func (x *MaintenanceTaskResult) GetActionGroupStates() []*ActionGroupStates
func (*MaintenanceTaskResult) GetRetryAfter ¶
func (x *MaintenanceTaskResult) GetRetryAfter() *timestamppb.Timestamp
func (*MaintenanceTaskResult) GetTaskUid ¶
func (x *MaintenanceTaskResult) GetTaskUid() string
func (*MaintenanceTaskResult) ProtoMessage ¶
func (*MaintenanceTaskResult) ProtoMessage()
func (*MaintenanceTaskResult) ProtoReflect ¶
func (x *MaintenanceTaskResult) ProtoReflect() protoreflect.Message
func (*MaintenanceTaskResult) Reset ¶
func (x *MaintenanceTaskResult) Reset()
func (*MaintenanceTaskResult) String ¶
func (x *MaintenanceTaskResult) String() string
type ManageActionResponse ¶
type ManageActionResponse struct { // operation.result = ManageActionResult Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ManageActionResponse) Descriptor
deprecated
func (*ManageActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ManageActionResponse.ProtoReflect.Descriptor instead.
func (*ManageActionResponse) GetOperation ¶
func (x *ManageActionResponse) GetOperation() *Ydb_Operations.Operation
func (*ManageActionResponse) ProtoMessage ¶
func (*ManageActionResponse) ProtoMessage()
func (*ManageActionResponse) ProtoReflect ¶
func (x *ManageActionResponse) ProtoReflect() protoreflect.Message
func (*ManageActionResponse) Reset ¶
func (x *ManageActionResponse) Reset()
func (*ManageActionResponse) String ¶
func (x *ManageActionResponse) String() string
type ManageActionResult ¶
type ManageActionResult struct { ActionStatuses []*ManageActionResult_Status `protobuf:"bytes,1,rep,name=action_statuses,json=actionStatuses,proto3" json:"action_statuses,omitempty"` // contains filtered or unexported fields }
func (*ManageActionResult) Descriptor
deprecated
func (*ManageActionResult) Descriptor() ([]byte, []int)
Deprecated: Use ManageActionResult.ProtoReflect.Descriptor instead.
func (*ManageActionResult) GetActionStatuses ¶
func (x *ManageActionResult) GetActionStatuses() []*ManageActionResult_Status
func (*ManageActionResult) ProtoMessage ¶
func (*ManageActionResult) ProtoMessage()
func (*ManageActionResult) ProtoReflect ¶
func (x *ManageActionResult) ProtoReflect() protoreflect.Message
func (*ManageActionResult) Reset ¶
func (x *ManageActionResult) Reset()
func (*ManageActionResult) String ¶
func (x *ManageActionResult) String() string
type ManageActionResult_Status ¶
type ManageActionResult_Status struct { ActionUid *ActionUid `protobuf:"bytes,1,opt,name=action_uid,json=actionUid,proto3" json:"action_uid,omitempty"` Status Ydb.StatusIds_StatusCode `protobuf:"varint,2,opt,name=status,proto3,enum=Ydb.StatusIds_StatusCode" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ManageActionResult_Status) Descriptor
deprecated
func (*ManageActionResult_Status) Descriptor() ([]byte, []int)
Deprecated: Use ManageActionResult_Status.ProtoReflect.Descriptor instead.
func (*ManageActionResult_Status) GetActionUid ¶
func (x *ManageActionResult_Status) GetActionUid() *ActionUid
func (*ManageActionResult_Status) GetStatus ¶
func (x *ManageActionResult_Status) GetStatus() Ydb.StatusIds_StatusCode
func (*ManageActionResult_Status) ProtoMessage ¶
func (*ManageActionResult_Status) ProtoMessage()
func (*ManageActionResult_Status) ProtoReflect ¶
func (x *ManageActionResult_Status) ProtoReflect() protoreflect.Message
func (*ManageActionResult_Status) Reset ¶
func (x *ManageActionResult_Status) Reset()
func (*ManageActionResult_Status) String ¶
func (x *ManageActionResult_Status) String() string
type ManageMaintenanceTaskResponse ¶
type ManageMaintenanceTaskResponse struct { Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ManageMaintenanceTaskResponse) Descriptor
deprecated
func (*ManageMaintenanceTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use ManageMaintenanceTaskResponse.ProtoReflect.Descriptor instead.
func (*ManageMaintenanceTaskResponse) GetOperation ¶
func (x *ManageMaintenanceTaskResponse) GetOperation() *Ydb_Operations.Operation
func (*ManageMaintenanceTaskResponse) ProtoMessage ¶
func (*ManageMaintenanceTaskResponse) ProtoMessage()
func (*ManageMaintenanceTaskResponse) ProtoReflect ¶
func (x *ManageMaintenanceTaskResponse) ProtoReflect() protoreflect.Message
func (*ManageMaintenanceTaskResponse) Reset ¶
func (x *ManageMaintenanceTaskResponse) Reset()
func (*ManageMaintenanceTaskResponse) String ¶
func (x *ManageMaintenanceTaskResponse) String() string
type Node ¶
type Node struct { NodeId uint32 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` Location *Ydb_Discovery.NodeLocation `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` State ItemState `protobuf:"varint,5,opt,name=state,proto3,enum=Ydb.Maintenance.ItemState" json:"state,omitempty"` // Types that are assignable to Type: // // *Node_Storage // *Node_Dynamic Type isNode_Type `protobuf_oneof:"type"` // start_time defines time when node was registered in cms. StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // version defines YDB version for current Node. // For example, 'ydb-stable-24-1'. Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetDynamic ¶
func (x *Node) GetDynamic() *Node_DynamicNode
func (*Node) GetLocation ¶
func (x *Node) GetLocation() *Ydb_Discovery.NodeLocation
func (*Node) GetStartTime ¶
func (x *Node) GetStartTime() *timestamppb.Timestamp
func (*Node) GetStorage ¶
func (x *Node) GetStorage() *Node_StorageNode
func (*Node) GetVersion ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Node_Dynamic ¶
type Node_Dynamic struct {
Dynamic *Node_DynamicNode `protobuf:"bytes,7,opt,name=dynamic,proto3,oneof"`
}
type Node_DynamicNode ¶
type Node_DynamicNode struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*Node_DynamicNode) Descriptor
deprecated
func (*Node_DynamicNode) Descriptor() ([]byte, []int)
Deprecated: Use Node_DynamicNode.ProtoReflect.Descriptor instead.
func (*Node_DynamicNode) GetTenant ¶
func (x *Node_DynamicNode) GetTenant() string
func (*Node_DynamicNode) ProtoMessage ¶
func (*Node_DynamicNode) ProtoMessage()
func (*Node_DynamicNode) ProtoReflect ¶
func (x *Node_DynamicNode) ProtoReflect() protoreflect.Message
func (*Node_DynamicNode) Reset ¶
func (x *Node_DynamicNode) Reset()
func (*Node_DynamicNode) String ¶
func (x *Node_DynamicNode) String() string
type Node_Storage ¶
type Node_Storage struct {
Storage *Node_StorageNode `protobuf:"bytes,6,opt,name=storage,proto3,oneof"`
}
type Node_StorageNode ¶
type Node_StorageNode struct {
// contains filtered or unexported fields
}
func (*Node_StorageNode) Descriptor
deprecated
func (*Node_StorageNode) Descriptor() ([]byte, []int)
Deprecated: Use Node_StorageNode.ProtoReflect.Descriptor instead.
func (*Node_StorageNode) ProtoMessage ¶
func (*Node_StorageNode) ProtoMessage()
func (*Node_StorageNode) ProtoReflect ¶
func (x *Node_StorageNode) ProtoReflect() protoreflect.Message
func (*Node_StorageNode) Reset ¶
func (x *Node_StorageNode) Reset()
func (*Node_StorageNode) String ¶
func (x *Node_StorageNode) String() string
type RefreshMaintenanceTaskRequest ¶
type RefreshMaintenanceTaskRequest struct { OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"` TaskUid string `protobuf:"bytes,2,opt,name=task_uid,json=taskUid,proto3" json:"task_uid,omitempty"` // contains filtered or unexported fields }
func (*RefreshMaintenanceTaskRequest) Descriptor
deprecated
func (*RefreshMaintenanceTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshMaintenanceTaskRequest.ProtoReflect.Descriptor instead.
func (*RefreshMaintenanceTaskRequest) GetOperationParams ¶
func (x *RefreshMaintenanceTaskRequest) GetOperationParams() *Ydb_Operations.OperationParams
func (*RefreshMaintenanceTaskRequest) GetTaskUid ¶
func (x *RefreshMaintenanceTaskRequest) GetTaskUid() string
func (*RefreshMaintenanceTaskRequest) ProtoMessage ¶
func (*RefreshMaintenanceTaskRequest) ProtoMessage()
func (*RefreshMaintenanceTaskRequest) ProtoReflect ¶
func (x *RefreshMaintenanceTaskRequest) ProtoReflect() protoreflect.Message
func (*RefreshMaintenanceTaskRequest) Reset ¶
func (x *RefreshMaintenanceTaskRequest) Reset()
func (*RefreshMaintenanceTaskRequest) String ¶
func (x *RefreshMaintenanceTaskRequest) String() string