v1

package
v1.16.30 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	VariableTypeBasic  = "basic"
	VariableTypeSecret = "secret"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgsModeType added in v1.16.30

type ArgsModeType string

ArgsModeType defines args mode type +kubebuilder:validation:Enum=append;override;replace

const (
	// ArgsModeTypeAppend for append args mode
	ArgsModeTypeAppend ArgsModeType = "append"
	// ArgsModeTypeOverride for override args mode
	ArgsModeTypeOverride ArgsModeType = "override"
	// ArgsModeTypeReplace for replace args mode
	ArgsModeTypeReplace ArgsModeType = "replace"
)

type RunningContext added in v1.16.30

type RunningContext struct {
	// One of possible context types
	Type_ RunningContextType `json:"type"`
	// Context value depending from its type
	Context string `json:"context,omitempty"`
}

RunningContext for test or test suite execution

type RunningContextType added in v1.16.30

type RunningContextType string
const (
	RunningContextTypeUserCLI     RunningContextType = "user-cli"
	RunningContextTypeUserUI      RunningContextType = "user-ui"
	RunningContextTypeTestSuite   RunningContextType = "testsuite"
	RunningContextTypeTestTrigger RunningContextType = "testtrigger"
	RunningContextTypeScheduler   RunningContextType = "scheduler"
	RunningContextTypeEmpty       RunningContextType = ""
)

type Variable

type Variable struct {
	// variable type
	Type_ string `json:"type,omitempty"`
	// variable name
	Name string `json:"name,omitempty"`
	// variable string value
	Value string `json:"value,omitempty"`
	// or load it from var source
	ValueFrom corev1.EnvVarSource `json:"valueFrom,omitempty"`
}

+kubebuilder:object:generate=true

func (*Variable) DeepCopy added in v1.16.30

func (in *Variable) DeepCopy() *Variable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.

func (*Variable) DeepCopyInto added in v1.16.30

func (in *Variable) DeepCopyInto(out *Variable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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