Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerTypeFromId ¶
func ContainerTypeFromId(machineId string) instance.ContainerType
ContainerTypeFromId returns the container type if machineId is a container id, or "" if machineId is not for a container.
func NestingLevel ¶
NestingLevel returns how many levels of nesting exist for a machine id.
func ParentId ¶
ParentId returns the id of the host machine if machineId a container id, or "" if machineId is not for a container.
func TopParentId ¶
TopParentId returns the id of the top level host machine for a container id.
Types ¶
type Config ¶
type Config struct { EnableOSRefreshUpdate bool EnableOSUpgrade bool ProviderType string SSLHostnameVerification bool LegacyProxy proxy.Settings JujuProxy proxy.Settings AptProxy proxy.Settings SnapProxy proxy.Settings SnapStoreAssertions string SnapStoreProxyID string SnapStoreProxyURL string AptMirror string CloudInitUserData map[string]interface{} ContainerInheritProperties string }
Config contains information from the model config that is needed for container cloud-init.
Click to show internal directories.
Click to hide internal directories.