Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MutateTests = []struct { // TestName - Name of the Test TestName string // Data - The Yaml file of the ClusterPolicy Data []byte // ResourceNamespace - Namespace of the Resource ResourceNamespace string // PolicyName - Name of the Policy PolicyName string }{ { TestName: "test-mutate-with-context", Data: configMapMutationYaml, ResourceNamespace: "test-mutate", PolicyName: "mutate-policy", }, { TestName: "test-mutate-with-logic-in-context", Data: configMapMutationWithContextLogicYaml, ResourceNamespace: "test-mutate", PolicyName: "mutate-policy", }, { TestName: "test-mutate-with-context-label-selection", Data: configMapMutationWithContextLabelSelectionYaml, ResourceNamespace: "test-mutate", PolicyName: "mutate-policy", }, }
MutateTests is E2E Test Config for mutation
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.