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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.
func (*Variable) DeepCopyInto ¶ added in v1.16.30
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.