mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
* fix: namespace in kyverno-test.yaml seems to have no effect in case of exclude Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * unit tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
15 lines
446 B
Go
15 lines
446 B
Go
package test
|
|
|
|
import (
|
|
"github.com/kyverno/kyverno/cmd/cli/kubectl-kyverno/apis/values"
|
|
)
|
|
|
|
type Test struct {
|
|
Name string `json:"name"`
|
|
Policies []string `json:"policies"`
|
|
Resources []string `json:"resources"`
|
|
Variables string `json:"variables,omitempty"`
|
|
UserInfo string `json:"userinfo,omitempty"`
|
|
Results []TestResult `json:"results"`
|
|
Values *values.Values `json:"values,omitempty"`
|
|
}
|