cloud_init

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AptSource

type AptSource struct {
	Source string `yaml:"source"`
	Keyid  string `yaml:"keyid"`
}

type CloudConfig

type CloudConfig struct {
	Timezone          string   `yaml:"timezone"`
	SSHDeletekeys     bool     `yaml:"ssh_deletekeys"`
	SSHAuthorizedKeys []string `yaml:"ssh_authorized_keys"`
	Apt               struct {
		Sources map[string]AptSource `yaml:"sources"`
	} `yaml:"apt"`
	WriteFiles     []WriteFile `yaml:"write_files"`
	PackageUpgrade bool        `yaml:"package_upgrade"`
	Packages       []string    `yaml:"packages"`
	Runcmd         [][]string  `yaml:"runcmd"`
}

func (*CloudConfig) MergeWith

func (c *CloudConfig) MergeWith(otherConfig *CloudConfig)

type WriteFile

type WriteFile struct {
	Path        string `yaml:"path"`
	Content     string `yaml:"content"`
	Owner       string `yaml:"owner"`
	Permissions string `yaml:"permissions"`
	Encoding    string `yaml:"encoding,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL