Documentation ¶
Overview ¶
Package cloudinit defines cloud init adapter for kind nodes.
The Adapter supports a limited set of cloud init features, just what is necessary to test CPBPK; additionally, for sake of simplicity, the adapter is designed to work on existing kind node images.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
Cmd.
func Commands ¶
Commands converts a cloudconfig to a list of commands to run in sequence on the node.
func (*Cmd) UnmarshalJSON ¶
UnmarshalJSON a runcmd command It can be either a list or a string. If the item is a list, the head of the list is the command and the tail are the args. If the item is a string, the whole command will be wrapped in `/bin/sh -c`.
Click to show internal directories.
Click to hide internal directories.