validation

package
v1.16.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 6 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 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