examples

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 11 Imported by: 88

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context) (*govmomi.Client, error)

NewClient creates a govmomi.Client for use in the examples

func Run added in v0.21.0

func Run(f func(context.Context, *vim25.Client) error)

Run calls f with Client create from the -url flag if provided, otherwise runs the example against vcsim.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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