Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReportLabel = map[string]string{
"app.kubernetes.io/managed-by": "kyverno",
}
Functions ¶
This section is empty.
Types ¶
type PolicyClient ¶
type PolicyClient struct {
// contains filtered or unexported fields
}
func NewPolicyClient ¶
func NewPolicyClient(client pr.KyvernoV1Interface) *PolicyClient
func (*PolicyClient) CusterPolicies ¶
func (p *PolicyClient) CusterPolicies(ctx context.Context) ([]kyverno.ClusterPolicy, error)
type ReportClient ¶
type ReportClient struct {
// contains filtered or unexported fields
}
func NewReportClient ¶
func NewReportClient(client pr.Wgpolicyk8sV1alpha2Interface) *ReportClient
func (*ReportClient) ClusterPolicyReports ¶
func (c *ReportClient) ClusterPolicyReports(ctx context.Context) ([]v1alpha2.ClusterPolicyReport, error)
func (*ReportClient) PolicyReports ¶
func (c *ReportClient) PolicyReports(ctx context.Context) ([]v1alpha2.PolicyReport, error)
Click to show internal directories.
Click to hide internal directories.