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.
Click to show internal directories.
Click to hide internal directories.