vsClient

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 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 Client

type Client struct {
	Govmomi *govmomi.Client
	Rest    *rest.Client
}

VsClient is a client for vSphere.

func New

func New(ctx context.Context, u url.URL, insecure bool) (*Client, error)

func (*Client) Logout

func (client *Client) Logout(ctx context.Context) error

func (*Client) MoTag

func (client *Client) MoTag(ctx context.Context, vm types.ManagedObjectReference, tagID string) error

Tag adds an existing tag to a VirtualMachine.

Jump to

Keyboard shortcuts

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