Versions in this module Expand all Collapse all v1 v1.1.0 Aug 30, 2025 v1.0.0 Aug 21, 2025 Changes in this version + var File_pkg_agent_app_postgresql_pb_postgresql_proto protoreflect.FileDescriptor + var LogicalBackupMode_name = map[int32]string + var LogicalBackupMode_value = map[string]int32 + var PostgresqlOperation_ServiceDesc = grpc.ServiceDesc + func RegisterPostgresqlOperationServer(s grpc.ServiceRegistrar, srv PostgresqlOperationServer) + func RegistryGrpcApp() + type LocalStorage struct + Path string + func (*LocalStorage) Descriptor() ([]byte, []int) + func (*LocalStorage) ProtoMessage() + func (x *LocalStorage) GetPath() string + func (x *LocalStorage) ProtoReflect() protoreflect.Message + func (x *LocalStorage) Reset() + func (x *LocalStorage) String() string + type LogicalBackupMode int32 + const LogicalBackupMode_Database + const LogicalBackupMode_Full + const LogicalBackupMode_Table + func (LogicalBackupMode) Descriptor() protoreflect.EnumDescriptor + func (LogicalBackupMode) EnumDescriptor() ([]byte, []int) + func (LogicalBackupMode) Type() protoreflect.EnumType + func (x LogicalBackupMode) Enum() *LogicalBackupMode + func (x LogicalBackupMode) Number() protoreflect.EnumNumber + func (x LogicalBackupMode) String() string + type LogicalBackupRequest struct + BackupFile string + Database string + LogicalBackupMode LogicalBackupMode + Password string + StorageType isLogicalBackupRequest_StorageType + Table string + Username string + func (*LogicalBackupRequest) Descriptor() ([]byte, []int) + func (*LogicalBackupRequest) ProtoMessage() + func (x *LogicalBackupRequest) GetBackupFile() string + func (x *LogicalBackupRequest) GetDatabase() string + func (x *LogicalBackupRequest) GetLocalStorage() *LocalStorage + func (x *LogicalBackupRequest) GetLogicalBackupMode() LogicalBackupMode + func (x *LogicalBackupRequest) GetPassword() string + func (x *LogicalBackupRequest) GetS3Storage() *S3Storage + func (x *LogicalBackupRequest) GetStorageType() isLogicalBackupRequest_StorageType + func (x *LogicalBackupRequest) GetTable() string + func (x *LogicalBackupRequest) GetUsername() string + func (x *LogicalBackupRequest) ProtoReflect() protoreflect.Message + func (x *LogicalBackupRequest) Reset() + func (x *LogicalBackupRequest) String() string + type LogicalBackupRequest_LocalStorage struct + LocalStorage *LocalStorage + type LogicalBackupRequest_S3Storage struct + S3Storage *S3Storage + type PhysicalBackupRequest struct + BackupFile string + Password string + StorageType isPhysicalBackupRequest_StorageType + Username string + func (*PhysicalBackupRequest) Descriptor() ([]byte, []int) + func (*PhysicalBackupRequest) ProtoMessage() + func (x *PhysicalBackupRequest) GetBackupFile() string + func (x *PhysicalBackupRequest) GetLocalStorage() *LocalStorage + func (x *PhysicalBackupRequest) GetPassword() string + func (x *PhysicalBackupRequest) GetS3Storage() *S3Storage + func (x *PhysicalBackupRequest) GetStorageType() isPhysicalBackupRequest_StorageType + func (x *PhysicalBackupRequest) GetUsername() string + func (x *PhysicalBackupRequest) ProtoReflect() protoreflect.Message + func (x *PhysicalBackupRequest) Reset() + func (x *PhysicalBackupRequest) String() string + type PhysicalBackupRequest_LocalStorage struct + LocalStorage *LocalStorage + type PhysicalBackupRequest_S3Storage struct + S3Storage *S3Storage + type PostgresqlOperationClient interface + LogicalBackup func(ctx context.Context, in *LogicalBackupRequest, opts ...grpc.CallOption) (*Response, error) + PhysicalBackup func(ctx context.Context, in *PhysicalBackupRequest, opts ...grpc.CallOption) (*Response, error) + Restore func(ctx context.Context, in *RestoreRequest, opts ...grpc.CallOption) (*Response, error) + func NewPostgresqlOperationClient(cc grpc.ClientConnInterface) PostgresqlOperationClient + type PostgresqlOperationServer interface + LogicalBackup func(context.Context, *LogicalBackupRequest) (*Response, error) + PhysicalBackup func(context.Context, *PhysicalBackupRequest) (*Response, error) + Restore func(context.Context, *RestoreRequest) (*Response, error) + type Response struct + Message string + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (x *Response) GetMessage() string + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string + type RestoreRequest struct + BackupFile string + StorageType isRestoreRequest_StorageType + func (*RestoreRequest) Descriptor() ([]byte, []int) + func (*RestoreRequest) ProtoMessage() + func (x *RestoreRequest) GetBackupFile() string + func (x *RestoreRequest) GetLocalStorage() *LocalStorage + func (x *RestoreRequest) GetS3Storage() *S3Storage + func (x *RestoreRequest) GetStorageType() isRestoreRequest_StorageType + func (x *RestoreRequest) ProtoReflect() protoreflect.Message + func (x *RestoreRequest) Reset() + func (x *RestoreRequest) String() string + type RestoreRequest_LocalStorage struct + LocalStorage *LocalStorage + type RestoreRequest_S3Storage struct + S3Storage *S3Storage + type S3Storage struct + AccessKey string + Bucket string + Endpoint string + SecretKey string + func (*S3Storage) Descriptor() ([]byte, []int) + func (*S3Storage) ProtoMessage() + func (x *S3Storage) GetAccessKey() string + func (x *S3Storage) GetBucket() string + func (x *S3Storage) GetEndpoint() string + func (x *S3Storage) GetSecretKey() string + func (x *S3Storage) ProtoReflect() protoreflect.Message + func (x *S3Storage) Reset() + func (x *S3Storage) String() string + type UnimplementedPostgresqlOperationServer struct + func (UnimplementedPostgresqlOperationServer) LogicalBackup(context.Context, *LogicalBackupRequest) (*Response, error) + func (UnimplementedPostgresqlOperationServer) PhysicalBackup(context.Context, *PhysicalBackupRequest) (*Response, error) + func (UnimplementedPostgresqlOperationServer) Restore(context.Context, *RestoreRequest) (*Response, error) + type UnsafePostgresqlOperationServer interface