Documentation ¶
Index ¶
- func ToParts(p string) []string
- type Element
- type Lister
- 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) ListHostSystem(ctx context.Context) ([]Element, error)
- func (l Lister) ListResourcePool(ctx context.Context) ([]Element, error)
- func (l Lister) ListVirtualApp(ctx context.Context) ([]Element, error)
- type Recurser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Lister ¶
type Lister struct { Collector *property.Collector Reference types.ManagedObjectReference Prefix string All bool }
func (Lister) ListComputeResource ¶
func (Lister) ListDatacenter ¶
func (Lister) ListHostSystem ¶
func (Lister) ListResourcePool ¶
type Recurser ¶
type Recurser struct { Collector *property.Collector // All configures the recurses to fetch complete objects for leaf nodes. All bool // TraverseLeafs configures the Recurser to traverse traversable leaf nodes. // This is typically set to true when used from the ls command, where listing // a folder means listing its contents. This is typically set to false for // commands that take managed entities that are not folders as input. TraverseLeafs bool }
Click to show internal directories.
Click to hide internal directories.