validation

package
v1.17.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

ValidateFlowSchemaName validates name for flow-schema.

View Source
var ValidatePriorityLevelConfigurationName = apimachineryvalidation.NameIsDNSSubdomain

ValidatePriorityLevelConfigurationName validates name for priority-level-configuration.

Functions

func ValidateFlowSchema

func ValidateFlowSchema(fs *flowcontrol.FlowSchema) field.ErrorList

ValidateFlowSchema validates the content of flow-schema

func ValidateFlowSchemaCondition

func ValidateFlowSchemaCondition(condition *flowcontrol.FlowSchemaCondition, fldPath *field.Path) field.ErrorList

ValidateFlowSchemaCondition validates condition in the flow-schema's status.

func ValidateFlowSchemaNonResourcePolicyRule

func ValidateFlowSchemaNonResourcePolicyRule(rule *flowcontrol.NonResourcePolicyRule, fldPath *field.Path) field.ErrorList

ValidateFlowSchemaNonResourcePolicyRule validates non-resource policy-rule in the flow-schema.

func ValidateFlowSchemaPolicyRulesWithSubjects

func ValidateFlowSchemaPolicyRulesWithSubjects(rule *flowcontrol.PolicyRulesWithSubjects, fldPath *field.Path) field.ErrorList

ValidateFlowSchemaPolicyRulesWithSubjects validates policy-rule-with-subjects object.

func ValidateFlowSchemaResourcePolicyRule

func ValidateFlowSchemaResourcePolicyRule(rule *flowcontrol.ResourcePolicyRule, fldPath *field.Path) field.ErrorList

ValidateFlowSchemaResourcePolicyRule validates resource policy-rule in the flow-schema.

func ValidateFlowSchemaSpec

func ValidateFlowSchemaSpec(spec *flowcontrol.FlowSchemaSpec, fldPath *field.Path) field.ErrorList

ValidateFlowSchemaSpec validates the content of flow-schema's spec

func ValidateFlowSchemaStatus

func ValidateFlowSchemaStatus(status *flowcontrol.FlowSchemaStatus, fldPath *field.Path) field.ErrorList

ValidateFlowSchemaStatus validates status for the flow-schema.

func ValidateFlowSchemaSubject

func ValidateFlowSchemaSubject(subject *flowcontrol.Subject, fldPath *field.Path) field.ErrorList

ValidateFlowSchemaSubject validates flow-schema's subject object.

func ValidateGroupSubject

func ValidateGroupSubject(subject *flowcontrol.GroupSubject, fldPath *field.Path) field.ErrorList

ValidateGroupSubject validates subject of "Group" kind

func ValidatePriorityLevelConfiguration

func ValidatePriorityLevelConfiguration(pl *flowcontrol.PriorityLevelConfiguration) field.ErrorList

ValidatePriorityLevelConfiguration validates priority-level-configuration.

func ValidatePriorityLevelConfigurationCondition

func ValidatePriorityLevelConfigurationCondition(condition *flowcontrol.PriorityLevelConfigurationCondition, fldPath *field.Path) field.ErrorList

ValidatePriorityLevelConfigurationCondition validates condition in priority-level-configuration's status.

func ValidatePriorityLevelConfigurationSpec

func ValidatePriorityLevelConfigurationSpec(spec *flowcontrol.PriorityLevelConfigurationSpec, name string, fldPath *field.Path) field.ErrorList

ValidatePriorityLevelConfigurationSpec validates priority-level-configuration's spec.

func ValidatePriorityLevelConfigurationStatus

func ValidatePriorityLevelConfigurationStatus(status *flowcontrol.PriorityLevelConfigurationStatus, fldPath *field.Path) field.ErrorList

ValidatePriorityLevelConfigurationStatus validates priority-level-configuration's status.

func ValidatePriorityLevelQueuingConfiguration

func ValidatePriorityLevelQueuingConfiguration(queuing *flowcontrol.QueuingConfiguration, fldPath *field.Path) field.ErrorList

ValidatePriorityLevelQueuingConfiguration validates queuing-configuration for a priority-level

func ValidateServiceAccountSubject

func ValidateServiceAccountSubject(subject *flowcontrol.ServiceAccountSubject, fldPath *field.Path) field.ErrorList

ValidateServiceAccountSubject validates subject of "ServiceAccount" kind

func ValidateUserSubject

func ValidateUserSubject(subject *flowcontrol.UserSubject, fldPath *field.Path) field.ErrorList

ValidateUserSubject validates subject of "User" kind

Types

This section is empty.

Jump to

Keyboard shortcuts

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