validation

package
v0.0.0-...-43b7830 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateClientConfig

func ValidateClientConfig(scheme string, clientconfig *proxyv1alpha1.ClientConfig, fldPath *field.Path) field.ErrorList

func ValidateDispatchPolicy

func ValidateDispatchPolicy(upstreams, flowControlSchemaNames sets.String, policy proxyv1alpha1.DispatchPolicy, fldPath *field.Path) field.ErrorList

func ValidateFlowControl

func ValidateFlowControl(flowcontrol *proxyv1alpha1.FlowControl, fldPath *field.Path) (sets.String, field.ErrorList)

func ValidateFlowControlConfiguration

func ValidateFlowControlConfiguration(schema *proxyv1alpha1.FlowControlSchemaConfiguration, fldPath *field.Path) field.ErrorList

func ValidateLoggingConfig

func ValidateLoggingConfig(logging proxyv1alpha1.LoggingConfig, fldPath *field.Path) field.ErrorList

func ValidateRule

func ValidateRule(rule proxyv1alpha1.DispatchPolicyRule, fldPath *field.Path) field.ErrorList

func ValidateSecureServing

func ValidateSecureServing(serving *proxyv1alpha1.SecureServing, fldPath *field.Path) field.ErrorList

func ValidateServers

func ValidateServers(servers []proxyv1alpha1.UpstreamClusterServer, fldPath *field.Path) (sets.String, string, field.ErrorList)

func ValidateUpstreamCluster

func ValidateUpstreamCluster(cluster *proxyv1alpha1.UpstreamCluster) field.ErrorList

func ValidateUpstreamClusterSpec

func ValidateUpstreamClusterSpec(spec *proxyv1alpha1.UpstreamClusterSpec, fldPath *field.Path) field.ErrorList

ValidateUpstreamClusterSpec tests if required fields in the UpstreamCluster spec are set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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