find

package
v0.0.0-...-dbc992d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

type Finder struct {
	list.Recurser
	// contains filtered or unexported fields
}

func NewFinder

func NewFinder(c *govmomi.Client, all bool) *Finder

func (*Finder) Datacenter

func (f *Finder) Datacenter(path string) (*govmomi.Datacenter, error)

func (*Finder) DatacenterList

func (f *Finder) DatacenterList(path ...string) ([]*govmomi.Datacenter, error)

func (*Finder) Datastore

func (f *Finder) Datastore(path string) (*govmomi.Datastore, error)

func (*Finder) DatastoreList

func (f *Finder) DatastoreList(path ...string) ([]*govmomi.Datastore, error)

func (*Finder) DefaultDatacenter

func (f *Finder) DefaultDatacenter() (*govmomi.Datacenter, error)

func (*Finder) DefaultDatastore

func (f *Finder) DefaultDatastore() (*govmomi.Datastore, error)

func (*Finder) DefaultHostSystem

func (f *Finder) DefaultHostSystem() (*govmomi.HostSystem, error)

func (*Finder) DefaultNetwork

func (f *Finder) DefaultNetwork() (govmomi.NetworkReference, error)

func (*Finder) DefaultResourcePool

func (f *Finder) DefaultResourcePool() (*govmomi.ResourcePool, error)

func (*Finder) HostSystem

func (f *Finder) HostSystem(path string) (*govmomi.HostSystem, error)

func (*Finder) HostSystemList

func (f *Finder) HostSystemList(path ...string) ([]*govmomi.HostSystem, error)

func (*Finder) ManagedObjectList

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

func (*Finder) Network

func (f *Finder) Network(path string) (govmomi.NetworkReference, error)

func (*Finder) NetworkList

func (f *Finder) NetworkList(path ...string) ([]govmomi.NetworkReference, error)

func (*Finder) ResourcePool

func (f *Finder) ResourcePool(path string) (*govmomi.ResourcePool, error)

func (*Finder) ResourcePoolList

func (f *Finder) ResourcePoolList(path ...string) ([]*govmomi.ResourcePool, error)

func (*Finder) SetDatacenter

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

func (*Finder) VirtualMachine

func (f *Finder) VirtualMachine(path string) (*govmomi.VirtualMachine, error)

func (*Finder) VirtualMachineList

func (f *Finder) VirtualMachineList(path ...string) ([]*govmomi.VirtualMachine, error)

Jump to

Keyboard shortcuts

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