Documentation ¶
Index ¶
- Constants
- func GenerateLocalData(vmName string, namespace string, source *v1.CloudInitNoCloudSource) error
- func GetCloudInitNoCloudSource(vm *v1.VirtualMachine) *v1.CloudInitNoCloudSource
- func GetDomainBasePath(domain string, namespace string) string
- func ListVmWithLocalData() ([]*v1.VirtualMachine, error)
- func RemoveLocalData(domain string, namespace string) error
- func ResolveSecrets(source *v1.CloudInitNoCloudSource, namespace string, ...) error
- func SetIsoCreationFunction(isoFunc IsoCreationFunc)
- func SetLocalDataOwner(user string)
- func SetLocalDirectory(dir string) error
- type IsoCreationFunc
Constants ¶
View Source
const NoCloudFile = "noCloud.iso"
Variables ¶
This section is empty.
Functions ¶
func GenerateLocalData ¶
func GenerateLocalData(vmName string, namespace string, source *v1.CloudInitNoCloudSource) error
func GetCloudInitNoCloudSource ¶
func GetCloudInitNoCloudSource(vm *v1.VirtualMachine) *v1.CloudInitNoCloudSource
func GetDomainBasePath ¶
func ListVmWithLocalData ¶
func ListVmWithLocalData() ([]*v1.VirtualMachine, error)
Lists all vms cloud-init has local data for
func RemoveLocalData ¶
func ResolveSecrets ¶
func ResolveSecrets(source *v1.CloudInitNoCloudSource, namespace string, clientset kubecli.KubevirtClient) error
func SetIsoCreationFunction ¶
func SetIsoCreationFunction(isoFunc IsoCreationFunc)
The unit test suite uses this function
func SetLocalDirectory ¶
Types ¶
type IsoCreationFunc ¶
Click to show internal directories.
Click to hide internal directories.