integration

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAffinityForInstanceGroup

func GetAffinityForInstanceGroup(labelKey string, instanceGroupName string) *v1.Affinity

GetAffinityForInstanceGroup creates an Affinity for an instance group

func ToResource

func ToResource(parse resource.Quantity) *resource.Quantity

ToResource returns a pointer to a Quantity

Types

type TestSetup

type TestSetup struct {
	// contains filtered or unexported fields
}

TestSetup returns values needed for setting up the server

func SetUpServer

func SetUpServer(ctx context.Context, t *testing.T, installConfig schedulerconfig.Install, allClients cmd.AllClient) TestSetup

SetUpServer sets up a WitchcraftServer invokes the init function with the client set

Jump to

Keyboard shortcuts

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