Versions in this module Expand all Collapse all v0 v0.2.0 Sep 16, 2015 Changes in this version + func ToParts(p string) []string + type Element struct + Object mo.Reference + Path string + func ToElement(r mo.Reference, prefix string) Element + type Lister struct + All bool + Collector *property.Collector + Prefix string + Reference types.ManagedObjectReference + func (l Lister) List(ctx context.Context) ([]Element, error) + func (l Lister) ListComputeResource(ctx context.Context) ([]Element, error) + func (l Lister) ListDatacenter(ctx context.Context) ([]Element, error) + func (l Lister) ListFolder(ctx context.Context) ([]Element, error) + func (l Lister) ListResourcePool(ctx context.Context) ([]Element, error) + type Recurser struct + All bool + Collector *property.Collector + TraverseLeafs bool + func (r Recurser) Recurse(ctx context.Context, root Element, parts []string) ([]Element, error)