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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.