Documentation ¶
Index ¶
- Variables
- func ValidateBinding(binding *sc.Binding) field.ErrorList
- func ValidateBindingStatusUpdate(new *sc.Binding, old *sc.Binding) field.ErrorList
- func ValidateBindingUpdate(new *sc.Binding, old *sc.Binding) field.ErrorList
- func ValidateBroker(broker *sc.Broker) field.ErrorList
- func ValidateBrokerStatusUpdate(new *sc.Broker, old *sc.Broker) field.ErrorList
- func ValidateBrokerUpdate(new *sc.Broker, old *sc.Broker) field.ErrorList
- func ValidateInstance(instance *sc.Instance) field.ErrorList
- func ValidateInstanceStatusUpdate(new *sc.Instance, old *sc.Instance) field.ErrorList
- func ValidateInstanceUpdate(new *sc.Instance, old *sc.Instance) field.ErrorList
- func ValidateServiceClass(serviceclass *sc.ServiceClass) field.ErrorList
- func ValidateServiceClassUpdate(new *sc.ServiceClass, old *sc.ServiceClass) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
var ValidateBrokerName = apivalidation.NameIsDNSSubdomain
ValidateBrokerName is the validation function for Broker names.
Functions ¶
func ValidateBinding ¶
ValidateBinding validates a Binding and returns a list of errors.
func ValidateBindingStatusUpdate ¶
ValidateBindingStatusUpdate checks that when changing from an older binding to a newer binding is okay.
func ValidateBindingUpdate ¶
ValidateBindingUpdate checks that when changing from an older binding to a newer binding is okay.
func ValidateBroker ¶
ValidateBroker implements the validation rules for a BrokerResource.
func ValidateBrokerStatusUpdate ¶
ValidateBrokerStatusUpdate checks that when changing from an older broker to a newer broker is okay.
func ValidateBrokerUpdate ¶
ValidateBrokerUpdate checks that when changing from an older broker to a newer broker is okay ?
func ValidateInstance ¶
ValidateInstance validates an Instance and returns a list of errors.
func ValidateInstanceStatusUpdate ¶
ValidateInstanceStatusUpdate checks that when changing from an older instance to a newer instance is okay. This only checks the instance.Status field.
func ValidateInstanceUpdate ¶
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.