Documentation ¶
Index ¶
- type BackupService
- func (s *BackupService) DeleteBackup(ctx context.Context, req *pb.DeleteBackupRequest) (*pb.Operation, error)
- func (s *BackupService) GetBackup(ctx context.Context, request *pb.GetBackupRequest) (*pb.Backup, error)
- func (s *BackupService) ListBackups(ctx context.Context, request *pb.ListBackupsRequest) (*pb.ListBackupsResponse, error)
- func (s *BackupService) MakeBackup(ctx context.Context, req *pb.MakeBackupRequest) (*pb.Operation, error)
- func (s *BackupService) MakeRestore(ctx context.Context, req *pb.MakeRestoreRequest) (*pb.Operation, error)
- func (s *BackupService) Register(server server.Server)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupService ¶
type BackupService struct { pb.UnimplementedBackupServiceServer // contains filtered or unexported fields }
func NewBackupService ¶
func NewBackupService( driver db.DBConnector, clientConn client.ClientConnector, s3 config.S3Config, auth ap.AuthProvider, allowedEndpointDomains []string, allowInsecureEndpoint bool, ) *BackupService
func (*BackupService) DeleteBackup ¶
func (s *BackupService) DeleteBackup(ctx context.Context, req *pb.DeleteBackupRequest) (*pb.Operation, error)
func (*BackupService) GetBackup ¶
func (s *BackupService) GetBackup(ctx context.Context, request *pb.GetBackupRequest) (*pb.Backup, error)
func (*BackupService) ListBackups ¶
func (s *BackupService) ListBackups(ctx context.Context, request *pb.ListBackupsRequest) ( *pb.ListBackupsResponse, error, )
func (*BackupService) MakeBackup ¶
func (s *BackupService) MakeBackup(ctx context.Context, req *pb.MakeBackupRequest) (*pb.Operation, error)
func (*BackupService) MakeRestore ¶
func (s *BackupService) MakeRestore(ctx context.Context, req *pb.MakeRestoreRequest) (*pb.Operation, error)
func (*BackupService) Register ¶
func (s *BackupService) Register(server server.Server)
Click to show internal directories.
Click to hide internal directories.