backups

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 10 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 struct {
	Servicer      Servicer
	Service       cherrygo.BackupsService
	ServerService cherrygo.ServersService
	Out           outputs.Outputer
}

func NewClient

func NewClient(s Servicer, out outputs.Outputer) *Client

func (*Client) Create

func (c *Client) Create() *cobra.Command

func (*Client) Delete

func (c *Client) Delete() *cobra.Command

func (*Client) Get

func (c *Client) Get() *cobra.Command

func (*Client) List

func (c *Client) List() *cobra.Command

func (*Client) Methods

func (c *Client) Methods() *cobra.Command

func (*Client) MethodsWhitelist

func (c *Client) MethodsWhitelist() *cobra.Command

func (*Client) NewCommand

func (c *Client) NewCommand() *cobra.Command

func (*Client) Plans

func (c *Client) Plans() *cobra.Command

func (*Client) Update

func (c *Client) Update() *cobra.Command

func (*Client) UpdateMethod

func (c *Client) UpdateMethod() *cobra.Command

func (*Client) Upgrade

func (c *Client) Upgrade() *cobra.Command

type Servicer

type Servicer interface {
	API(*cobra.Command) *cherrygo.Client
	GetOptions() *cherrygo.GetOptions
	Config(cmd *cobra.Command) *viper.Viper
}

Jump to

Keyboard shortcuts

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