recovery

package
v0.10.8-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 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