vulnr

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateObjectReference

func CreateObjectReference(report *v1alpha1.VulnerabilityReport) corev1.ObjectReference

func GeneratePolicyReportName

func GeneratePolicyReportName(report *v1alpha1.VulnerabilityReport) string

Types

type Client

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

func NewClient

func NewClient(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 (p *PolicyReportClient) DeleteReport(ctx context.Context, report *v1alpha1.VulnerabilityReport) error

func (*PolicyReportClient) GenerateReport

func (p *PolicyReportClient) GenerateReport(ctx context.Context, report *v1alpha1.VulnerabilityReport) error

Jump to

Keyboard shortcuts

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