mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-13 19:28:55 +00:00
fix: remove unused struct in cli (#8218)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
51de975e7b
commit
2ee28fff04
1 changed files with 0 additions and 6 deletions
|
@ -2,7 +2,6 @@ package api
|
|||
|
||||
import (
|
||||
policyreportv1alpha2 "github.com/kyverno/kyverno/api/policyreport/v1alpha2"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
|
@ -55,11 +54,6 @@ type TestResults struct {
|
|||
AutoGeneratedRule string `json:"auto_generated_rule,omitempty"`
|
||||
}
|
||||
|
||||
type ReportResult struct {
|
||||
TestResults
|
||||
Resources []*corev1.ObjectReference `json:"resources"`
|
||||
}
|
||||
|
||||
type Policy struct {
|
||||
Name string `json:"name"`
|
||||
Resources []Resource `json:"resources"`
|
||||
|
|
Loading…
Add table
Reference in a new issue