validation

package
v3.6.0-rc.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateBrokerName = apivalidation.NameIsDNSSubdomain

ValidateBrokerName is the validation function for Broker names.

Functions

func ValidateBinding

func ValidateBinding(binding *sc.Binding) field.ErrorList

ValidateBinding validates a Binding and returns a list of errors.

func ValidateBindingStatusUpdate

func ValidateBindingStatusUpdate(new *sc.Binding, old *sc.Binding) field.ErrorList

ValidateBindingStatusUpdate checks that when changing from an older binding to a newer binding is okay.

func ValidateBindingUpdate

func ValidateBindingUpdate(new *sc.Binding, old *sc.Binding) field.ErrorList

ValidateBindingUpdate checks that when changing from an older binding to a newer binding is okay.

func ValidateBroker

func ValidateBroker(broker *sc.Broker) field.ErrorList

ValidateBroker implements the validation rules for a BrokerResource.

func ValidateBrokerStatusUpdate

func ValidateBrokerStatusUpdate(new *sc.Broker, old *sc.Broker) field.ErrorList

ValidateBrokerStatusUpdate checks that when changing from an older broker to a newer broker is okay.

func ValidateBrokerUpdate

func ValidateBrokerUpdate(new *sc.Broker, old *sc.Broker) field.ErrorList

ValidateBrokerUpdate checks that when changing from an older broker to a newer broker is okay ?

func ValidateInstance

func ValidateInstance(instance *sc.Instance) field.ErrorList

ValidateInstance validates an Instance and returns a list of errors.

func ValidateInstanceStatusUpdate

func ValidateInstanceStatusUpdate(new *sc.Instance, old *sc.Instance) field.ErrorList

ValidateInstanceStatusUpdate checks that when changing from an older instance to a newer instance is okay. This only checks the instance.Status field.

func ValidateInstanceUpdate

func ValidateInstanceUpdate(new *sc.Instance, old *sc.Instance) field.ErrorList

ValidateInstanceUpdate validates a change to the Instance's spec.

func ValidateServiceClass

func ValidateServiceClass(serviceclass *sc.ServiceClass) field.ErrorList

ValidateServiceClass validates a ServiceClass and returns a list of errors.

func ValidateServiceClassUpdate

func ValidateServiceClassUpdate(new *sc.ServiceClass, old *sc.ServiceClass) field.ErrorList

ValidateServiceClassUpdate checks that when changing from an older ServiceClass to a newer ServiceClass is okay.

Types

This section is empty.

Jump to

Keyboard shortcuts

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