Documentation
¶
Index ¶
- func Attach(ao *AttachOptions) error
- func Build(bo *BuildOptions) error
- func Container(co *ContainerOptions) error
- func Create(co *CreateOptions) error
- func Images(io *ImagesOptions) error
- func ImportImage(ao *ImportImageOptions) error
- func ImportKernel(ao *ImportKernelOptions) error
- func Kernels(ko *KernelsOptions) error
- func Logs(lo *LogsOptions) 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 Start(so *StartOptions) error
- func Stop(so *StopOptions) error
- func Version(out io.Writer, cmd *cobra.Command) error
- type AttachOptions
- type BuildOptions
- type ContainerOptions
- type CreateOptions
- type ImagesOptions
- type ImportImageOptions
- type ImportKernelOptions
- type KernelsOptions
- type LogsOptions
- type PsOptions
- type RmOptions
- type RmiOptions
- type RmkOptions
- type RunOptions
- type StartOptions
- type StopOptions
- type VersionData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Attach ¶
func Attach(ao *AttachOptions) error
func Build ¶
func Build(bo *BuildOptions) error
func Container ¶
func Container(co *ContainerOptions) error
func Create ¶
func Create(co *CreateOptions) error
func Images ¶
func Images(io *ImagesOptions) error
func ImportImage ¶
func ImportImage(ao *ImportImageOptions) error
func ImportKernel ¶
func ImportKernel(ao *ImportKernelOptions) error
func Kernels ¶
func Kernels(ko *KernelsOptions) error
func Logs ¶
func Logs(lo *LogsOptions) error
func Rmi ¶
func Rmi(ro *RmiOptions) error
func Rmk ¶
func Rmk(ro *RmkOptions) error
func Run ¶
func Run(ro *RunOptions) error
func Start ¶
func Start(so *StartOptions) error
func Stop ¶
func Stop(so *StopOptions) error
Types ¶
type AttachOptions ¶
type AttachOptions struct {
VM *vmmd.VMMetadata
CheckRunning bool
}
type BuildOptions ¶
type ContainerOptions ¶
type ContainerOptions struct {
VM *vmmd.VMMetadata
}
type CreateOptions ¶
type ImagesOptions ¶
type ImagesOptions struct {
Images []*imgmd.ImageMetadata
}
type ImportImageOptions ¶
type ImportKernelOptions ¶
type KernelsOptions ¶
type KernelsOptions struct {
Kernels []*kernmd.KernelMetadata
}
type LogsOptions ¶
type LogsOptions struct {
VM *vmmd.VMMetadata
}
type PsOptions ¶
type PsOptions struct {
VMs []*vmmd.VMMetadata
All bool
}
type RmOptions ¶
type RmOptions struct {
VMs []*vmmd.VMMetadata
Force bool
}
type RmiOptions ¶
type RmiOptions struct {
Images []*imgmd.ImageMetadata
VMs []*vmmd.VMMetadata
Force bool
}
type RmkOptions ¶
type RmkOptions struct {
Kernels []*kernmd.KernelMetadata
VMs []*vmmd.VMMetadata
Force bool
}
type RunOptions ¶
type RunOptions struct {
CreateOptions
StartOptions
}
type StartOptions ¶
type StartOptions struct {
AttachOptions
PortMappings []string
Interactive bool
Debug bool
}
type StopOptions ¶
type StopOptions struct {
VMs []*vmmd.VMMetadata
Kill bool
}
Click to show internal directories.
Click to hide internal directories.