Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FailureCase ¶
type FailureCase struct { // The name of the test case Name string // The kustomization file content for the test case in YAML format KustomizationFileContent string // Arguments passed to the test case command Args []string // The expected error message for the test case ExpectedErrorMsg string }
FailureCase specifies a test case for a failure in the 'edit set configmap'/'edit set secret' commands.
type SuccessCase ¶
type SuccessCase struct { // The name of the test case Name string // The kustomization file content for the test case in YAML format KustomizationFileContent string // Arguments passed to the test case command Args []string // List of expected literals for the result of the test case ExpectedLiterals []string // The expected namespace for the result of the test case ExpectedNamespace string }
SuccessCase specifies a test case for a success in the 'edit set configmap'/'edit set secret' commands.
Click to show internal directories.
Click to hide internal directories.