Documentation ¶
Index ¶
Constants ¶
View Source
const (
APIVersion = "aquasecurity.github.io/v1alpha1"
)
Variables ¶
This section is empty.
Functions ¶
func CreateObjectReference ¶ added in v0.3.1
func CreateObjectReference(namespace string, owners []v1.OwnerReference, labels map[string]string) *corev1.ObjectReference
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 ¶
Click to show internal directories.
Click to hide internal directories.