list

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 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

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

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

func (Lister) ListResourcePool

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

func (Lister) ListVirtualApp

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