shared

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapResult

func MapResult(severity v1alpha1.Severity) v1alpha2.PolicyResult

func MapServerity

func MapServerity(severity v1alpha1.Severity) v1alpha2.PolicySeverity

Types

type LabelMapper

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

func NewLabelMapper

func NewLabelMapper(applyLabels []string) LabelMapper

func (*LabelMapper) CreateLabels

func (m *LabelMapper) CreateLabels(labels map[string]string, defaultLabels map[string]string) map[string]string

Jump to

Keyboard shortcuts

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