validation

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAuditSink

func ValidateAuditSink(as *auditregistration.AuditSink) field.ErrorList

ValidateAuditSink validates the AuditSinks

func ValidateAuditSinkSpec

func ValidateAuditSinkSpec(s auditregistration.AuditSinkSpec, fldPath *field.Path) field.ErrorList

ValidateAuditSinkSpec validates the sink spec for audit

func ValidateAuditSinkUpdate

func ValidateAuditSinkUpdate(newC, oldC *auditregistration.AuditSink) field.ErrorList

ValidateAuditSinkUpdate validates an update to the object

func ValidatePolicy

func ValidatePolicy(policy auditregistration.Policy, fldPath *field.Path) field.ErrorList

ValidatePolicy validates the audit policy

func ValidateWebhook

func ValidateWebhook(w auditregistration.Webhook, fldPath *field.Path) field.ErrorList

ValidateWebhook validates the webhook

func ValidateWebhookClientConfig

func ValidateWebhookClientConfig(cc *auditregistration.WebhookClientConfig, fldPath *field.Path) field.ErrorList

ValidateWebhookClientConfig validates the WebhookClientConfig note: this is largely copy/paste inheritance from admissionregistration with subtle changes

func ValidateWebhookThrottleConfig

func ValidateWebhookThrottleConfig(c *auditregistration.WebhookThrottleConfig, fldPath *field.Path) field.ErrorList

ValidateWebhookThrottleConfig validates the throttle config

Types

This section is empty.

Jump to

Keyboard shortcuts

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