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.
Click to show internal directories.
Click to hide internal directories.