Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBackupScheduleServiceServer(s grpc.ServiceRegistrar, srv BackupScheduleServiceServer)
- func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)
- func RegisterOperationServiceServer(s grpc.ServiceRegistrar, srv OperationServiceServer)
- type AuditInfo
- func (*AuditInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AuditInfo) GetCompletedAt() *timestamppb.Timestamp
- func (x *AuditInfo) GetCreatedAt() *timestamppb.Timestamp
- func (x *AuditInfo) GetCreator() string
- func (*AuditInfo) ProtoMessage()
- func (x *AuditInfo) ProtoReflect() protoreflect.Message
- func (x *AuditInfo) Reset()
- func (x *AuditInfo) String() string
- type Backup
- func (*Backup) Descriptor() ([]byte, []int)deprecated
- func (x *Backup) GetAudit() *AuditInfo
- func (x *Backup) GetContainerId() string
- func (x *Backup) GetDatabaseEndpoint() string
- func (x *Backup) GetDatabaseName() string
- func (x *Backup) GetExpireAt() *timestamppb.Timestamp
- func (x *Backup) GetId() string
- func (x *Backup) GetLocation() *S3Location
- func (x *Backup) GetMessage() string
- func (x *Backup) GetScheduleId() string
- func (x *Backup) GetSize() int64
- func (x *Backup) GetSourcePaths() []string
- func (x *Backup) GetStatus() Backup_Status
- func (*Backup) ProtoMessage()
- func (x *Backup) ProtoReflect() protoreflect.Message
- func (x *Backup) Reset()
- func (x *Backup) String() string
- type BackupField
- func (BackupField) Descriptor() protoreflect.EnumDescriptor
- func (x BackupField) Enum() *BackupField
- func (BackupField) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackupField) Number() protoreflect.EnumNumber
- func (x BackupField) String() string
- func (BackupField) Type() protoreflect.EnumType
- type BackupSchedule
- func (*BackupSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *BackupSchedule) GetAudit() *AuditInfo
- func (x *BackupSchedule) GetContainerId() string
- func (x *BackupSchedule) GetDatabaseName() string
- func (x *BackupSchedule) GetEndpoint() string
- func (x *BackupSchedule) GetId() string
- func (x *BackupSchedule) GetLastSuccessfulBackupInfo() *ScheduledBackupInfo
- func (x *BackupSchedule) GetNextLaunch() *timestamppb.Timestamp
- func (x *BackupSchedule) GetScheduleName() string
- func (x *BackupSchedule) GetScheduleSettings() *BackupScheduleSettings
- func (x *BackupSchedule) GetSourcePaths() []string
- func (x *BackupSchedule) GetSourcePathsToExclude() []string
- func (x *BackupSchedule) GetStatus() BackupSchedule_Status
- func (*BackupSchedule) ProtoMessage()
- func (x *BackupSchedule) ProtoReflect() protoreflect.Message
- func (x *BackupSchedule) Reset()
- func (x *BackupSchedule) String() string
- type BackupSchedulePattern
- func (*BackupSchedulePattern) Descriptor() ([]byte, []int)deprecated
- func (x *BackupSchedulePattern) GetCrontab() string
- func (*BackupSchedulePattern) ProtoMessage()
- func (x *BackupSchedulePattern) ProtoReflect() protoreflect.Message
- func (x *BackupSchedulePattern) Reset()
- func (x *BackupSchedulePattern) String() string
- type BackupScheduleServiceClient
- type BackupScheduleServiceServer
- type BackupScheduleSettings
- func (*BackupScheduleSettings) Descriptor() ([]byte, []int)deprecated
- func (x *BackupScheduleSettings) GetRecoveryPointObjective() *durationpb.Duration
- func (x *BackupScheduleSettings) GetSchedulePattern() *BackupSchedulePattern
- func (x *BackupScheduleSettings) GetTtl() *durationpb.Duration
- func (*BackupScheduleSettings) ProtoMessage()
- func (x *BackupScheduleSettings) ProtoReflect() protoreflect.Message
- func (x *BackupScheduleSettings) Reset()
- func (x *BackupScheduleSettings) String() string
- type BackupSchedule_Status
- func (BackupSchedule_Status) Descriptor() protoreflect.EnumDescriptor
- func (x BackupSchedule_Status) Enum() *BackupSchedule_Status
- func (BackupSchedule_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackupSchedule_Status) Number() protoreflect.EnumNumber
- func (x BackupSchedule_Status) String() string
- func (BackupSchedule_Status) Type() protoreflect.EnumType
- type BackupServiceClient
- type BackupServiceServer
- type Backup_Status
- func (Backup_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_Status) Enum() *Backup_Status
- func (Backup_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_Status) Number() protoreflect.EnumNumber
- func (x Backup_Status) String() string
- func (Backup_Status) Type() protoreflect.EnumType
- type CancelOperationRequest
- func (*CancelOperationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelOperationRequest) GetOperationId() string
- func (*CancelOperationRequest) ProtoMessage()
- func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message
- func (x *CancelOperationRequest) Reset()
- func (x *CancelOperationRequest) String() string
- type CreateBackupScheduleRequest
- func (*CreateBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBackupScheduleRequest) GetContainerId() string
- func (x *CreateBackupScheduleRequest) GetDatabaseName() string
- func (x *CreateBackupScheduleRequest) GetEndpoint() string
- func (x *CreateBackupScheduleRequest) GetScheduleName() string
- func (x *CreateBackupScheduleRequest) GetScheduleSettings() *BackupScheduleSettings
- func (x *CreateBackupScheduleRequest) GetSourcePaths() []string
- func (x *CreateBackupScheduleRequest) GetSourcePathsToExclude() []string
- func (*CreateBackupScheduleRequest) ProtoMessage()
- func (x *CreateBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBackupScheduleRequest) Reset()
- func (x *CreateBackupScheduleRequest) String() string
- type DeleteBackupRequest
- func (*DeleteBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupRequest) GetBackupId() string
- func (*DeleteBackupRequest) ProtoMessage()
- func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupRequest) Reset()
- func (x *DeleteBackupRequest) String() string
- type DeleteBackupScheduleRequest
- func (*DeleteBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupScheduleRequest) GetId() string
- func (*DeleteBackupScheduleRequest) ProtoMessage()
- func (x *DeleteBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupScheduleRequest) Reset()
- func (x *DeleteBackupScheduleRequest) String() string
- type GetBackupRequest
- type GetBackupScheduleRequest
- func (*GetBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBackupScheduleRequest) GetId() string
- func (*GetBackupScheduleRequest) ProtoMessage()
- func (x *GetBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *GetBackupScheduleRequest) Reset()
- func (x *GetBackupScheduleRequest) String() string
- type GetOperationRequest
- func (*GetOperationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOperationRequest) GetId() string
- func (*GetOperationRequest) ProtoMessage()
- func (x *GetOperationRequest) ProtoReflect() protoreflect.Message
- func (x *GetOperationRequest) Reset()
- func (x *GetOperationRequest) String() string
- type ListBackupSchedulesRequest
- func (*ListBackupSchedulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupSchedulesRequest) GetContainerId() string
- func (x *ListBackupSchedulesRequest) GetDatabaseNameMask() string
- func (x *ListBackupSchedulesRequest) GetPageSize() uint32
- func (x *ListBackupSchedulesRequest) GetPageToken() string
- func (*ListBackupSchedulesRequest) ProtoMessage()
- func (x *ListBackupSchedulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupSchedulesRequest) Reset()
- func (x *ListBackupSchedulesRequest) String() string
- type ListBackupSchedulesResponse
- func (*ListBackupSchedulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupSchedulesResponse) GetNextPageToken() string
- func (x *ListBackupSchedulesResponse) GetSchedules() []*BackupSchedule
- func (*ListBackupSchedulesResponse) ProtoMessage()
- func (x *ListBackupSchedulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupSchedulesResponse) Reset()
- func (x *ListBackupSchedulesResponse) String() string
- type ListBackupsOrder
- func (*ListBackupsOrder) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsOrder) GetDesc() bool
- func (x *ListBackupsOrder) GetField() BackupField
- func (*ListBackupsOrder) ProtoMessage()
- func (x *ListBackupsOrder) ProtoReflect() protoreflect.Message
- func (x *ListBackupsOrder) Reset()
- func (x *ListBackupsOrder) String() string
- type ListBackupsRequest
- func (*ListBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsRequest) GetContainerId() string
- func (x *ListBackupsRequest) GetDatabaseNameMask() string
- func (x *ListBackupsRequest) GetDisplayStatus() []Backup_Status
- func (x *ListBackupsRequest) GetOrder() *ListBackupsOrder
- func (x *ListBackupsRequest) GetPageSize() uint32
- func (x *ListBackupsRequest) GetPageToken() string
- func (*ListBackupsRequest) ProtoMessage()
- func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupsRequest) Reset()
- func (x *ListBackupsRequest) String() string
- type ListBackupsResponse
- func (*ListBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsResponse) GetBackups() []*Backup
- func (x *ListBackupsResponse) GetNextPageToken() string
- func (*ListBackupsResponse) ProtoMessage()
- func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupsResponse) Reset()
- func (x *ListBackupsResponse) String() string
- type ListOperationsRequest
- func (*ListOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOperationsRequest) GetContainerId() string
- func (x *ListOperationsRequest) GetDatabaseNameMask() string
- func (x *ListOperationsRequest) GetOperationTypes() []string
- func (x *ListOperationsRequest) GetPageSize() uint32
- func (x *ListOperationsRequest) GetPageToken() string
- func (*ListOperationsRequest) ProtoMessage()
- func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListOperationsRequest) Reset()
- func (x *ListOperationsRequest) String() string
- type ListOperationsResponse
- func (*ListOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOperationsResponse) GetNextPageToken() string
- func (x *ListOperationsResponse) GetOperations() []*Operation
- func (*ListOperationsResponse) ProtoMessage()
- func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOperationsResponse) Reset()
- func (x *ListOperationsResponse) String() string
- type MakeBackupRequest
- func (*MakeBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MakeBackupRequest) GetContainerId() string
- func (x *MakeBackupRequest) GetDatabaseEndpoint() string
- func (x *MakeBackupRequest) GetDatabaseName() string
- func (x *MakeBackupRequest) GetSourcePaths() []string
- func (x *MakeBackupRequest) GetSourcePathsToExclude() []string
- func (x *MakeBackupRequest) GetTtl() *durationpb.Duration
- func (*MakeBackupRequest) ProtoMessage()
- func (x *MakeBackupRequest) ProtoReflect() protoreflect.Message
- func (x *MakeBackupRequest) Reset()
- func (x *MakeBackupRequest) String() string
- type MakeRestoreRequest
- func (*MakeRestoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MakeRestoreRequest) GetBackupId() string
- func (x *MakeRestoreRequest) GetContainerId() string
- func (x *MakeRestoreRequest) GetDatabaseEndpoint() string
- func (x *MakeRestoreRequest) GetDatabaseName() string
- func (x *MakeRestoreRequest) GetDestinationPrefix() string
- func (x *MakeRestoreRequest) GetSourcePaths() []string
- func (*MakeRestoreRequest) ProtoMessage()
- func (x *MakeRestoreRequest) ProtoReflect() protoreflect.Message
- func (x *MakeRestoreRequest) Reset()
- func (x *MakeRestoreRequest) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetAudit() *AuditInfo
- func (x *Operation) GetBackupId() string
- func (x *Operation) GetContainerId() string
- func (x *Operation) GetDatabaseEndpoint() string
- func (x *Operation) GetDatabaseName() string
- func (x *Operation) GetId() string
- func (x *Operation) GetMessage() string
- func (x *Operation) GetParentOperationId() string
- func (x *Operation) GetRestorePaths() []string
- func (x *Operation) GetSourcePaths() []string
- func (x *Operation) GetSourcePathsToExclude() []string
- func (x *Operation) GetStatus() Operation_Status
- func (x *Operation) GetType() string
- func (x *Operation) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Operation) GetYdbServerOperationId() string
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type OperationServiceClient
- type OperationServiceServer
- type Operation_Status
- func (Operation_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Operation_Status) Enum() *Operation_Status
- func (Operation_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Operation_Status) Number() protoreflect.EnumNumber
- func (x Operation_Status) String() string
- func (Operation_Status) Type() protoreflect.EnumType
- type S3Location
- func (*S3Location) Descriptor() ([]byte, []int)deprecated
- func (x *S3Location) GetBucket() string
- func (x *S3Location) GetEndpoint() string
- func (x *S3Location) GetPathPrefix() string
- func (x *S3Location) GetRegion() string
- func (*S3Location) ProtoMessage()
- func (x *S3Location) ProtoReflect() protoreflect.Message
- func (x *S3Location) Reset()
- func (x *S3Location) String() string
- type ScheduledBackupInfo
- func (*ScheduledBackupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduledBackupInfo) GetBackupId() string
- func (x *ScheduledBackupInfo) GetLastBackupRpoMarginInterval() *durationpb.Duration
- func (x *ScheduledBackupInfo) GetLastBackupRpoMarginRatio() float64
- func (x *ScheduledBackupInfo) GetRecoveryPoint() *timestamppb.Timestamp
- func (*ScheduledBackupInfo) ProtoMessage()
- func (x *ScheduledBackupInfo) ProtoReflect() protoreflect.Message
- func (x *ScheduledBackupInfo) Reset()
- func (x *ScheduledBackupInfo) String() string
- type ToggleBackupScheduleRequest
- func (*ToggleBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleBackupScheduleRequest) GetActiveState() bool
- func (x *ToggleBackupScheduleRequest) GetId() string
- func (*ToggleBackupScheduleRequest) ProtoMessage()
- func (x *ToggleBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleBackupScheduleRequest) Reset()
- func (x *ToggleBackupScheduleRequest) String() string
- type UnimplementedBackupScheduleServiceServer
- func (UnimplementedBackupScheduleServiceServer) CreateBackupSchedule(context.Context, *CreateBackupScheduleRequest) (*BackupSchedule, error)
- func (UnimplementedBackupScheduleServiceServer) DeleteBackupSchedule(context.Context, *DeleteBackupScheduleRequest) (*BackupSchedule, error)
- func (UnimplementedBackupScheduleServiceServer) GetBackupSchedule(context.Context, *GetBackupScheduleRequest) (*BackupSchedule, error)
- func (UnimplementedBackupScheduleServiceServer) ListBackupSchedules(context.Context, *ListBackupSchedulesRequest) (*ListBackupSchedulesResponse, error)
- func (UnimplementedBackupScheduleServiceServer) ToggleBackupSchedule(context.Context, *ToggleBackupScheduleRequest) (*BackupSchedule, error)
- func (UnimplementedBackupScheduleServiceServer) UpdateBackupSchedule(context.Context, *UpdateBackupScheduleRequest) (*BackupSchedule, error)
- type UnimplementedBackupServiceServer
- func (UnimplementedBackupServiceServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*Operation, error)
- func (UnimplementedBackupServiceServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
- func (UnimplementedBackupServiceServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
- func (UnimplementedBackupServiceServer) MakeBackup(context.Context, *MakeBackupRequest) (*Operation, error)
- func (UnimplementedBackupServiceServer) MakeRestore(context.Context, *MakeRestoreRequest) (*Operation, error)
- type UnimplementedOperationServiceServer
- func (UnimplementedOperationServiceServer) CancelOperation(context.Context, *CancelOperationRequest) (*Operation, error)
- func (UnimplementedOperationServiceServer) GetOperation(context.Context, *GetOperationRequest) (*Operation, error)
- func (UnimplementedOperationServiceServer) ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error)
- type UnsafeBackupScheduleServiceServer
- type UnsafeBackupServiceServer
- type UnsafeOperationServiceServer
- type UpdateBackupScheduleRequest
- func (*UpdateBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBackupScheduleRequest) GetId() string
- func (x *UpdateBackupScheduleRequest) GetScheduleName() string
- func (x *UpdateBackupScheduleRequest) GetScheduleSettings() *BackupScheduleSettings
- func (x *UpdateBackupScheduleRequest) GetSourcePaths() []string
- func (x *UpdateBackupScheduleRequest) GetSourcePathsToExclude() []string
- func (*UpdateBackupScheduleRequest) ProtoMessage()
- func (x *UpdateBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBackupScheduleRequest) Reset()
- func (x *UpdateBackupScheduleRequest) String() string
Constants ¶
const ( BackupScheduleService_CreateBackupSchedule_FullMethodName = "/ydbcp.v1alpha1.BackupScheduleService/CreateBackupSchedule" BackupScheduleService_UpdateBackupSchedule_FullMethodName = "/ydbcp.v1alpha1.BackupScheduleService/UpdateBackupSchedule" BackupScheduleService_GetBackupSchedule_FullMethodName = "/ydbcp.v1alpha1.BackupScheduleService/GetBackupSchedule" BackupScheduleService_ListBackupSchedules_FullMethodName = "/ydbcp.v1alpha1.BackupScheduleService/ListBackupSchedules" BackupScheduleService_ToggleBackupSchedule_FullMethodName = "/ydbcp.v1alpha1.BackupScheduleService/ToggleBackupSchedule" BackupScheduleService_DeleteBackupSchedule_FullMethodName = "/ydbcp.v1alpha1.BackupScheduleService/DeleteBackupSchedule" )
const ( BackupService_ListBackups_FullMethodName = "/ydbcp.v1alpha1.BackupService/ListBackups" BackupService_GetBackup_FullMethodName = "/ydbcp.v1alpha1.BackupService/GetBackup" BackupService_MakeBackup_FullMethodName = "/ydbcp.v1alpha1.BackupService/MakeBackup" BackupService_DeleteBackup_FullMethodName = "/ydbcp.v1alpha1.BackupService/DeleteBackup" BackupService_MakeRestore_FullMethodName = "/ydbcp.v1alpha1.BackupService/MakeRestore" )
const ( OperationService_ListOperations_FullMethodName = "/ydbcp.v1alpha1.OperationService/ListOperations" OperationService_CancelOperation_FullMethodName = "/ydbcp.v1alpha1.OperationService/CancelOperation" OperationService_GetOperation_FullMethodName = "/ydbcp.v1alpha1.OperationService/GetOperation" )
Variables ¶
var ( BackupField_name = map[int32]string{ 0: "DATABASE_NAME", 1: "STATUS", 2: "CREATED_AT", 3: "EXPIRE_AT", 4: "COMPLETED_AT", } BackupField_value = map[string]int32{ "DATABASE_NAME": 0, "STATUS": 1, "CREATED_AT": 2, "EXPIRE_AT": 3, "COMPLETED_AT": 4, } )
Enum value maps for BackupField.
var ( Backup_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "PENDING", 2: "AVAILABLE", 3: "ERROR", 4: "CANCELLED", 5: "DELETED", 6: "RUNNING", 7: "DELETING", } Backup_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "PENDING": 1, "AVAILABLE": 2, "ERROR": 3, "CANCELLED": 4, "DELETED": 5, "RUNNING": 6, "DELETING": 7, } )
Enum value maps for Backup_Status.
var ( BackupSchedule_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "ACTIVE", 2: "INACTIVE", 3: "DELETED", } BackupSchedule_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "ACTIVE": 1, "INACTIVE": 2, "DELETED": 3, } )
Enum value maps for BackupSchedule_Status.
var ( Operation_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "PENDING", 2: "DONE", 3: "ERROR", 4: "CANCELLING", 5: "CANCELED", 6: "START_CANCELLING", 7: "RUNNING", } Operation_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "PENDING": 1, "DONE": 2, "ERROR": 3, "CANCELLING": 4, "CANCELED": 5, "START_CANCELLING": 6, "RUNNING": 7, } )
Enum value maps for Operation_Status.
var BackupScheduleService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ydbcp.v1alpha1.BackupScheduleService", HandlerType: (*BackupScheduleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateBackupSchedule", Handler: _BackupScheduleService_CreateBackupSchedule_Handler, }, { MethodName: "UpdateBackupSchedule", Handler: _BackupScheduleService_UpdateBackupSchedule_Handler, }, { MethodName: "GetBackupSchedule", Handler: _BackupScheduleService_GetBackupSchedule_Handler, }, { MethodName: "ListBackupSchedules", Handler: _BackupScheduleService_ListBackupSchedules_Handler, }, { MethodName: "ToggleBackupSchedule", Handler: _BackupScheduleService_ToggleBackupSchedule_Handler, }, { MethodName: "DeleteBackupSchedule", Handler: _BackupScheduleService_DeleteBackupSchedule_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ydbcp/v1alpha1/backup_schedule_service.proto", }
BackupScheduleService_ServiceDesc is the grpc.ServiceDesc for BackupScheduleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BackupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ydbcp.v1alpha1.BackupService", HandlerType: (*BackupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListBackups", Handler: _BackupService_ListBackups_Handler, }, { MethodName: "GetBackup", Handler: _BackupService_GetBackup_Handler, }, { MethodName: "MakeBackup", Handler: _BackupService_MakeBackup_Handler, }, { MethodName: "DeleteBackup", Handler: _BackupService_DeleteBackup_Handler, }, { MethodName: "MakeRestore", Handler: _BackupService_MakeRestore_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ydbcp/v1alpha1/backup_service.proto", }
BackupService_ServiceDesc is the grpc.ServiceDesc for BackupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_ydbcp_v1alpha1_backup_proto protoreflect.FileDescriptor
var File_ydbcp_v1alpha1_backup_schedule_proto protoreflect.FileDescriptor
var File_ydbcp_v1alpha1_backup_schedule_service_proto protoreflect.FileDescriptor
var File_ydbcp_v1alpha1_backup_service_proto protoreflect.FileDescriptor
var File_ydbcp_v1alpha1_operation_proto protoreflect.FileDescriptor
var File_ydbcp_v1alpha1_operation_service_proto protoreflect.FileDescriptor
var OperationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ydbcp.v1alpha1.OperationService", HandlerType: (*OperationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListOperations", Handler: _OperationService_ListOperations_Handler, }, { MethodName: "CancelOperation", Handler: _OperationService_CancelOperation_Handler, }, { MethodName: "GetOperation", Handler: _OperationService_GetOperation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ydbcp/v1alpha1/operation_service.proto", }
OperationService_ServiceDesc is the grpc.ServiceDesc for OperationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBackupScheduleServiceServer ¶
func RegisterBackupScheduleServiceServer(s grpc.ServiceRegistrar, srv BackupScheduleServiceServer)
func RegisterBackupServiceServer ¶
func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)
func RegisterOperationServiceServer ¶
func RegisterOperationServiceServer(s grpc.ServiceRegistrar, srv OperationServiceServer)
Types ¶
type AuditInfo ¶
type AuditInfo struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CompletedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` // contains filtered or unexported fields }
func (*AuditInfo) Descriptor
deprecated
func (*AuditInfo) GetCompletedAt ¶
func (x *AuditInfo) GetCompletedAt() *timestamppb.Timestamp
func (*AuditInfo) GetCreatedAt ¶
func (x *AuditInfo) GetCreatedAt() *timestamppb.Timestamp
func (*AuditInfo) GetCreator ¶
func (*AuditInfo) ProtoMessage ¶
func (*AuditInfo) ProtoMessage()
func (*AuditInfo) ProtoReflect ¶
func (x *AuditInfo) ProtoReflect() protoreflect.Message
type Backup ¶
type Backup struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` DatabaseName string `protobuf:"bytes,3,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` DatabaseEndpoint string `protobuf:"bytes,4,opt,name=database_endpoint,json=databaseEndpoint,proto3" json:"database_endpoint,omitempty"` Location *S3Location `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` Audit *AuditInfo `protobuf:"bytes,6,opt,name=audit,proto3" json:"audit,omitempty"` Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` Status Backup_Status `protobuf:"varint,8,opt,name=status,proto3,enum=ydbcp.v1alpha1.Backup_Status" json:"status,omitempty"` Message string `protobuf:"bytes,9,opt,name=message,proto3" json:"message,omitempty"` ExpireAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` ScheduleId string `protobuf:"bytes,11,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` SourcePaths []string `protobuf:"bytes,12,rep,name=source_paths,json=sourcePaths,proto3" json:"source_paths,omitempty"` // contains filtered or unexported fields }
func (*Backup) Descriptor
deprecated
func (*Backup) GetContainerId ¶
func (*Backup) GetDatabaseEndpoint ¶
func (*Backup) GetDatabaseName ¶
func (*Backup) GetExpireAt ¶
func (x *Backup) GetExpireAt() *timestamppb.Timestamp
func (*Backup) GetLocation ¶
func (x *Backup) GetLocation() *S3Location
func (*Backup) GetMessage ¶
func (*Backup) GetScheduleId ¶
func (*Backup) GetSourcePaths ¶
func (*Backup) GetStatus ¶
func (x *Backup) GetStatus() Backup_Status
func (*Backup) ProtoMessage ¶
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect ¶
func (x *Backup) ProtoReflect() protoreflect.Message
type BackupField ¶
type BackupField int32
const ( BackupField_DATABASE_NAME BackupField = 0 BackupField_STATUS BackupField = 1 BackupField_CREATED_AT BackupField = 2 BackupField_EXPIRE_AT BackupField = 3 BackupField_COMPLETED_AT BackupField = 4 )
func (BackupField) Descriptor ¶
func (BackupField) Descriptor() protoreflect.EnumDescriptor
func (BackupField) Enum ¶
func (x BackupField) Enum() *BackupField
func (BackupField) EnumDescriptor
deprecated
func (BackupField) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupField.Descriptor instead.
func (BackupField) Number ¶
func (x BackupField) Number() protoreflect.EnumNumber
func (BackupField) String ¶
func (x BackupField) String() string
func (BackupField) Type ¶
func (BackupField) Type() protoreflect.EnumType
type BackupSchedule ¶
type BackupSchedule struct { // backup settings Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` DatabaseName string `protobuf:"bytes,3,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` SourcePaths []string `protobuf:"bytes,5,rep,name=source_paths,json=sourcePaths,proto3" json:"source_paths,omitempty"` // [(size) = "<=256"]; SourcePathsToExclude []string `protobuf:"bytes,6,rep,name=source_paths_to_exclude,json=sourcePathsToExclude,proto3" json:"source_paths_to_exclude,omitempty"` // [(size) = "<=256"]; Audit *AuditInfo `protobuf:"bytes,7,opt,name=audit,proto3" json:"audit,omitempty"` ScheduleName string `protobuf:"bytes,8,opt,name=schedule_name,json=scheduleName,proto3" json:"schedule_name,omitempty"` Status BackupSchedule_Status `protobuf:"varint,9,opt,name=status,proto3,enum=ydbcp.v1alpha1.BackupSchedule_Status" json:"status,omitempty"` ScheduleSettings *BackupScheduleSettings `protobuf:"bytes,10,opt,name=schedule_settings,json=scheduleSettings,proto3" json:"schedule_settings,omitempty"` NextLaunch *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=next_launch,json=nextLaunch,proto3" json:"next_launch,omitempty"` LastSuccessfulBackupInfo *ScheduledBackupInfo `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BackupSchedule) Descriptor
deprecated
func (*BackupSchedule) Descriptor() ([]byte, []int)
Deprecated: Use BackupSchedule.ProtoReflect.Descriptor instead.
func (*BackupSchedule) GetAudit ¶
func (x *BackupSchedule) GetAudit() *AuditInfo
func (*BackupSchedule) GetContainerId ¶
func (x *BackupSchedule) GetContainerId() string
func (*BackupSchedule) GetDatabaseName ¶
func (x *BackupSchedule) GetDatabaseName() string
func (*BackupSchedule) GetEndpoint ¶
func (x *BackupSchedule) GetEndpoint() string
func (*BackupSchedule) GetId ¶
func (x *BackupSchedule) GetId() string
func (*BackupSchedule) GetLastSuccessfulBackupInfo ¶
func (x *BackupSchedule) GetLastSuccessfulBackupInfo() *ScheduledBackupInfo
func (*BackupSchedule) GetNextLaunch ¶
func (x *BackupSchedule) GetNextLaunch() *timestamppb.Timestamp
func (*BackupSchedule) GetScheduleName ¶
func (x *BackupSchedule) GetScheduleName() string
func (*BackupSchedule) GetScheduleSettings ¶
func (x *BackupSchedule) GetScheduleSettings() *BackupScheduleSettings
func (*BackupSchedule) GetSourcePaths ¶
func (x *BackupSchedule) GetSourcePaths() []string
func (*BackupSchedule) GetSourcePathsToExclude ¶
func (x *BackupSchedule) GetSourcePathsToExclude() []string
func (*BackupSchedule) GetStatus ¶
func (x *BackupSchedule) GetStatus() BackupSchedule_Status
func (*BackupSchedule) ProtoMessage ¶
func (*BackupSchedule) ProtoMessage()
func (*BackupSchedule) ProtoReflect ¶
func (x *BackupSchedule) ProtoReflect() protoreflect.Message
func (*BackupSchedule) Reset ¶
func (x *BackupSchedule) Reset()
func (*BackupSchedule) String ¶
func (x *BackupSchedule) String() string
type BackupSchedulePattern ¶
type BackupSchedulePattern struct { Crontab string `protobuf:"bytes,1,opt,name=crontab,proto3" json:"crontab,omitempty"` // contains filtered or unexported fields }
func (*BackupSchedulePattern) Descriptor
deprecated
func (*BackupSchedulePattern) Descriptor() ([]byte, []int)
Deprecated: Use BackupSchedulePattern.ProtoReflect.Descriptor instead.
func (*BackupSchedulePattern) GetCrontab ¶
func (x *BackupSchedulePattern) GetCrontab() string
func (*BackupSchedulePattern) ProtoMessage ¶
func (*BackupSchedulePattern) ProtoMessage()
func (*BackupSchedulePattern) ProtoReflect ¶
func (x *BackupSchedulePattern) ProtoReflect() protoreflect.Message
func (*BackupSchedulePattern) Reset ¶
func (x *BackupSchedulePattern) Reset()
func (*BackupSchedulePattern) String ¶
func (x *BackupSchedulePattern) String() string
type BackupScheduleServiceClient ¶
type BackupScheduleServiceClient interface { CreateBackupSchedule(ctx context.Context, in *CreateBackupScheduleRequest, opts ...grpc.CallOption) (*BackupSchedule, error) UpdateBackupSchedule(ctx context.Context, in *UpdateBackupScheduleRequest, opts ...grpc.CallOption) (*BackupSchedule, error) GetBackupSchedule(ctx context.Context, in *GetBackupScheduleRequest, opts ...grpc.CallOption) (*BackupSchedule, error) ListBackupSchedules(ctx context.Context, in *ListBackupSchedulesRequest, opts ...grpc.CallOption) (*ListBackupSchedulesResponse, error) ToggleBackupSchedule(ctx context.Context, in *ToggleBackupScheduleRequest, opts ...grpc.CallOption) (*BackupSchedule, error) DeleteBackupSchedule(ctx context.Context, in *DeleteBackupScheduleRequest, opts ...grpc.CallOption) (*BackupSchedule, error) }
BackupScheduleServiceClient is the client API for BackupScheduleService 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 NewBackupScheduleServiceClient ¶
func NewBackupScheduleServiceClient(cc grpc.ClientConnInterface) BackupScheduleServiceClient
type BackupScheduleServiceServer ¶
type BackupScheduleServiceServer interface { CreateBackupSchedule(context.Context, *CreateBackupScheduleRequest) (*BackupSchedule, error) UpdateBackupSchedule(context.Context, *UpdateBackupScheduleRequest) (*BackupSchedule, error) GetBackupSchedule(context.Context, *GetBackupScheduleRequest) (*BackupSchedule, error) ListBackupSchedules(context.Context, *ListBackupSchedulesRequest) (*ListBackupSchedulesResponse, error) ToggleBackupSchedule(context.Context, *ToggleBackupScheduleRequest) (*BackupSchedule, error) DeleteBackupSchedule(context.Context, *DeleteBackupScheduleRequest) (*BackupSchedule, error) // contains filtered or unexported methods }
BackupScheduleServiceServer is the server API for BackupScheduleService service. All implementations must embed UnimplementedBackupScheduleServiceServer for forward compatibility
type BackupScheduleSettings ¶
type BackupScheduleSettings struct { SchedulePattern *BackupSchedulePattern `protobuf:"bytes,1,opt,name=schedule_pattern,json=schedulePattern,proto3" json:"schedule_pattern,omitempty"` Ttl *durationpb.Duration `protobuf:"bytes,2,opt,name=ttl,proto3" json:"ttl,omitempty"` RecoveryPointObjective *durationpb.Duration `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BackupScheduleSettings) Descriptor
deprecated
func (*BackupScheduleSettings) Descriptor() ([]byte, []int)
Deprecated: Use BackupScheduleSettings.ProtoReflect.Descriptor instead.
func (*BackupScheduleSettings) GetRecoveryPointObjective ¶
func (x *BackupScheduleSettings) GetRecoveryPointObjective() *durationpb.Duration
func (*BackupScheduleSettings) GetSchedulePattern ¶
func (x *BackupScheduleSettings) GetSchedulePattern() *BackupSchedulePattern
func (*BackupScheduleSettings) GetTtl ¶
func (x *BackupScheduleSettings) GetTtl() *durationpb.Duration
func (*BackupScheduleSettings) ProtoMessage ¶
func (*BackupScheduleSettings) ProtoMessage()
func (*BackupScheduleSettings) ProtoReflect ¶
func (x *BackupScheduleSettings) ProtoReflect() protoreflect.Message
func (*BackupScheduleSettings) Reset ¶
func (x *BackupScheduleSettings) Reset()
func (*BackupScheduleSettings) String ¶
func (x *BackupScheduleSettings) String() string
type BackupSchedule_Status ¶
type BackupSchedule_Status int32
const ( BackupSchedule_STATUS_UNSPECIFIED BackupSchedule_Status = 0 BackupSchedule_ACTIVE BackupSchedule_Status = 1 BackupSchedule_INACTIVE BackupSchedule_Status = 2 BackupSchedule_DELETED BackupSchedule_Status = 3 )
func (BackupSchedule_Status) Descriptor ¶
func (BackupSchedule_Status) Descriptor() protoreflect.EnumDescriptor
func (BackupSchedule_Status) Enum ¶
func (x BackupSchedule_Status) Enum() *BackupSchedule_Status
func (BackupSchedule_Status) EnumDescriptor
deprecated
func (BackupSchedule_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupSchedule_Status.Descriptor instead.
func (BackupSchedule_Status) Number ¶
func (x BackupSchedule_Status) Number() protoreflect.EnumNumber
func (BackupSchedule_Status) String ¶
func (x BackupSchedule_Status) String() string
func (BackupSchedule_Status) Type ¶
func (BackupSchedule_Status) Type() protoreflect.EnumType
type BackupServiceClient ¶
type BackupServiceClient interface { ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error) // Returns the specified backup. GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error) MakeBackup(ctx context.Context, in *MakeBackupRequest, opts ...grpc.CallOption) (*Operation, error) DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*Operation, error) MakeRestore(ctx context.Context, in *MakeRestoreRequest, opts ...grpc.CallOption) (*Operation, error) }
BackupServiceClient is the client API for BackupService 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 NewBackupServiceClient ¶
func NewBackupServiceClient(cc grpc.ClientConnInterface) BackupServiceClient
type BackupServiceServer ¶
type BackupServiceServer interface { ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) // Returns the specified backup. GetBackup(context.Context, *GetBackupRequest) (*Backup, error) MakeBackup(context.Context, *MakeBackupRequest) (*Operation, error) DeleteBackup(context.Context, *DeleteBackupRequest) (*Operation, error) MakeRestore(context.Context, *MakeRestoreRequest) (*Operation, error) // contains filtered or unexported methods }
BackupServiceServer is the server API for BackupService service. All implementations must embed UnimplementedBackupServiceServer for forward compatibility
type Backup_Status ¶
type Backup_Status int32
const ( Backup_STATUS_UNSPECIFIED Backup_Status = 0 Backup_PENDING Backup_Status = 1 Backup_AVAILABLE Backup_Status = 2 Backup_ERROR Backup_Status = 3 Backup_CANCELLED Backup_Status = 4 Backup_DELETED Backup_Status = 5 Backup_RUNNING Backup_Status = 6 Backup_DELETING Backup_Status = 7 )
func (Backup_Status) Descriptor ¶
func (Backup_Status) Descriptor() protoreflect.EnumDescriptor
func (Backup_Status) Enum ¶
func (x Backup_Status) Enum() *Backup_Status
func (Backup_Status) EnumDescriptor
deprecated
func (Backup_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_Status.Descriptor instead.
func (Backup_Status) Number ¶
func (x Backup_Status) Number() protoreflect.EnumNumber
func (Backup_Status) String ¶
func (x Backup_Status) String() string
func (Backup_Status) Type ¶
func (Backup_Status) Type() protoreflect.EnumType
type CancelOperationRequest ¶
type CancelOperationRequest struct { OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // contains filtered or unexported fields }
func (*CancelOperationRequest) Descriptor
deprecated
func (*CancelOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead.
func (*CancelOperationRequest) GetOperationId ¶
func (x *CancelOperationRequest) GetOperationId() string
func (*CancelOperationRequest) ProtoMessage ¶
func (*CancelOperationRequest) ProtoMessage()
func (*CancelOperationRequest) ProtoReflect ¶
func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message
func (*CancelOperationRequest) Reset ¶
func (x *CancelOperationRequest) Reset()
func (*CancelOperationRequest) String ¶
func (x *CancelOperationRequest) String() string
type CreateBackupScheduleRequest ¶
type CreateBackupScheduleRequest struct { // fields of MakeBackupRequest to schedule ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` SourcePaths []string `protobuf:"bytes,4,rep,name=source_paths,json=sourcePaths,proto3" json:"source_paths,omitempty"` // [(size) = "<=256"]; SourcePathsToExclude []string `protobuf:"bytes,5,rep,name=source_paths_to_exclude,json=sourcePathsToExclude,proto3" json:"source_paths_to_exclude,omitempty"` // [(size) = "<=256"]; ScheduleName string `protobuf:"bytes,6,opt,name=schedule_name,json=scheduleName,proto3" json:"schedule_name,omitempty"` ScheduleSettings *BackupScheduleSettings `protobuf:"bytes,7,opt,name=schedule_settings,json=scheduleSettings,proto3" json:"schedule_settings,omitempty"` // contains filtered or unexported fields }
func (*CreateBackupScheduleRequest) Descriptor
deprecated
func (*CreateBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupScheduleRequest) GetContainerId ¶
func (x *CreateBackupScheduleRequest) GetContainerId() string
func (*CreateBackupScheduleRequest) GetDatabaseName ¶
func (x *CreateBackupScheduleRequest) GetDatabaseName() string
func (*CreateBackupScheduleRequest) GetEndpoint ¶
func (x *CreateBackupScheduleRequest) GetEndpoint() string
func (*CreateBackupScheduleRequest) GetScheduleName ¶
func (x *CreateBackupScheduleRequest) GetScheduleName() string
func (*CreateBackupScheduleRequest) GetScheduleSettings ¶
func (x *CreateBackupScheduleRequest) GetScheduleSettings() *BackupScheduleSettings
func (*CreateBackupScheduleRequest) GetSourcePaths ¶
func (x *CreateBackupScheduleRequest) GetSourcePaths() []string
func (*CreateBackupScheduleRequest) GetSourcePathsToExclude ¶
func (x *CreateBackupScheduleRequest) GetSourcePathsToExclude() []string
func (*CreateBackupScheduleRequest) ProtoMessage ¶
func (*CreateBackupScheduleRequest) ProtoMessage()
func (*CreateBackupScheduleRequest) ProtoReflect ¶
func (x *CreateBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupScheduleRequest) Reset ¶
func (x *CreateBackupScheduleRequest) Reset()
func (*CreateBackupScheduleRequest) String ¶
func (x *CreateBackupScheduleRequest) String() string
type DeleteBackupRequest ¶
type DeleteBackupRequest struct { BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteBackupRequest) Descriptor
deprecated
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetBackupId ¶
func (x *DeleteBackupRequest) GetBackupId() string
func (*DeleteBackupRequest) ProtoMessage ¶
func (*DeleteBackupRequest) ProtoMessage()
func (*DeleteBackupRequest) ProtoReflect ¶
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupRequest) Reset ¶
func (x *DeleteBackupRequest) Reset()
func (*DeleteBackupRequest) String ¶
func (x *DeleteBackupRequest) String() string
type DeleteBackupScheduleRequest ¶
type DeleteBackupScheduleRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteBackupScheduleRequest) Descriptor
deprecated
func (*DeleteBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupScheduleRequest) GetId ¶
func (x *DeleteBackupScheduleRequest) GetId() string
func (*DeleteBackupScheduleRequest) ProtoMessage ¶
func (*DeleteBackupScheduleRequest) ProtoMessage()
func (*DeleteBackupScheduleRequest) ProtoReflect ¶
func (x *DeleteBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupScheduleRequest) Reset ¶
func (x *DeleteBackupScheduleRequest) Reset()
func (*DeleteBackupScheduleRequest) String ¶
func (x *DeleteBackupScheduleRequest) String() string
type GetBackupRequest ¶
type GetBackupRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetBackupRequest) Descriptor
deprecated
func (*GetBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetId ¶
func (x *GetBackupRequest) GetId() string
func (*GetBackupRequest) ProtoMessage ¶
func (*GetBackupRequest) ProtoMessage()
func (*GetBackupRequest) ProtoReflect ¶
func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
func (*GetBackupRequest) Reset ¶
func (x *GetBackupRequest) Reset()
func (*GetBackupRequest) String ¶
func (x *GetBackupRequest) String() string
type GetBackupScheduleRequest ¶
type GetBackupScheduleRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetBackupScheduleRequest) Descriptor
deprecated
func (*GetBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*GetBackupScheduleRequest) GetId ¶
func (x *GetBackupScheduleRequest) GetId() string
func (*GetBackupScheduleRequest) ProtoMessage ¶
func (*GetBackupScheduleRequest) ProtoMessage()
func (*GetBackupScheduleRequest) ProtoReflect ¶
func (x *GetBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*GetBackupScheduleRequest) Reset ¶
func (x *GetBackupScheduleRequest) Reset()
func (*GetBackupScheduleRequest) String ¶
func (x *GetBackupScheduleRequest) String() string
type GetOperationRequest ¶
type GetOperationRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetOperationRequest) Descriptor
deprecated
func (*GetOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOperationRequest.ProtoReflect.Descriptor instead.
func (*GetOperationRequest) GetId ¶
func (x *GetOperationRequest) GetId() string
func (*GetOperationRequest) ProtoMessage ¶
func (*GetOperationRequest) ProtoMessage()
func (*GetOperationRequest) ProtoReflect ¶
func (x *GetOperationRequest) ProtoReflect() protoreflect.Message
func (*GetOperationRequest) Reset ¶
func (x *GetOperationRequest) Reset()
func (*GetOperationRequest) String ¶
func (x *GetOperationRequest) String() string
type ListBackupSchedulesRequest ¶
type ListBackupSchedulesRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` DatabaseNameMask string `protobuf:"bytes,2,opt,name=database_name_mask,json=databaseNameMask,proto3" json:"database_name_mask,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `page_size`, the service returns a `next_page_token` that can be used // to get the next page of results in subsequent ListBackupSchedules requests. // Acceptable values are 0 to 1000, inclusive. Default value: 100. PageSize uint32 `protobuf:"varint,1000,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // [(value) = "0-1000"]; // Page token. Set `page_token` to the `next_page_token` returned by a previous ListBackups // request to get the next page of results. PageToken string `protobuf:"bytes,1001,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // [(length) = "<=100"]; // contains filtered or unexported fields }
func (*ListBackupSchedulesRequest) Descriptor
deprecated
func (*ListBackupSchedulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupSchedulesRequest.ProtoReflect.Descriptor instead.
func (*ListBackupSchedulesRequest) GetContainerId ¶
func (x *ListBackupSchedulesRequest) GetContainerId() string
func (*ListBackupSchedulesRequest) GetDatabaseNameMask ¶
func (x *ListBackupSchedulesRequest) GetDatabaseNameMask() string
func (*ListBackupSchedulesRequest) GetPageSize ¶
func (x *ListBackupSchedulesRequest) GetPageSize() uint32
func (*ListBackupSchedulesRequest) GetPageToken ¶
func (x *ListBackupSchedulesRequest) GetPageToken() string
func (*ListBackupSchedulesRequest) ProtoMessage ¶
func (*ListBackupSchedulesRequest) ProtoMessage()
func (*ListBackupSchedulesRequest) ProtoReflect ¶
func (x *ListBackupSchedulesRequest) ProtoReflect() protoreflect.Message
func (*ListBackupSchedulesRequest) Reset ¶
func (x *ListBackupSchedulesRequest) Reset()
func (*ListBackupSchedulesRequest) String ¶
func (x *ListBackupSchedulesRequest) String() string
type ListBackupSchedulesResponse ¶
type ListBackupSchedulesResponse struct { Schedules []*BackupSchedule `protobuf:"bytes,1,rep,name=schedules,proto3" json:"schedules,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListBackupSchedulesResponse) Descriptor
deprecated
func (*ListBackupSchedulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupSchedulesResponse.ProtoReflect.Descriptor instead.
func (*ListBackupSchedulesResponse) GetNextPageToken ¶
func (x *ListBackupSchedulesResponse) GetNextPageToken() string
func (*ListBackupSchedulesResponse) GetSchedules ¶
func (x *ListBackupSchedulesResponse) GetSchedules() []*BackupSchedule
func (*ListBackupSchedulesResponse) ProtoMessage ¶
func (*ListBackupSchedulesResponse) ProtoMessage()
func (*ListBackupSchedulesResponse) ProtoReflect ¶
func (x *ListBackupSchedulesResponse) ProtoReflect() protoreflect.Message
func (*ListBackupSchedulesResponse) Reset ¶
func (x *ListBackupSchedulesResponse) Reset()
func (*ListBackupSchedulesResponse) String ¶
func (x *ListBackupSchedulesResponse) String() string
type ListBackupsOrder ¶
type ListBackupsOrder struct { Field BackupField `protobuf:"varint,1,opt,name=field,proto3,enum=ydbcp.v1alpha1.BackupField" json:"field,omitempty"` Desc bool `protobuf:"varint,2,opt,name=desc,proto3" json:"desc,omitempty"` // contains filtered or unexported fields }
func (*ListBackupsOrder) Descriptor
deprecated
func (*ListBackupsOrder) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsOrder.ProtoReflect.Descriptor instead.
func (*ListBackupsOrder) GetDesc ¶
func (x *ListBackupsOrder) GetDesc() bool
func (*ListBackupsOrder) GetField ¶
func (x *ListBackupsOrder) GetField() BackupField
func (*ListBackupsOrder) ProtoMessage ¶
func (*ListBackupsOrder) ProtoMessage()
func (*ListBackupsOrder) ProtoReflect ¶
func (x *ListBackupsOrder) ProtoReflect() protoreflect.Message
func (*ListBackupsOrder) Reset ¶
func (x *ListBackupsOrder) Reset()
func (*ListBackupsOrder) String ¶
func (x *ListBackupsOrder) String() string
type ListBackupsRequest ¶
type ListBackupsRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` DatabaseNameMask string `protobuf:"bytes,2,opt,name=database_name_mask,json=databaseNameMask,proto3" json:"database_name_mask,omitempty"` DisplayStatus []Backup_Status `` /* 142-byte string literal not displayed */ Order *ListBackupsOrder `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `page_size`, the service returns a `next_page_token` that can be used // to get the next page of results in subsequent ListBackups requests. // Acceptable values are 0 to 1000, inclusive. Default value: 100. PageSize uint32 `protobuf:"varint,1000,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // [(value) = "0-1000"]; // Page token. Set `page_token` to the `next_page_token` returned by a previous ListBackups // request to get the next page of results. Page token is an integer that represents an OFFSET for // YQL query. PageToken string `protobuf:"bytes,1001,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // [(length) = "<=100"]; // contains filtered or unexported fields }
func (*ListBackupsRequest) Descriptor
deprecated
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetContainerId ¶
func (x *ListBackupsRequest) GetContainerId() string
func (*ListBackupsRequest) GetDatabaseNameMask ¶
func (x *ListBackupsRequest) GetDatabaseNameMask() string
func (*ListBackupsRequest) GetDisplayStatus ¶
func (x *ListBackupsRequest) GetDisplayStatus() []Backup_Status
func (*ListBackupsRequest) GetOrder ¶
func (x *ListBackupsRequest) GetOrder() *ListBackupsOrder
func (*ListBackupsRequest) GetPageSize ¶
func (x *ListBackupsRequest) GetPageSize() uint32
func (*ListBackupsRequest) GetPageToken ¶
func (x *ListBackupsRequest) GetPageToken() string
func (*ListBackupsRequest) ProtoMessage ¶
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) ProtoReflect ¶
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupsRequest) Reset ¶
func (x *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String ¶
func (x *ListBackupsRequest) String() string
type ListBackupsResponse ¶
type ListBackupsResponse struct { Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListBackupsResponse) Descriptor
deprecated
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetBackups ¶
func (x *ListBackupsResponse) GetBackups() []*Backup
func (*ListBackupsResponse) GetNextPageToken ¶
func (x *ListBackupsResponse) GetNextPageToken() string
func (*ListBackupsResponse) ProtoMessage ¶
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) ProtoReflect ¶
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupsResponse) Reset ¶
func (x *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String ¶
func (x *ListBackupsResponse) String() string
type ListOperationsRequest ¶
type ListOperationsRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` DatabaseNameMask string `protobuf:"bytes,2,opt,name=database_name_mask,json=databaseNameMask,proto3" json:"database_name_mask,omitempty"` OperationTypes []string `protobuf:"bytes,3,rep,name=operation_types,json=operationTypes,proto3" json:"operation_types,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `page_size`, the service returns a `next_page_token` that can be used // to get the next page of results in subsequent ListOperations requests. // Acceptable values are 0 to 1000, inclusive. Default value: 100. PageSize uint32 `protobuf:"varint,1001,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // [(value) = "0-1000"]; // Page token. Set `page_token` to the `next_page_token` returned by a previous ListOperations // request to get the next page of results. PageToken string `protobuf:"bytes,1002,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // [(length) = "<=100"]; // contains filtered or unexported fields }
func (*ListOperationsRequest) Descriptor
deprecated
func (*ListOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListOperationsRequest) GetContainerId ¶
func (x *ListOperationsRequest) GetContainerId() string
func (*ListOperationsRequest) GetDatabaseNameMask ¶
func (x *ListOperationsRequest) GetDatabaseNameMask() string
func (*ListOperationsRequest) GetOperationTypes ¶
func (x *ListOperationsRequest) GetOperationTypes() []string
func (*ListOperationsRequest) GetPageSize ¶
func (x *ListOperationsRequest) GetPageSize() uint32
func (*ListOperationsRequest) GetPageToken ¶
func (x *ListOperationsRequest) GetPageToken() string
func (*ListOperationsRequest) ProtoMessage ¶
func (*ListOperationsRequest) ProtoMessage()
func (*ListOperationsRequest) ProtoReflect ¶
func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListOperationsRequest) Reset ¶
func (x *ListOperationsRequest) Reset()
func (*ListOperationsRequest) String ¶
func (x *ListOperationsRequest) String() string
type ListOperationsResponse ¶
type ListOperationsResponse struct { Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListOperationsResponse) Descriptor
deprecated
func (*ListOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListOperationsResponse) GetNextPageToken ¶
func (x *ListOperationsResponse) GetNextPageToken() string
func (*ListOperationsResponse) GetOperations ¶
func (x *ListOperationsResponse) GetOperations() []*Operation
func (*ListOperationsResponse) ProtoMessage ¶
func (*ListOperationsResponse) ProtoMessage()
func (*ListOperationsResponse) ProtoReflect ¶
func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListOperationsResponse) Reset ¶
func (x *ListOperationsResponse) Reset()
func (*ListOperationsResponse) String ¶
func (x *ListOperationsResponse) String() string
type MakeBackupRequest ¶
type MakeBackupRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` DatabaseEndpoint string `protobuf:"bytes,3,opt,name=database_endpoint,json=databaseEndpoint,proto3" json:"database_endpoint,omitempty"` // Full path to a table or directory. Empty source_paths means backup of root directory. SourcePaths []string `protobuf:"bytes,4,rep,name=source_paths,json=sourcePaths,proto3" json:"source_paths,omitempty"` // [(size) = "<=256"]; // Regexp for paths excluded from backup. SourcePathsToExclude []string `protobuf:"bytes,5,rep,name=source_paths_to_exclude,json=sourcePathsToExclude,proto3" json:"source_paths_to_exclude,omitempty"` // [(size) = "<=256"]; Ttl *durationpb.Duration `protobuf:"bytes,6,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*MakeBackupRequest) Descriptor
deprecated
func (*MakeBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use MakeBackupRequest.ProtoReflect.Descriptor instead.
func (*MakeBackupRequest) GetContainerId ¶
func (x *MakeBackupRequest) GetContainerId() string
func (*MakeBackupRequest) GetDatabaseEndpoint ¶
func (x *MakeBackupRequest) GetDatabaseEndpoint() string
func (*MakeBackupRequest) GetDatabaseName ¶
func (x *MakeBackupRequest) GetDatabaseName() string
func (*MakeBackupRequest) GetSourcePaths ¶
func (x *MakeBackupRequest) GetSourcePaths() []string
func (*MakeBackupRequest) GetSourcePathsToExclude ¶
func (x *MakeBackupRequest) GetSourcePathsToExclude() []string
func (*MakeBackupRequest) GetTtl ¶
func (x *MakeBackupRequest) GetTtl() *durationpb.Duration
func (*MakeBackupRequest) ProtoMessage ¶
func (*MakeBackupRequest) ProtoMessage()
func (*MakeBackupRequest) ProtoReflect ¶
func (x *MakeBackupRequest) ProtoReflect() protoreflect.Message
func (*MakeBackupRequest) Reset ¶
func (x *MakeBackupRequest) Reset()
func (*MakeBackupRequest) String ¶
func (x *MakeBackupRequest) String() string
type MakeRestoreRequest ¶
type MakeRestoreRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` DatabaseName string `protobuf:"bytes,3,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` DatabaseEndpoint string `protobuf:"bytes,4,opt,name=database_endpoint,json=databaseEndpoint,proto3" json:"database_endpoint,omitempty"` DestinationPrefix string `protobuf:"bytes,5,opt,name=destination_prefix,json=destinationPrefix,proto3" json:"destination_prefix,omitempty"` // Paths to s3 objects to restore. SourcePaths []string `protobuf:"bytes,6,rep,name=source_paths,json=sourcePaths,proto3" json:"source_paths,omitempty"` // contains filtered or unexported fields }
func (*MakeRestoreRequest) Descriptor
deprecated
func (*MakeRestoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use MakeRestoreRequest.ProtoReflect.Descriptor instead.
func (*MakeRestoreRequest) GetBackupId ¶
func (x *MakeRestoreRequest) GetBackupId() string
func (*MakeRestoreRequest) GetContainerId ¶
func (x *MakeRestoreRequest) GetContainerId() string
func (*MakeRestoreRequest) GetDatabaseEndpoint ¶
func (x *MakeRestoreRequest) GetDatabaseEndpoint() string
func (*MakeRestoreRequest) GetDatabaseName ¶
func (x *MakeRestoreRequest) GetDatabaseName() string
func (*MakeRestoreRequest) GetDestinationPrefix ¶
func (x *MakeRestoreRequest) GetDestinationPrefix() string
func (*MakeRestoreRequest) GetSourcePaths ¶
func (x *MakeRestoreRequest) GetSourcePaths() []string
func (*MakeRestoreRequest) ProtoMessage ¶
func (*MakeRestoreRequest) ProtoMessage()
func (*MakeRestoreRequest) ProtoReflect ¶
func (x *MakeRestoreRequest) ProtoReflect() protoreflect.Message
func (*MakeRestoreRequest) Reset ¶
func (x *MakeRestoreRequest) Reset()
func (*MakeRestoreRequest) String ¶
func (x *MakeRestoreRequest) String() string
type Operation ¶
type Operation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` DatabaseName string `protobuf:"bytes,4,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` DatabaseEndpoint string `protobuf:"bytes,5,opt,name=database_endpoint,json=databaseEndpoint,proto3" json:"database_endpoint,omitempty"` YdbServerOperationId string `protobuf:"bytes,6,opt,name=ydb_server_operation_id,json=ydbServerOperationId,proto3" json:"ydb_server_operation_id,omitempty"` BackupId string `protobuf:"bytes,7,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` SourcePaths []string `protobuf:"bytes,8,rep,name=source_paths,json=sourcePaths,proto3" json:"source_paths,omitempty"` // [(size) = "<=256"]; SourcePathsToExclude []string `protobuf:"bytes,9,rep,name=source_paths_to_exclude,json=sourcePathsToExclude,proto3" json:"source_paths_to_exclude,omitempty"` // [(size) = "<=256"]; RestorePaths []string `protobuf:"bytes,10,rep,name=restore_paths,json=restorePaths,proto3" json:"restore_paths,omitempty"` // [(size) = "<=256"]; Audit *AuditInfo `protobuf:"bytes,11,opt,name=audit,proto3" json:"audit,omitempty"` Status Operation_Status `protobuf:"varint,12,opt,name=status,proto3,enum=ydbcp.v1alpha1.Operation_Status" json:"status,omitempty"` Message string `protobuf:"bytes,13,opt,name=message,proto3" json:"message,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` ParentOperationId string `protobuf:"bytes,15,opt,name=parent_operation_id,json=parentOperationId,proto3" json:"parent_operation_id,omitempty"` // contains filtered or unexported fields }
func (*Operation) Descriptor
deprecated
func (*Operation) GetBackupId ¶
func (*Operation) GetContainerId ¶
func (*Operation) GetDatabaseEndpoint ¶
func (*Operation) GetDatabaseName ¶
func (*Operation) GetMessage ¶
func (*Operation) GetParentOperationId ¶
func (*Operation) GetRestorePaths ¶
func (*Operation) GetSourcePaths ¶
func (*Operation) GetSourcePathsToExclude ¶
func (*Operation) GetStatus ¶
func (x *Operation) GetStatus() Operation_Status
func (*Operation) GetUpdatedAt ¶
func (x *Operation) GetUpdatedAt() *timestamppb.Timestamp
func (*Operation) GetYdbServerOperationId ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
type OperationServiceClient ¶
type OperationServiceClient interface { ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*Operation, error) GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) }
OperationServiceClient is the client API for OperationService 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 NewOperationServiceClient ¶
func NewOperationServiceClient(cc grpc.ClientConnInterface) OperationServiceClient
type OperationServiceServer ¶
type OperationServiceServer interface { ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error) CancelOperation(context.Context, *CancelOperationRequest) (*Operation, error) GetOperation(context.Context, *GetOperationRequest) (*Operation, error) // contains filtered or unexported methods }
OperationServiceServer is the server API for OperationService service. All implementations must embed UnimplementedOperationServiceServer for forward compatibility
type Operation_Status ¶
type Operation_Status int32
const ( Operation_STATUS_UNSPECIFIED Operation_Status = 0 Operation_PENDING Operation_Status = 1 Operation_DONE Operation_Status = 2 Operation_ERROR Operation_Status = 3 Operation_CANCELLING Operation_Status = 4 Operation_CANCELED Operation_Status = 5 Operation_START_CANCELLING Operation_Status = 6 Operation_RUNNING Operation_Status = 7 )
func (Operation_Status) Descriptor ¶
func (Operation_Status) Descriptor() protoreflect.EnumDescriptor
func (Operation_Status) Enum ¶
func (x Operation_Status) Enum() *Operation_Status
func (Operation_Status) EnumDescriptor
deprecated
func (Operation_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Operation_Status.Descriptor instead.
func (Operation_Status) Number ¶
func (x Operation_Status) Number() protoreflect.EnumNumber
func (Operation_Status) String ¶
func (x Operation_Status) String() string
func (Operation_Status) Type ¶
func (Operation_Status) Type() protoreflect.EnumType
type S3Location ¶
type S3Location struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` PathPrefix string `protobuf:"bytes,4,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"` // contains filtered or unexported fields }
func (*S3Location) Descriptor
deprecated
func (*S3Location) Descriptor() ([]byte, []int)
Deprecated: Use S3Location.ProtoReflect.Descriptor instead.
func (*S3Location) GetBucket ¶
func (x *S3Location) GetBucket() string
func (*S3Location) GetEndpoint ¶
func (x *S3Location) GetEndpoint() string
func (*S3Location) GetPathPrefix ¶
func (x *S3Location) GetPathPrefix() string
func (*S3Location) GetRegion ¶
func (x *S3Location) GetRegion() string
func (*S3Location) ProtoMessage ¶
func (*S3Location) ProtoMessage()
func (*S3Location) ProtoReflect ¶
func (x *S3Location) ProtoReflect() protoreflect.Message
func (*S3Location) Reset ¶
func (x *S3Location) Reset()
func (*S3Location) String ¶
func (x *S3Location) String() string
type ScheduledBackupInfo ¶
type ScheduledBackupInfo struct { BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` RecoveryPoint *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=recovery_point,json=recoveryPoint,proto3" json:"recovery_point,omitempty"` LastBackupRpoMarginInterval *durationpb.Duration `` /* 148-byte string literal not displayed */ LastBackupRpoMarginRatio float64 `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ScheduledBackupInfo) Descriptor
deprecated
func (*ScheduledBackupInfo) Descriptor() ([]byte, []int)
Deprecated: Use ScheduledBackupInfo.ProtoReflect.Descriptor instead.
func (*ScheduledBackupInfo) GetBackupId ¶
func (x *ScheduledBackupInfo) GetBackupId() string
func (*ScheduledBackupInfo) GetLastBackupRpoMarginInterval ¶
func (x *ScheduledBackupInfo) GetLastBackupRpoMarginInterval() *durationpb.Duration
func (*ScheduledBackupInfo) GetLastBackupRpoMarginRatio ¶
func (x *ScheduledBackupInfo) GetLastBackupRpoMarginRatio() float64
func (*ScheduledBackupInfo) GetRecoveryPoint ¶
func (x *ScheduledBackupInfo) GetRecoveryPoint() *timestamppb.Timestamp
func (*ScheduledBackupInfo) ProtoMessage ¶
func (*ScheduledBackupInfo) ProtoMessage()
func (*ScheduledBackupInfo) ProtoReflect ¶
func (x *ScheduledBackupInfo) ProtoReflect() protoreflect.Message
func (*ScheduledBackupInfo) Reset ¶
func (x *ScheduledBackupInfo) Reset()
func (*ScheduledBackupInfo) String ¶
func (x *ScheduledBackupInfo) String() string
type ToggleBackupScheduleRequest ¶
type ToggleBackupScheduleRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ActiveState bool `protobuf:"varint,2,opt,name=active_state,json=activeState,proto3" json:"active_state,omitempty"` // contains filtered or unexported fields }
func (*ToggleBackupScheduleRequest) Descriptor
deprecated
func (*ToggleBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*ToggleBackupScheduleRequest) GetActiveState ¶
func (x *ToggleBackupScheduleRequest) GetActiveState() bool
func (*ToggleBackupScheduleRequest) GetId ¶
func (x *ToggleBackupScheduleRequest) GetId() string
func (*ToggleBackupScheduleRequest) ProtoMessage ¶
func (*ToggleBackupScheduleRequest) ProtoMessage()
func (*ToggleBackupScheduleRequest) ProtoReflect ¶
func (x *ToggleBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*ToggleBackupScheduleRequest) Reset ¶
func (x *ToggleBackupScheduleRequest) Reset()
func (*ToggleBackupScheduleRequest) String ¶
func (x *ToggleBackupScheduleRequest) String() string
type UnimplementedBackupScheduleServiceServer ¶
type UnimplementedBackupScheduleServiceServer struct { }
UnimplementedBackupScheduleServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBackupScheduleServiceServer) CreateBackupSchedule ¶
func (UnimplementedBackupScheduleServiceServer) CreateBackupSchedule(context.Context, *CreateBackupScheduleRequest) (*BackupSchedule, error)
func (UnimplementedBackupScheduleServiceServer) DeleteBackupSchedule ¶
func (UnimplementedBackupScheduleServiceServer) DeleteBackupSchedule(context.Context, *DeleteBackupScheduleRequest) (*BackupSchedule, error)
func (UnimplementedBackupScheduleServiceServer) GetBackupSchedule ¶
func (UnimplementedBackupScheduleServiceServer) GetBackupSchedule(context.Context, *GetBackupScheduleRequest) (*BackupSchedule, error)
func (UnimplementedBackupScheduleServiceServer) ListBackupSchedules ¶
func (UnimplementedBackupScheduleServiceServer) ListBackupSchedules(context.Context, *ListBackupSchedulesRequest) (*ListBackupSchedulesResponse, error)
func (UnimplementedBackupScheduleServiceServer) ToggleBackupSchedule ¶
func (UnimplementedBackupScheduleServiceServer) ToggleBackupSchedule(context.Context, *ToggleBackupScheduleRequest) (*BackupSchedule, error)
func (UnimplementedBackupScheduleServiceServer) UpdateBackupSchedule ¶
func (UnimplementedBackupScheduleServiceServer) UpdateBackupSchedule(context.Context, *UpdateBackupScheduleRequest) (*BackupSchedule, error)
type UnimplementedBackupServiceServer ¶
type UnimplementedBackupServiceServer struct { }
UnimplementedBackupServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBackupServiceServer) DeleteBackup ¶
func (UnimplementedBackupServiceServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*Operation, error)
func (UnimplementedBackupServiceServer) GetBackup ¶
func (UnimplementedBackupServiceServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
func (UnimplementedBackupServiceServer) ListBackups ¶
func (UnimplementedBackupServiceServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
func (UnimplementedBackupServiceServer) MakeBackup ¶
func (UnimplementedBackupServiceServer) MakeBackup(context.Context, *MakeBackupRequest) (*Operation, error)
func (UnimplementedBackupServiceServer) MakeRestore ¶
func (UnimplementedBackupServiceServer) MakeRestore(context.Context, *MakeRestoreRequest) (*Operation, error)
type UnimplementedOperationServiceServer ¶
type UnimplementedOperationServiceServer struct { }
UnimplementedOperationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOperationServiceServer) CancelOperation ¶
func (UnimplementedOperationServiceServer) CancelOperation(context.Context, *CancelOperationRequest) (*Operation, error)
func (UnimplementedOperationServiceServer) GetOperation ¶
func (UnimplementedOperationServiceServer) GetOperation(context.Context, *GetOperationRequest) (*Operation, error)
func (UnimplementedOperationServiceServer) ListOperations ¶
func (UnimplementedOperationServiceServer) ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error)
type UnsafeBackupScheduleServiceServer ¶
type UnsafeBackupScheduleServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBackupScheduleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackupScheduleServiceServer will result in compilation errors.
type UnsafeBackupServiceServer ¶
type UnsafeBackupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBackupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackupServiceServer will result in compilation errors.
type UnsafeOperationServiceServer ¶
type UnsafeOperationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOperationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OperationServiceServer will result in compilation errors.
type UpdateBackupScheduleRequest ¶
type UpdateBackupScheduleRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // fields of MakeBackupRequest to schedule SourcePaths []string `protobuf:"bytes,2,rep,name=source_paths,json=sourcePaths,proto3" json:"source_paths,omitempty"` // [(size) = "<=256"]; SourcePathsToExclude []string `protobuf:"bytes,3,rep,name=source_paths_to_exclude,json=sourcePathsToExclude,proto3" json:"source_paths_to_exclude,omitempty"` // [(size) = "<=256"]; ScheduleName string `protobuf:"bytes,4,opt,name=schedule_name,json=scheduleName,proto3" json:"schedule_name,omitempty"` ScheduleSettings *BackupScheduleSettings `protobuf:"bytes,5,opt,name=schedule_settings,json=scheduleSettings,proto3" json:"schedule_settings,omitempty"` // contains filtered or unexported fields }
func (*UpdateBackupScheduleRequest) Descriptor
deprecated
func (*UpdateBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupScheduleRequest) GetId ¶
func (x *UpdateBackupScheduleRequest) GetId() string
func (*UpdateBackupScheduleRequest) GetScheduleName ¶
func (x *UpdateBackupScheduleRequest) GetScheduleName() string
func (*UpdateBackupScheduleRequest) GetScheduleSettings ¶
func (x *UpdateBackupScheduleRequest) GetScheduleSettings() *BackupScheduleSettings
func (*UpdateBackupScheduleRequest) GetSourcePaths ¶
func (x *UpdateBackupScheduleRequest) GetSourcePaths() []string
func (*UpdateBackupScheduleRequest) GetSourcePathsToExclude ¶
func (x *UpdateBackupScheduleRequest) GetSourcePathsToExclude() []string
func (*UpdateBackupScheduleRequest) ProtoMessage ¶
func (*UpdateBackupScheduleRequest) ProtoMessage()
func (*UpdateBackupScheduleRequest) ProtoReflect ¶
func (x *UpdateBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupScheduleRequest) Reset ¶
func (x *UpdateBackupScheduleRequest) Reset()
func (*UpdateBackupScheduleRequest) String ¶
func (x *UpdateBackupScheduleRequest) String() string