Documentation ¶
Overview ¶
Package renderers implements a way to encode the userdata depending on the OS and the provider. It currently holds an interface and common functions, while the implementations live in the particular providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderYAML ¶
func RenderYAML(cfg cloudinit.RenderConfig, ds ...Decorator) ([]byte, error)
RenderYAML renders the given cloud-config as YAML, and then passes the YAML through the given decorators.
Types ¶
type ProviderRenderer ¶
ProviderRenderer defines a method to encode userdata depending on the OS and the provider. In the future this might support another method for rendering the userdata differently(bash vs yaml) since some providers might not ship cloudinit on every OS
Click to show internal directories.
Click to hide internal directories.