cloudinit

package
v0.9.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefaultAuthfileLimit   = 12288 // TODO: use a whole userdata limit mechanism instead of limiting authfile
	DefaultAAKBCParamsPath = "/etc/attestation-agent/kbc-params.json"
)

Variables

This section is empty.

Functions

func AuthJSONToResourcesJSON

func AuthJSONToResourcesJSON(text string) string

Types

type CloudConfig

type CloudConfig struct {
	WriteFiles []WriteFile `yaml:"write_files"`
}

func (*CloudConfig) Generate

func (config *CloudConfig) Generate() (string, error)

type CloudConfigGenerator

type CloudConfigGenerator interface {
	Generate() (string, error)
}

type WriteFile

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

https://cloudinit.readthedocs.io/en/latest/topics/modules.html#write-files

Jump to

Keyboard shortcuts

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