vm

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VM = "vm"

	NameFlag                   = "name"
	RunStrategyFlag            = "run-strategy"
	TerminationGracePeriodFlag = "termination-grace-period"

	MemoryFlag                = "memory"
	InstancetypeFlag          = "instancetype"
	InferInstancetypeFlag     = "infer-instancetype"
	InferInstancetypeFromFlag = "infer-instancetype-from"

	PreferenceFlag          = "preference"
	InferPreferenceFlag     = "infer-preference"
	InferPreferenceFromFlag = "infer-preference-from"

	ContainerdiskVolumeFlag = "volume-containerdisk"
	PvcVolumeFlag           = "volume-pvc"
	VolumeImportFlag        = "volume-import"
	SysprepVolumeFlag       = "volume-sysprep"

	UserFlag         = "user"
	PasswordFileFlag = "password-file"
	SSHKeyFlag       = "ssh-key"
	GAManageSSHFlag  = "ga-manage-ssh"
	AccessCredFlag   = "access-cred"

	CloudInitFlag            = "cloud-init"
	CloudInitUserDataFlag    = "cloud-init-user-data"
	CloudInitNetworkDataFlag = "cloud-init-network-data"

	// Deprecated flags
	DataSourceVolumeFlag = "volume-datasource"
	ClonePvcVolumeFlag   = "volume-clone-pvc"
	BlankVolumeFlag      = "volume-blank"

	SysprepDisk      = "sysprepdisk"
	SysprepConfigMap = "configMap"
	SysprepSecret    = "secret"

	CloudInitDisk         = "cloudinitdisk"
	CloudInitNoCloud      = "nocloud"
	CloudInitConfigDrive  = "configdrive"
	CloudInitNone         = "none"
	CloudInitConfigHeader = "#cloud-config"

	AccessCredTypeSSH      = "ssh"
	AccessCredTypePassword = "password"
	AccessCredMethodGA     = "ga"

	VolumeExistsErrorFmt          = "there is already a volume with name '%s'"
	InvalidInferenceVolumeError   = "inference of instancetype or preference works only with DataSources, DataVolumes or PersistentVolumeClaims"
	DVInvalidInferenceVolumeError = "" /* 153-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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