experimentalclient

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup

type Backup interface {
	// Request requests a backup. Request returns nil, once a backup is made successfully.
	// Or it returns an error.
	Request(ctx context.Context) error

	// Exist checks if there is a backup available for the specific version of etcd cluster.
	Exist(ctx context.Context, v string) (bool, error)

	// ServiceStatus returns the backup service status.
	ServiceStatus(ctx context.Context) (*backupapi.ServiceStatus, error)
}

func NewBackup

func NewBackup(c *http.Client, scheme, clusterName string) Backup

func NewBackupWithAddr

func NewBackupWithAddr(c *http.Client, scheme, addr string) Backup

Jump to

Keyboard shortcuts

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