recovery

package
v0.10.19-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecoveryClient

type RecoveryClient struct {
	// contains filtered or unexported fields
}

Client structure

func NewRecoveryClient

func NewRecoveryClient(cloudFQDN string, authorizer auth.Authorizer) (*RecoveryClient, error)

NewClient method returns new client

func (*RecoveryClient) Backup

func (c *RecoveryClient) Backup(ctx context.Context, path string, configFilePath string, storeType string) error

Backup

func (*RecoveryClient) Restore

func (c *RecoveryClient) Restore(ctx context.Context, path string, configFilePath string, storeType string) error

Restore

type Service

type Service interface {
	Backup(context.Context, string, string, string) error
	Restore(context.Context, string, string, string) error
}

Service interfacetype Service interface {

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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