test

package
v1.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 24 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Testenv         env.Environment
	TestUID         string
	SlinkyNamespace string = "slinky"
	SlurmNamespace  string = "slurm"
	Basepath        string
)

Functions

func BuildOperatorImages added in v1.1.0

func BuildOperatorImages(operatorName string, webhookName string) error

BuildOperatorImages builds images for Slurm-operator and Slurm-operator-webhook

func CheckDeploymentStatus

func CheckDeploymentStatus(ctx context.Context, t *testing.T, config *envconf.Config, deploymentName string, deploymentNamespace string) context.Context

func DoCertMgrInstall added in v1.1.0

func DoCertMgrInstall(ctx context.Context, t *testing.T, config *envconf.Config) context.Context

func DoMariaDBInstall added in v1.1.0

func DoMariaDBInstall(ctx context.Context, t *testing.T, config *envconf.Config) context.Context

func DoPrometheusInstall added in v1.1.0

func DoPrometheusInstall(ctx context.Context, t *testing.T, config *envconf.Config) context.Context

func DoSlurmInstall added in v1.1.0

func DoSlurmInstall(ctx context.Context, t *testing.T, config *envconf.Config, slurmConfig SlurmInstallationConfig) context.Context

func DoSlurmOperatorCRDInstall added in v1.1.0

func DoSlurmOperatorCRDInstall(ctx context.Context, t *testing.T, config *envconf.Config) context.Context

func DoSlurmOperatorInstall added in v1.1.0

func DoSlurmOperatorInstall(ctx context.Context, t *testing.T, config *envconf.Config) context.Context

func DoUninstallHelmChart

func DoUninstallHelmChart(ctx context.Context, t *testing.T, config *envconf.Config, chartName string, chartNamespace string) context.Context

func DockerBuild added in v1.1.0

func DockerBuild(imageTags []string, imageTarget string, dockerfile string, dockerfilePath string, buildArgs map[string]*string) error

DockerBuild builds a Docker image from the provided parameters and pushes it to the local registry

func GetBasePath

func GetBasePath() string

getBasePath returns the fully qualified path of the slurm-operator repo within the context in which `go test` is called

func GetSlurmNodeInfo

func GetSlurmNodeInfo(nodeName string) (map[string]string, error)

func RetryCommand added in v1.1.0

func RetryCommand(ctx context.Context, t *testing.T, command string, args []string, wants string, cleanup_command string, cleanup_args []string, retries int, retryDelay time.Duration) context.Context

func StringToMap

func StringToMap(input string) map[string]string

Types

type SlurmInstallationConfig

type SlurmInstallationConfig struct {
	Accounting bool
	Login      bool
	Metrics    bool
	Pyxis      bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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