cloudinit

package
v0.7.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const NoCloudFile = "noCloud.iso"

Variables

This section is empty.

Functions

func GenerateLocalData

func GenerateLocalData(vmiName string, hostname string, namespace string, source *v1.CloudInitNoCloudSource) error

func GetCloudInitNoCloudSource added in v0.2.0

func GetCloudInitNoCloudSource(vmi *v1.VirtualMachineInstance) *v1.CloudInitNoCloudSource

func GetDomainBasePath

func GetDomainBasePath(domain string, namespace string) string

func ListVmWithLocalData

func ListVmWithLocalData() ([]*v1.VirtualMachineInstance, error)

Lists all vmis cloud-init has local data for

func RemoveLocalData

func RemoveLocalData(domain string, namespace string) error

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 SetLocalDataOwner

func SetLocalDataOwner(user string)

The unit test suite uses this function

func SetLocalDirectory

func SetLocalDirectory(dir string) error

Types

type IsoCreationFunc

type IsoCreationFunc func(isoOutFile string, inFiles []string) error

Jump to

Keyboard shortcuts

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