Documentation ¶
Index ¶
- Constants
- func GenerateLocalData(vmiName string, hostname string, namespace string, ...) error
- func GetCloudInitNoCloudSource(vmi *v1.VirtualMachineInstance) *v1.CloudInitNoCloudSource
- func GetDomainBasePath(domain string, namespace string) string
- func ListVmWithLocalData() ([]*v1.VirtualMachineInstance, 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 GetCloudInitNoCloudSource ¶ added in v0.2.0
func GetCloudInitNoCloudSource(vmi *v1.VirtualMachineInstance) *v1.CloudInitNoCloudSource
func GetDomainBasePath ¶
func ListVmWithLocalData ¶
func ListVmWithLocalData() ([]*v1.VirtualMachineInstance, error)
Lists all vmis 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.