cloudinit

package
v0.0.0-...-dacaf44 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package cloudinit contains types related to cloudinit(https://cloudinit.readthedocs.io/en/latest/index.html) to be used by flintlock and its clients.

In the struct definitions we have tried to remove usage of pointers and instead rely on the behavior of json marshalling and `omitempty`. Its slightly tricky with boolean values so for these we use *bool vs bool. The reason is that the default value for some cloudinit values is true which isn't the same as the default for bool.

Index

Constants

View Source
const (
	// InstanceDataKey is the metdata key name to use for instance data.
	InstanceDataKey = "meta-data"
	// UserdataKey is the metadata key name to use for user data.
	UserdataKey = "user-data"
	// VendorDataKey is the metadata key name to use for vendor data.
	VendorDataKey = "vendor-data"
	// NetworkConfigDataKey is the metadata key name for the network config.
	NetworkConfigDataKey = "network-config"
	// VolumeName is the name of a volume that contains cloud-init data.
	VolumeName = "cidata"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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