# Functions
DatastoreFolderFromObject returns an *object.Folder from a given object, and relative datastore folder path.
FindType returns a proper VSphereFolderType for a folder object by checking its child type.
FromAbsolutePath returns an *object.Folder from a given absolute path.
FromID locates a Folder by its managed object reference ID.
FromPath takes a relative folder path, an object type, and an optional supplied datacenter, and returns the respective *object.Folder if it exists.
HasChildren checks to see if a folder has any child items and returns true if that is the case.
HostFolderFromObject returns an *object.Folder from a given object, and relative host folder path.
No description provided by the author
MoveObjectTo moves a object by reference into a folder.
NormalizePath is a SchemaStateFunc that normalizes a folder path.
ParentFromPath takes a relative object path (usually a folder), an object type, and an optional supplied datacenter, and returns the parent *object.Folder if it exists.
PathIsEmpty checks a folder path to see if it's "empty" (ie: would resolve to the root inventory path for a given type in a datacenter - "" or "/").
Properties is a convenience method that wraps fetching the Folder MO from its higher-level object.
VirtualMachineFolderFromObject returns an *object.Folder from a given object, and relative datastore folder path.
# Constants
RootPathParticleDatastore provides root path parsing functionality for datastore paths.
RootPathParticleHost provides root path parsing functionality for host and cluster paths.
RootPathParticleNetwork provides root path parsing functionality for network paths.
RootPathParticleVM provides root path parsing functionality for VM paths.
VSphereFolderTypeDatacenter is a special folder type - it does not get a root path particle generated for it as it is an integral part of the path generation process, but is defined so that it can be properly referenced and used in validation.
The following are constants for the 5 vSphere folder types - these are used to help determine base paths and also to validate folder types in the vsphere_folder resource.
The following are constants for the 5 vSphere folder types - these are used to help determine base paths and also to validate folder types in the vsphere_folder resource.
The following are constants for the 5 vSphere folder types - these are used to help determine base paths and also to validate folder types in the vsphere_folder resource.
The following are constants for the 5 vSphere folder types - these are used to help determine base paths and also to validate folder types in the vsphere_folder resource.
# Type aliases
RootPathParticle is the section of a vSphere inventory path that denotes a specific kind of inventory item.
VSphereFolderType is an enumeration type for vSphere folder types.