list

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToParts

func ToParts(p string) []string

Types

type Element

type Element struct {
	Path   string
	Object mo.Reference
}

func ToElement

func ToElement(r mo.Reference, prefix string) Element

func (Element) String added in v0.13.0

func (e Element) String() string

type Lister

type Lister struct {
	Collector *property.Collector
	Reference types.ManagedObjectReference
	Prefix    string
	All       bool
}

func (Lister) List

func (l Lister) List(ctx context.Context) ([]Element, error)

func (Lister) ListComputeResource

func (l Lister) ListComputeResource(ctx context.Context) ([]Element, error)

func (Lister) ListDatacenter

func (l Lister) ListDatacenter(ctx context.Context) ([]Element, error)

func (Lister) ListFolder

func (l Lister) ListFolder(ctx context.Context) ([]Element, error)

func (Lister) ListHostSystem added in v0.3.0

func (l Lister) ListHostSystem(ctx context.Context) ([]Element, error)

func (Lister) ListResourcePool

func (l Lister) ListResourcePool(ctx context.Context) ([]Element, error)

func (Lister) ListVirtualApp added in v0.3.0

func (l Lister) ListVirtualApp(ctx context.Context) ([]Element, error)

Jump to

Keyboard shortcuts

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