run

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 Ps

func Ps(po *PsOptions) error

func Rm

func Rm(ro *RmOptions) 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

func Version

func Version(out io.Writer, cmd *cobra.Command) error

Version provides the version information of kubeadm in format depending on arguments specified in cobra.Command.

Types

type AttachOptions

type AttachOptions struct {
	VM           *vmmd.VMMetadata
	CheckRunning bool
}

type BuildOptions

type BuildOptions struct {
	Source     string
	Name       string
	KernelName string
	// contains filtered or unexported fields
}

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 ImportImageOptions struct {
	Source     string
	Name       string
	KernelName string
}

type ImportKernelOptions

type ImportKernelOptions struct {
	Source string
	Name   string
}

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
}

type VersionData

type VersionData struct {
	Ignite      version.Info `json:"igniteVersion"`
	Firecracker version.Info `json:"firecrackerVersion"`
}

VersionData provides the version information of kubeadm.

Jump to

Keyboard shortcuts

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