func HostFolderFromObject(client *govmomi.Client, obj interface{}, relative string) (*object.Folder, error) {
	folder, err := folderFromObject(client, obj, RootPathParticleHost, relative)
	if err != nil {
		return nil, err
	}

	return validateHostFolder(folder)
}
func HostFolderFromObject(client *govmomi.Client, obj interface{}, relative string) (*object.Folder, error) {
	folder, err := folderFromObject(client, obj, RootPathParticleHost, relative)
	if err != nil {
		return nil, err
	}

	return validateHostFolder(folder)
}
func HostFolderFromObject ( client * govmomi . Client , obj interface { } , relative string ) ( * object . Folder , error ) { folder , err := folderFromObject ( client , obj , RootPathParticleHost , relative ) if err != nil { return nil , err } return validateHostFolder ( folder ) }
// HostFolderFromObject returns an *object.Folder from a given object, and
// relative host folder path. If no such folder is found, or if it is not a
// host folder, an appropriate error will be returned.
HostFolderFromObject returns an * object . Folder from a given object and relative host folder path . If no such folder is found or if it is not a host folder an appropriate error will be returned .