clusterinfra

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePolicyReportName

func GeneratePolicyReportName(name string) string

func MapResult

func MapResult(success bool) v1alpha2.PolicyResult

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(mgr manager.Manager, client controller.Controller, polrClient v1alpha2.Wgpolicyk8sV1alpha2Interface, applyLabels []string) *Client

func (*Client) StartWatching

func (e *Client) StartWatching(ctx context.Context) error

type PolicyReportClient

type PolicyReportClient struct {
	// contains filtered or unexported fields
}

func NewPolicyReportClient

func NewPolicyReportClient(client pr.Wgpolicyk8sV1alpha2Interface, applyLabels []string) *PolicyReportClient

func (*PolicyReportClient) DeleteReport

func (*PolicyReportClient) GenerateReport

Jump to

Keyboard shortcuts

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