Documentation ¶
Index ¶
- 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
- type DNS
- type DataSource
- type Dependency
- type Device
- type Directory
- type Download
- type Expand
- type File
- type Git
- type Layout
- type Loader
- type Modifier
- type Partition
- type Stage
- type Systemctl
- type User
- type YipConfig
- type YipEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DotNotationModifier ¶
DotNotationModifier read a byte sequence in dot notation and returns a byte sequence in yaml e.g. foo.bar=boo
Types ¶
type DataSource ¶
type Dependency ¶
type Dependency struct {
Name string `yaml:"name,omitempty"`
}
type Stage ¶
type Stage struct { Commands []string `yaml:"commands,omitempty"` Files []File `yaml:"files,omitempty"` Downloads []Download `yaml:"downloads,omitempty"` Directories []Directory `yaml:"directories,omitempty"` If string `yaml:"if,omitempty"` EnsureEntities []YipEntity `yaml:"ensure_entities,omitempty"` DeleteEntities []YipEntity `yaml:"delete_entities,omitempty"` Dns DNS `yaml:"dns,omitempty"` Hostname string `yaml:"hostname,omitempty"` Name string `yaml:"name,omitempty"` Sysctl map[string]string `yaml:"sysctl,omitempty"` SSHKeys map[string][]string `yaml:"authorized_keys,omitempty"` Node string `yaml:"node,omitempty"` Users map[string]User `yaml:"users,omitempty"` Modules []string `yaml:"modules,omitempty"` Systemctl Systemctl `yaml:"systemctl,omitempty"` Environment map[string]string `yaml:"environment,omitempty"` EnvironmentFile string `yaml:"environment_file,omitempty"` After []Dependency `yaml:"after,omitempty"` DataSources DataSource `yaml:"datasource,omitempty"` Layout Layout `yaml:"layout,omitempty"` SystemdFirstBoot map[string]string `yaml:"systemd_firstboot,omitempty"` TimeSyncd map[string]string `yaml:"timesyncd,omitempty"` Git Git `yaml:"git,omitempty"` }
type User ¶
type User struct { Name string `yaml:"name,omitempty"` PasswordHash string `yaml:"passwd,omitempty"` SSHAuthorizedKeys []string `yaml:"ssh_authorized_keys,omitempty"` GECOS string `yaml:"gecos,omitempty"` Homedir string `yaml:"homedir,omitempty"` NoCreateHome bool `yaml:"no_create_home,omitempty"` PrimaryGroup string `yaml:"primary_group,omitempty"` Groups []string `yaml:"groups,omitempty"` NoUserGroup bool `yaml:"no_user_group,omitempty"` System bool `yaml:"system,omitempty"` NoLogInit bool `yaml:"no_log_init,omitempty"` Shell string `yaml:"shell,omitempty"` LockPasswd bool `yaml:"lock_passwd,omitempty"` UID string `yaml:"uid,omitempty"` }
Click to show internal directories.
Click to hide internal directories.