testconfig

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testconfig reads config strings from test-config.sh or the environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name string) (string, error)

Get returns the test config value, an empty string if not set, or an error.

func GetNodeLabelOrFail

func GetNodeLabelOrFail() (name, value string)

GetNodeLabelOrFail is a convenience function which returns TEST_PMEM_NODE_LABEL as string pair.

func GetOrFail

func GetOrFail(name string) string

GetOrFail will panic when Get returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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