history

package
v0.0.0-...-f282198 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

func NewCollector

func NewCollector(c *vim25.Client, ref types.ManagedObjectReference) *Collector

func (Collector) Client

func (c Collector) Client() *vim25.Client

Client returns the vim25 client used by this collector

func (Collector) Destroy

func (c Collector) Destroy(ctx context.Context) error

func (Collector) Properties

func (c Collector) Properties(ctx context.Context, r types.ManagedObjectReference, ps []string, dst interface{}) error

Properties wraps property.DefaultCollector().RetrieveOne() and returns properties for the specified managed object reference

func (Collector) Reference

func (c Collector) Reference() types.ManagedObjectReference

Reference returns the managed object reference of this collector

func (Collector) Reset

func (c Collector) Reset(ctx context.Context) error

func (Collector) Rewind

func (c Collector) Rewind(ctx context.Context) error

func (Collector) SetPageSize

func (c Collector) SetPageSize(ctx context.Context, maxCount int32) error

Jump to

Keyboard shortcuts

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