Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct {
// contains filtered or unexported fields
}
Conf is a configuration for a CoreOS machine. It may be either a coreos-cloudconfig or an ignition configuration.
func New ¶
New parses userdata and returns a new Conf. It returns an error if the userdata can't be parsed as a coreos-cloudinit or ignition configuration.
func (*Conf) CopyKeys ¶
CopyKeys copies public keys from agent ag into the configuration to the appropriate configuration section for the core user.
func (*Conf) IsIgnition ¶ added in v0.3.0
IsIgnition returns true if the config is for Ignition.
Click to show internal directories.
Click to hide internal directories.