func MoveToFolderRelativeHostSystemID(client *govmomi.Client, ds *object.Datastore, hsID, relative string) error {
	hs, err := hostsystem.FromID(client, hsID)
	if err != nil {
		return err
	}
	f, err := folder.DatastoreFolderFromObject(client, hs, relative)
	if err != nil {
		return err
	}
	return folder.MoveObjectTo(ds.Reference(), f)
}
func MoveToFolderRelativeHostSystemID(client *govmomi.Client, ds *object.Datastore, hsID, relative string) error {
	hs, err := hostsystem.FromID(client, hsID)
	if err != nil {
		return err
	}
	f, err := folder.DatastoreFolderFromObject(client, hs, relative)
	if err != nil {
		return err
	}
	return folder.MoveObjectTo(ds.Reference(), f)
}
func MoveToFolderRelativeHostSystemID ( client * govmomi . Client , ds * object . Datastore , hsID , relative string ) error { hs , err := hostsystem . FromID ( client , hsID ) if err != nil { return err } f , err := folder . DatastoreFolderFromObject ( client , hs , relative ) if err != nil { return err } return folder . MoveObjectTo ( ds . Reference ( ) , f ) }
// MoveToFolderRelativeHostSystemID is a complex method that moves a
// datastore to a given datastore path, similar to MoveToFolder,
// except the path is relative to a HostSystem supplied by ID instead of the
// datastore.
MoveToFolderRelativeHostSystemID is a complex method that moves a datastore to a given datastore path similar to MoveToFolder except the path is relative to a HostSystem supplied by ID instead of the datastore .