test

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package test contains functions that implement common functionality between tests. The code (non-test) in this package intentionally does not take any dependendies outside the vim25 tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthenticatedClient

func NewAuthenticatedClient(t *testing.T) *vim25.Client

NewAuthenticatedClient creates a new vim25.Client, authenticates the user specified in the test URL, and returns it.

func URL

func URL() *url.URL

URL parses the GOVMOMI_TEST_URL environment variable if set.

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