Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudInitUserData ¶
func CloudInitUserData( instanceConfig *instancecfg.InstanceConfig, networkConfig *container.NetworkConfig, ) ([]byte, error)
func WriteCloudInitFile ¶
WriteCloudInitFile writes the data out to a cloud-init file in the directory specified, and returns the filename.
func WriteUserData ¶
func WriteUserData( instanceConfig *instancecfg.InstanceConfig, networkConfig *container.NetworkConfig, directory string, ) (string, error)
WriteUserData generates the cloud-init user-data using the specified machine and network config for a container, and writes the serialized form out to a cloud-init file in the directory specified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.