operatortest

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigUnmarshalTest

type ConfigUnmarshalTest struct {
	Name      string
	Expect    interface{}
	ExpectErr bool
}

ConfigUnmarshalTest is used for testing golden configs

func (ConfigUnmarshalTest) Run

func (c ConfigUnmarshalTest) Run(t *testing.T, config interface{})

Run Unmarshalls yaml files and compares them against the expected.

Jump to

Keyboard shortcuts

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