find

package
v0.1.1-0...-8595794 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

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 NewFinder

func NewFinder(client *vim25.Client, all bool) *Finder

func (*Finder) ClusterComputeResource

func (f *Finder) ClusterComputeResource(ctx context.Context, path string) (*object.ClusterComputeResource, error)

func (*Finder) ClusterComputeResourceList

func (f *Finder) ClusterComputeResourceList(ctx context.Context, path string) ([]*object.ClusterComputeResource, error)

func (*Finder) ComputeResource

func (f *Finder) ComputeResource(ctx context.Context, path string) (*object.ComputeResource, error)

func (*Finder) ComputeResourceList

func (f *Finder) ComputeResourceList(ctx context.Context, path string) ([]*object.ComputeResource, error)

func (*Finder) Datacenter

func (f *Finder) Datacenter(ctx context.Context, path string) (*object.Datacenter, error)

func (*Finder) DatacenterList

func (f *Finder) DatacenterList(ctx context.Context, path string) ([]*object.Datacenter, error)

func (*Finder) Datastore

func (f *Finder) Datastore(ctx context.Context, path string) (*object.Datastore, error)

func (*Finder) DatastoreList

func (f *Finder) DatastoreList(ctx context.Context, path string) ([]*object.Datastore, error)

func (*Finder) DefaultComputeResource

func (f *Finder) DefaultComputeResource(ctx context.Context) (*object.ComputeResource, error)

func (*Finder) DefaultDatacenter

func (f *Finder) DefaultDatacenter(ctx context.Context) (*object.Datacenter, error)

func (*Finder) DefaultDatastore

func (f *Finder) DefaultDatastore(ctx context.Context) (*object.Datastore, error)

func (*Finder) DefaultHostSystem

func (f *Finder) DefaultHostSystem(ctx context.Context) (*object.HostSystem, error)

func (*Finder) DefaultNetwork

func (f *Finder) DefaultNetwork(ctx context.Context) (object.NetworkReference, error)

func (*Finder) DefaultResourcePool

func (f *Finder) DefaultResourcePool(ctx context.Context) (*object.ResourcePool, error)

func (*Finder) HostSystem

func (f *Finder) HostSystem(ctx context.Context, path string) (*object.HostSystem, error)

func (*Finder) HostSystemList

func (f *Finder) HostSystemList(ctx context.Context, path string) ([]*object.HostSystem, error)

func (*Finder) ManagedObjectList

func (f *Finder) ManagedObjectList(ctx context.Context, path string) ([]list.Element, error)

func (*Finder) Network

func (f *Finder) Network(ctx context.Context, path string) (object.NetworkReference, error)

func (*Finder) NetworkList

func (f *Finder) NetworkList(ctx context.Context, path string) ([]object.NetworkReference, error)

func (*Finder) ResourcePool

func (f *Finder) ResourcePool(ctx context.Context, path string) (*object.ResourcePool, error)

func (*Finder) ResourcePoolList

func (f *Finder) ResourcePoolList(ctx context.Context, path string) ([]*object.ResourcePool, error)

func (*Finder) SetDatacenter

func (f *Finder) SetDatacenter(dc *object.Datacenter) *Finder

func (*Finder) VirtualMachine

func (f *Finder) VirtualMachine(ctx context.Context, path string) (*object.VirtualMachine, error)

func (*Finder) VirtualMachineList

func (f *Finder) VirtualMachineList(ctx context.Context, path string) ([]*object.VirtualMachine, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL