Versions in this module Expand all Collapse all v0 v0.2.0 Sep 16, 2015 Changes in this version + type DefaultMultipleFoundError struct + func (e DefaultMultipleFoundError) Error() string + type DefaultNotFoundError struct + func (e *DefaultNotFoundError) Error() string + type Finder struct + func NewFinder(client *vim25.Client, all bool) *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) 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) 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) 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) 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) 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) + type MultipleFoundError struct + func (e *MultipleFoundError) Error() string + type NotFoundError struct + func (e *NotFoundError) Error() string