Versions in this module Expand all Collapse all v1 v1.9.6 Oct 1, 2024 v1.9.5 Sep 30, 2024 v1.9.4 Sep 30, 2024 v1.9.3 Sep 5, 2024 v1.9.2 Jul 8, 2024 v1.6.2 Jul 3, 2024 v1.4.12 May 8, 2024 v1.4.11 Mar 11, 2024 v1.4.10 Jan 31, 2024 v1.4.9 Jan 31, 2024 v1.4.8 Jan 24, 2024 v1.4.7 Jan 24, 2024 Changes in this version + func DotNotationModifier(s []byte) ([]byte, error) + func FromFile(s string, fs vfs.FS, m Modifier) ([]byte, error) + func FromUrl(s string, fs vfs.FS, m Modifier) ([]byte, error) + type Auth struct + Insecure bool + Password string + PrivateKey string + PublicKey string + Username string + type DNS struct + DnsOptions []string + DnsSearch []string + Nameservers []string + Path string + type DataSource struct + Path string + Providers []string + type Dependency struct + Name string + type Device struct + Label string + Path string + type Directory struct + Group int + Owner int + Path string + Permissions uint32 + type Download struct + Group int + Owner int + OwnerString string + Path string + Permissions uint32 + Timeout int + URL string + type Expand struct + Size uint + type File struct + Content string + Encoding string + Group int + Owner int + OwnerString string + Path string + Permissions uint32 + type Git struct + Auth Auth + Branch string + BranchOnly bool + Path string + URL string + type Layout struct + Device *Device + Expand *Expand + Parts []Partition + type Loader func(s string, fs vfs.FS, m Modifier) ([]byte, error) + type Modifier func(s []byte) ([]byte, error) + type Partition struct + FSLabel string + FileSystem string + PLabel string + Size uint + type Stage struct + After []Dependency + Commands []string + DataSources DataSource + DeleteEntities []YipEntity + Directories []Directory + Dns DNS + Downloads []Download + EnsureEntities []YipEntity + Environment map[string]string + EnvironmentFile string + Files []File + Git Git + Hostname string + If string + Layout Layout + Modules []string + Name string + Node string + SSHKeys map[string][]string + Sysctl map[string]string + Systemctl Systemctl + SystemdFirstBoot map[string]string + TimeSyncd map[string]string + Users map[string]User + type Systemctl struct + Disable []string + Enable []string + Mask []string + Start []string + type User struct + GECOS string + Groups []string + Homedir string + LockPasswd bool + Name string + NoCreateHome bool + NoLogInit bool + NoUserGroup bool + PasswordHash string + PrimaryGroup string + SSHAuthorizedKeys []string + Shell string + System bool + UID string + func (u User) Exists() bool + type YipConfig struct + Name string + Stages map[string][]Stage + func Load(s string, fs vfs.FS, l Loader, m Modifier) (*YipConfig, error) + type YipEntity struct + Entity string + Path string