command

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachCommand

type AttachCommand struct {
	Meta
}

func (*AttachCommand) Help

func (c *AttachCommand) Help() string

func (*AttachCommand) Run

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

func (*AttachCommand) Synopsis

func (c *AttachCommand) Synopsis() string

type DetachCommand

type DetachCommand struct {
	Meta
}

func (*DetachCommand) Help

func (c *DetachCommand) Help() string

func (*DetachCommand) Run

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

func (*DetachCommand) Synopsis

func (c *DetachCommand) Synopsis() string

type GetVolumeNameCommand

type GetVolumeNameCommand struct {
	Meta
}

func (*GetVolumeNameCommand) Help

func (c *GetVolumeNameCommand) Help() string

func (*GetVolumeNameCommand) Run

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

func (*GetVolumeNameCommand) Synopsis

func (c *GetVolumeNameCommand) Synopsis() string

type InitCommand

type InitCommand struct {
	Meta
}

func (*InitCommand) Help

func (c *InitCommand) Help() string

func (*InitCommand) Run

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

func (*InitCommand) Synopsis

func (c *InitCommand) Synopsis() string

type IsAttachedCommand

type IsAttachedCommand struct {
	Meta
}

func (*IsAttachedCommand) Help

func (c *IsAttachedCommand) Help() string

func (*IsAttachedCommand) Run

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

func (*IsAttachedCommand) Synopsis

func (c *IsAttachedCommand) Synopsis() string

type Meta

type Meta struct {
	Ui cli.Ui

	Driver volume.Driver
}

Meta contain the meta-option that nearly all subcommand inherited.

func (*Meta) FlagSet

func (m *Meta) FlagSet(name string) *flag.FlagSet

type MountCommand

type MountCommand struct {
	Meta
}

func (*MountCommand) Help

func (c *MountCommand) Help() string

func (*MountCommand) Run

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

func (*MountCommand) Synopsis

func (c *MountCommand) Synopsis() string

type MountDeviceCommand

type MountDeviceCommand struct {
	Meta
}

func (*MountDeviceCommand) Help

func (c *MountDeviceCommand) Help() string

func (*MountDeviceCommand) Run

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

func (*MountDeviceCommand) Synopsis

func (c *MountDeviceCommand) Synopsis() string

type UnmountCommand

type UnmountCommand struct {
	Meta
}

func (*UnmountCommand) Help

func (c *UnmountCommand) Help() string

func (*UnmountCommand) Run

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

func (*UnmountCommand) Synopsis

func (c *UnmountCommand) Synopsis() string

type UnmountDeviceCommand

type UnmountDeviceCommand struct {
	Meta
}

func (*UnmountDeviceCommand) Help

func (c *UnmountDeviceCommand) Help() string

func (*UnmountDeviceCommand) Run

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

func (*UnmountDeviceCommand) Synopsis

func (c *UnmountDeviceCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
	Meta

	Name     string
	Version  string
	Revision string
}

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

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

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

type WaitForAttachCommand

type WaitForAttachCommand struct {
	Meta
}

func (*WaitForAttachCommand) Help

func (c *WaitForAttachCommand) Help() string

func (*WaitForAttachCommand) Run

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

func (*WaitForAttachCommand) Synopsis

func (c *WaitForAttachCommand) Synopsis() string

Jump to

Keyboard shortcuts

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