kubernetes

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 7 Imported by: 0

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)

func (*PolicyClient) Policies

func (p *PolicyClient) Policies(ctx context.Context, namespace string) ([]kyverno.Policy, 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL