Documentation ¶
Index ¶
- type DefaultMultipleFoundError
- type DefaultNotFoundError
- type Finder
- func (f *Finder) ClusterComputeResource(ctx context.Context, path string) (*object.ClusterComputeResource, error)
- func (f *Finder) ClusterComputeResourceList(ctx context.Context, path string) ([]*object.ClusterComputeResource, error)
- func (f *Finder) ComputeResource(ctx context.Context, path string) (*object.ComputeResource, error)
- func (f *Finder) ComputeResourceList(ctx context.Context, path string) ([]*object.ComputeResource, error)
- func (f *Finder) DVPGList(ctx context.Context, path string, recursive bool) ([]object.DistributedVirtualPortgroup, error)
- func (f *Finder) Datacenter(ctx context.Context, path string) (*object.Datacenter, error)
- func (f *Finder) DatacenterList(ctx context.Context, path string) ([]*object.Datacenter, error)
- func (f *Finder) Datastore(ctx context.Context, path string) (*object.Datastore, error)
- func (f *Finder) DatastoreList(ctx context.Context, path string) ([]*object.Datastore, error)
- func (f *Finder) DatastoreListRecursive(ctx context.Context, path string, recursive bool) ([]*object.Datastore, error)
- func (f *Finder) DefaultComputeResource(ctx context.Context) (*object.ComputeResource, error)
- func (f *Finder) DefaultDatacenter(ctx context.Context) (*object.Datacenter, error)
- func (f *Finder) DefaultDatastore(ctx context.Context) (*object.Datastore, error)
- func (f *Finder) DefaultHostSystem(ctx context.Context) (*object.HostSystem, error)
- func (f *Finder) DefaultNetwork(ctx context.Context) (object.NetworkReference, error)
- func (f *Finder) DefaultResourcePool(ctx context.Context) (*object.ResourcePool, error)
- func (f *Finder) HostSystem(ctx context.Context, path string) (*object.HostSystem, error)
- func (f *Finder) HostSystemList(ctx context.Context, path string) ([]*object.HostSystem, error)
- func (f *Finder) HostSystemListRecursive(ctx context.Context, path string, recursive bool) ([]*object.HostSystem, error)
- func (f *Finder) ManagedObjectList(ctx context.Context, path string) ([]list.Element, error)
- func (f *Finder) ManagedObjectListChildren(ctx context.Context, path string) ([]list.Element, error)
- func (f *Finder) Network(ctx context.Context, path string) (object.NetworkReference, error)
- func (f *Finder) NetworkList(ctx context.Context, path string) ([]object.NetworkReference, error)
- func (f *Finder) NetworksList(ctx context.Context, path string, recursive bool) ([]object.Network, error)
- func (f *Finder) ResourcePool(ctx context.Context, path string) (*object.ResourcePool, error)
- func (f *Finder) ResourcePoolList(ctx context.Context, path string) ([]*object.ResourcePool, error)
- func (f *Finder) SetDatacenter(dc *object.Datacenter) *Finder
- func (f *Finder) SwitchList(ctx context.Context, path string) ([]object.DistributedVirtualSwitch, error)
- func (f *Finder) VirtualApp(ctx context.Context, path string) (*object.VirtualApp, error)
- func (f *Finder) VirtualAppList(ctx context.Context, path string) ([]*object.VirtualApp, error)
- func (f *Finder) VirtualMachine(ctx context.Context, path string) (*object.VirtualMachine, error)
- func (f *Finder) VirtualMachineList(ctx context.Context, path string) ([]*object.VirtualMachine, error)
- func (f *Finder) VirtualMachineListRecursive(ctx context.Context, path string, recursive bool) ([]*object.VirtualMachine, error)
- type MultipleFoundError
- type NotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultMultipleFoundError ¶
type DefaultMultipleFoundError struct {
// contains filtered or unexported fields
}
func (DefaultMultipleFoundError) Error ¶
func (e DefaultMultipleFoundError) Error() string
type DefaultNotFoundError ¶
type DefaultNotFoundError struct {
// contains filtered or unexported fields
}
func (*DefaultNotFoundError) Error ¶
func (e *DefaultNotFoundError) Error() string
type Finder ¶
type Finder struct {
// contains filtered or unexported fields
}
func (*Finder) ClusterComputeResource ¶
func (*Finder) ClusterComputeResourceList ¶
func (*Finder) ComputeResource ¶
func (*Finder) ComputeResourceList ¶
func (*Finder) Datacenter ¶
func (*Finder) DatacenterList ¶
func (*Finder) DatastoreList ¶
func (*Finder) DatastoreListRecursive ¶
func (f *Finder) DatastoreListRecursive(ctx context.Context, path string, recursive bool) ([]*object.Datastore, error)
DatastoreListRecursive allows for recursive calls to DatastoreList
func (*Finder) DefaultComputeResource ¶
func (*Finder) DefaultDatacenter ¶
func (*Finder) DefaultDatastore ¶
func (*Finder) DefaultHostSystem ¶
func (*Finder) DefaultNetwork ¶
func (*Finder) DefaultResourcePool ¶
func (*Finder) HostSystem ¶
func (*Finder) HostSystemList ¶
func (*Finder) HostSystemListRecursive ¶
func (f *Finder) HostSystemListRecursive(ctx context.Context, path string, recursive bool) ([]*object.HostSystem, error)
HostSystemListRecursive allows for recursive calls of HostSystemList
func (*Finder) ManagedObjectList ¶
func (*Finder) ManagedObjectListChildren ¶
func (*Finder) NetworkList ¶
func (*Finder) NetworksList ¶
func (*Finder) ResourcePool ¶
func (*Finder) ResourcePoolList ¶
func (*Finder) SetDatacenter ¶
func (f *Finder) SetDatacenter(dc *object.Datacenter) *Finder
func (*Finder) SwitchList ¶
func (*Finder) VirtualApp ¶
func (*Finder) VirtualAppList ¶
func (*Finder) VirtualMachine ¶
func (*Finder) VirtualMachineList ¶
func (*Finder) VirtualMachineListRecursive ¶
func (f *Finder) VirtualMachineListRecursive(ctx context.Context, path string, recursive bool) ([]*object.VirtualMachine, error)
VirtualMachineListRecursive allows for recursively calls to VirtualMachineList
type MultipleFoundError ¶
type MultipleFoundError struct {
// contains filtered or unexported fields
}
func (*MultipleFoundError) Error ¶
func (e *MultipleFoundError) Error() string
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.