command

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands added in v0.4.0

func Commands(ui cli.Ui) map[string]cli.CommandFactory

Commands returns the mapping of CLI commands for B2

Types

type CreateBucketCommand

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

func (CreateBucketCommand) Client

func (c CreateBucketCommand) Client() (*b2.Client, error)

func (*CreateBucketCommand) Help

func (c *CreateBucketCommand) Help() string

func (*CreateBucketCommand) Name

func (c *CreateBucketCommand) Name() string

func (*CreateBucketCommand) Run

func (c *CreateBucketCommand) Run(args []string) int

func (*CreateBucketCommand) Synopsis

func (c *CreateBucketCommand) Synopsis() string

type GetCommand added in v0.3.0

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

func (GetCommand) Client added in v0.3.0

func (c GetCommand) Client() (*b2.Client, error)

func (*GetCommand) Help added in v0.3.0

func (c *GetCommand) Help() string

func (*GetCommand) Name added in v0.3.0

func (c *GetCommand) Name() string

func (*GetCommand) Run added in v0.3.0

func (c *GetCommand) Run(args []string) int

func (*GetCommand) Synopsis added in v0.3.0

func (c *GetCommand) Synopsis() string

type ListCommand added in v0.2.0

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

func (ListCommand) Client added in v0.2.0

func (c ListCommand) Client() (*b2.Client, error)

func (*ListCommand) Help added in v0.2.0

func (c *ListCommand) Help() string

func (*ListCommand) Name added in v0.2.0

func (c *ListCommand) Name() string

func (*ListCommand) Run added in v0.2.0

func (c *ListCommand) Run(args []string) int

func (*ListCommand) Synopsis added in v0.2.0

func (c *ListCommand) Synopsis() string

type PutCommand added in v0.5.0

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

func (PutCommand) Client added in v0.5.0

func (c PutCommand) Client() (*b2.Client, error)

func (*PutCommand) Help added in v0.5.0

func (c *PutCommand) Help() string

func (*PutCommand) Name added in v0.5.0

func (c *PutCommand) Name() string

func (*PutCommand) Run added in v0.5.0

func (c *PutCommand) Run(args []string) int

func (*PutCommand) Synopsis added in v0.5.0

func (c *PutCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
	Version string
	// contains filtered or unexported fields
}

func (VersionCommand) Client added in v0.4.0

func (c VersionCommand) Client() (*b2.Client, error)

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Name

func (c *VersionCommand) Name() string

func (*VersionCommand) Run

func (c *VersionCommand) Run(_ []string) int

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Jump to

Keyboard shortcuts

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