Documentation
¶
Index ¶
- func Attach(ao *attachOptions) error
- func Create(co *createOptions) error
- func Exec(eo *execOptions) error
- func Images(io *imagesOptions) error
- func ImportImage(source string) (*api.Image, error)
- func ImportKernel(source string) (*api.Kernel, error)
- func Inspect(io *inspectOptions) error
- func Kernels(ko *kernelsOptions) error
- func Logs(lo *logsOptions) error
- func NewAttachOptions(vmMatch string) (ao *attachOptions, err error)
- func NewImagesOptions() (io *imagesOptions, err error)
- func NewKernelsOptions() (ko *kernelsOptions, err error)
- func NewLogsOptions(vmMatch string) (lo *logsOptions, err error)
- func Ps(po *psOptions) error
- func Rm(ro *rmOptions) error
- func Rmi(ro *rmiOptions) error
- func Rmk(ro *rmkOptions) error
- func Run(ro *runOptions) error
- func SSH(so *sshOptions) error
- func Start(so *startOptions) error
- func Stop(so *stopOptions) error
- type CreateFlags
- type ExecFlags
- type InspectFlags
- type PsFlags
- type RmFlags
- type RmiFlags
- type RmkFlags
- type RunFlags
- type SSHFlags
- type StartFlags
- type StopFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAttachOptions ¶ added in v0.3.0
func NewImagesOptions ¶ added in v0.3.0
func NewImagesOptions() (io *imagesOptions, err error)
func NewKernelsOptions ¶ added in v0.3.0
func NewKernelsOptions() (ko *kernelsOptions, err error)
func NewLogsOptions ¶ added in v0.3.0
Types ¶
type CreateFlags ¶ added in v0.3.0
type CreateFlags struct { PortMappings []string CopyFiles []string // This is a placeholder value here for now. // If it was set using flags, it will be copied over to // the API type. TODO: When we later have internal types // this can go away SSH api.SSH ConfigFile string VM *api.VM }
func NewCreateFlags ¶ added in v0.4.0
func NewCreateFlags() *CreateFlags
func (*CreateFlags) NewCreateOptions ¶ added in v0.3.0
func (cf *CreateFlags) NewCreateOptions(args []string) (*createOptions, error)
type InspectFlags ¶ added in v0.4.0
type InspectFlags struct {
OutputFormat string
}
func (*InspectFlags) NewInspectOptions ¶ added in v0.4.0
func (i *InspectFlags) NewInspectOptions(k, objectMatch string) (*inspectOptions, error)
type PsFlags ¶ added in v0.3.0
type PsFlags struct {
All bool
}
func (*PsFlags) NewPsOptions ¶ added in v0.3.0
type RmFlags ¶ added in v0.3.0
type RmFlags struct {
Force bool
}
func (*RmFlags) NewRmOptions ¶ added in v0.3.0
type RmiFlags ¶ added in v0.3.0
type RmiFlags struct {
Force bool
}
func (*RmiFlags) NewRmiOptions ¶ added in v0.3.0
type RmkFlags ¶ added in v0.3.0
type RmkFlags struct {
Force bool
}
func (*RmkFlags) NewRmkOptions ¶ added in v0.3.0
type RunFlags ¶ added in v0.3.0
type RunFlags struct { *CreateFlags *StartFlags }
func (*RunFlags) NewRunOptions ¶ added in v0.3.0
type SSHFlags ¶ added in v0.3.0
func (*SSHFlags) NewSSHOptions ¶ added in v0.3.0
type StartFlags ¶ added in v0.3.0
func (*StartFlags) NewStartOptions ¶ added in v0.3.0
func (sf *StartFlags) NewStartOptions(vmMatch string) (*startOptions, error)
Click to show internal directories.
Click to hide internal directories.