operatortest

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 8 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