Help us shape the future of Go! Take the 2026 Go Developer Survey

testing

package
v1.17.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 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