testing

package
v1.54.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creator

type Creator struct {
	Name               string
	Namespace          string
	ProviderSpecGetter ProviderSpecGetter
}

Creator is used to generate test resources.

func (Creator) CreateMachine

func (c Creator) CreateMachine(t *testing.T) *v1alpha1.Machine

type ProviderSpecGetter

type ProviderSpecGetter func(t *testing.T) []byte

ProvProviderSpecGetter generates provider spec for testing purposes.

Jump to

Keyboard shortcuts

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