cloudinit

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudInit

type CloudInit struct {
	Files   []File   `yaml:"write_files,omitempty" json:"write_files,omitempty"`
	RunCmds []string `yaml:"runcmd" json:"runcmd,omitempty"`
}

func (*CloudInit) AsBytes

func (c *CloudInit) AsBytes() ([]byte, error)

type File

type File struct {
	Path        string `yaml:"path" json:"path,omitempty"`
	Content     string `yaml:"content" json:"content,omitempty"`
	Permissions string `yaml:"permissions" json:"permissions,omitempty"`
}

func (File) PermissionsAsInt added in v0.7.0

func (f File) PermissionsAsInt() (int64, error)

Jump to

Keyboard shortcuts

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