resources

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultEnvVarsType = medium

DefaultEnvVarsType is the default envvar slice type.

Functions

func NewFakeJob

func NewFakeJob(name, namespace string, randomEnvVars bool) *batchv1.Job

NewFakeJob creates a fake Kubernetes Job resource, managed by KWOK, with the specified name and namespace.

func NewFakeNode

func NewFakeNode(nodeName string) *corev1.Node

NewFakeNode creates a fake Kubernetes Node resource, managed by KWOK, with the specified name.

func NewFakePod

func NewFakePod(name, namespace string, randomEnvVars bool) *corev1.Pod

NewFakePod creates a fake Kubernetes Pod resource, managed by KWOK, with the specified name and namespace.

func SetDefaultEnvVarsType added in v0.1.0

func SetDefaultEnvVarsType(envVarType string)

SetDefaultEnvVarsType sets the default envvar slice type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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