list

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

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