utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const TestWithNativeSidecarEnvVar = "TEST_WITH_NATIVE_SIDECAR"

Variables

This section is empty.

Functions

func ClusterSupportsNativeSidecar added in v1.2.0

func ClusterSupportsNativeSidecar(clusterVersion, nodeVersion string) (bool, error)

func EnsureVariable

func EnsureVariable(v *string, set bool, msgOnError string)

func Handle

func Handle(testParams *TestParameters) error

Types

type TestParameters

type TestParameters struct {
	PkgDir string

	GkeClusterRegion    string
	GkeClusterVersion   string
	GkeNodeVersion      string
	GkeClusterName      string
	NodeImageType       string
	NodeMachineType     string
	NumNodes            int
	ProjectID           string
	UseGKEAutopilot     bool
	APIEndpointOverride string

	InProw             bool
	BoskosResourceType string

	ImageRegistry          string
	BuildGcsFuseCsiDriver  bool
	BuildGcsFuseFromSource bool
	BuildArm               bool
	DeployOverlayName      string
	UseGKEManagedDriver    bool

	GinkgoSkip          string
	GinkgoFocus         string
	GinkgoProcs         string
	GinkgoTimeout       string
	GinkgoFlakeAttempts string
	GinkgoSkipGcpSaTest bool

	SupportsNativeSidecar bool
}

Jump to

Keyboard shortcuts

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