Documentation ¶
Overview ¶
This package offers userdata in a gzipped format to be used by different cloud providers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposeUserData ¶
func ComposeUserData(icfg *instancecfg.InstanceConfig, cloudcfg cloudinit.CloudConfig) ([]byte, error)
ComposeUserData fills out the provided cloudinit configuration structure so it is suitable for initialising a machine with the given configuration, and then renders it and returns it as a binary (gzipped) blob of user data.
If the provided cloudcfg is nil, a new one will be created internally.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.