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 CreateOptions struct { Image *imgmd.ImageMetadata Kernel *kernmd.KernelMetadata Name string CPUs int64 Memory int64 // contains filtered or unexported fields }
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 { VM *vmmd.VMMetadata Force bool }
type RmiOptions ¶
type RmiOptions struct { Image *imgmd.ImageMetadata VMs []*vmmd.VMMetadata }
type RmkOptions ¶
type RmkOptions struct { Kernel *kernmd.KernelMetadata VMs []*vmmd.VMMetadata }
type RunOptions ¶
type RunOptions struct { CreateOptions StartOptions }
type StartOptions ¶
type StartOptions struct { AttachOptions Interactive bool }
type StopOptions ¶
type StopOptions struct { VM *vmmd.VMMetadata Kill bool }
Click to show internal directories.
Click to hide internal directories.