acceptance

package
v0.0.0-...-e94153c Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() (*jerakia.Client, error)

NewClient returns a new Jerakia client for acceptance testing.

Types

type AcceptanceTestChoices

type AcceptanceTestChoices struct {
	// URL is the URL to the Jerakia server.
	URL string

	// Token is a Jerakia auth token.
	Token string
}

AcceptanceTestChoices contains information required for acceptance tests.

func AcceptanceTestChoicesFromEnv

func AcceptanceTestChoicesFromEnv() (*AcceptanceTestChoices, error)

AcceptanceTestChoicesFromEnv populates AcceptanceTestChoices from environment variables.

Jump to

Keyboard shortcuts

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