test

package
v0.48.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 10 Imported by: 39

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 HasDocker added in v0.46.0

func HasDocker() bool

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