view

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerView added in v0.13.0

type ContainerView struct {
	object.Common
}

func NewContainerView added in v0.13.0

func NewContainerView(c *vim25.Client, ref types.ManagedObjectReference) *ContainerView

func (ContainerView) Destroy added in v0.13.0

func (v ContainerView) Destroy(ctx context.Context) error

func (ContainerView) Find added in v0.14.0

Find returns object references for entities of type kind, matching the given filter.

func (ContainerView) Retrieve added in v0.14.0

func (v ContainerView) Retrieve(ctx context.Context, kind []string, ps []string, dst interface{}) error

Retrieve populates dst as property.Collector.Retrieve does, for all entities in the view of types specified by kind.

func (ContainerView) RetrieveWithFilter added in v0.14.0

func (v ContainerView) RetrieveWithFilter(ctx context.Context, kind []string, ps []string, dst interface{}, filter property.Filter) error

RetrieveWithFilter populates dst as Retrieve does, but only for entities matching the given filter.

type ListView

type ListView struct {
	object.Common
}

func NewListView

func NewListView(c *vim25.Client, ref types.ManagedObjectReference) *ListView

func (ListView) Add added in v0.13.0

func (ListView) Destroy added in v0.13.0

func (v ListView) Destroy(ctx context.Context) error

func (ListView) Remove added in v0.13.0

func (v ListView) Remove(ctx context.Context, refs []types.ManagedObjectReference) error

func (ListView) Reset added in v0.13.0

type Manager

type Manager struct {
	object.Common
}

func NewManager

func NewManager(c *vim25.Client) *Manager

func (Manager) CreateContainerView added in v0.13.0

func (m Manager) CreateContainerView(ctx context.Context, container types.ManagedObjectReference, managedObjectTypes []string, recursive bool) (*ContainerView, error)

func (Manager) CreateListView

func (m Manager) CreateListView(ctx context.Context, objects []types.ManagedObjectReference) (*ListView, error)

Jump to

Keyboard shortcuts

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