medusa

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Close() error

	CreateBackup(ctx context.Context, name string, backupType string) error

	GetBackups(ctx context.Context) ([]*pb.BackupSummary, error)
}

type ClientFactory

type ClientFactory interface {
	NewClient(address string) (Client, error)
}

type DefaultFactory

type DefaultFactory struct {
}

func (*DefaultFactory) NewClient

func (f *DefaultFactory) NewClient(address string) (Client, error)

Jump to

Keyboard shortcuts

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