Versions in this module Expand all Collapse all v0 v0.17.0 Apr 30, 2024 v0.16.0 Nov 9, 2023 Changes in this version + const Enable + const Mask + const NoState + type Conf struct + func (c *Conf) AddAuthorizedKeys(user string, keys []string) + func (c *Conf) AddAutoLogin() + func (c *Conf) AddAutoResize() + func (c *Conf) AddConfigSource(source string) + func (c *Conf) AddFile(path, contents string, mode int) + func (c *Conf) AddSystemdUnit(name, contents string, state systemdUnitState) + func (c *Conf) AddSystemdUnitDropin(service, name, contents string) + func (c *Conf) Bytes() []byte + func (c *Conf) CopyKeys(keys []*agent.Key) + func (c *Conf) DisableAutomaticUpdates() + func (c *Conf) IsEmpty() bool + func (c *Conf) IsIgnition() bool + func (c *Conf) MaybeCompress() (string, error) + func (c *Conf) MergeV3(newConfig v3types.Config) + func (c *Conf) MergeV31(newConfig v31types.Config) + func (c *Conf) MergeV32(newConfig v32types.Config) + func (c *Conf) MergeV33(newConfig v33types.Config) + func (c *Conf) MergeV34(newConfig v34types.Config) + func (c *Conf) MergeV35exp(newConfig v35exptypes.Config) + func (c *Conf) MountHost(dest string, readonly bool) + func (c *Conf) String() string + func (c *Conf) ValidConfig() bool + func (c *Conf) WriteFile(name string) error + type UserData struct + func Butane(data string) *UserData + func Empty() *UserData + func EmptyIgnition() *UserData + func Ignition(data string) *UserData + func MergeAllConfigs(confObjs []*Conf) (*UserData, error) + func Unknown(data string) *UserData + func (u *UserData) AddKey(key agent.Key) *UserData + func (u *UserData) Contains(substr string) bool + func (u *UserData) Render(warnings WarningsAction) (*Conf, error) + func (u *UserData) Subst(old, new string) *UserData + type WarningsAction int + const FailWarnings + const IgnoreWarnings + const ReportWarnings