operatortest

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 7 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

type ConfigUnmarshalTests

type ConfigUnmarshalTests struct {
	DefaultConfig operator.Builder
	TestsFile     string
	Tests         []ConfigUnmarshalTest
}

ConfigUnmarshalTest is used for testing golden configs

func (ConfigUnmarshalTests) Run

func (c ConfigUnmarshalTests) Run(t *testing.T)

Run Unmarshals 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