Documentation ¶
Index ¶
- Variables
- func ValidateServiceBroker(broker *sc.ServiceBroker) field.ErrorList
- func ValidateServiceBrokerStatusUpdate(new *sc.ServiceBroker, old *sc.ServiceBroker) field.ErrorList
- func ValidateServiceBrokerUpdate(new *sc.ServiceBroker, old *sc.ServiceBroker) field.ErrorList
- func ValidateServiceClass(serviceclass *sc.ServiceClass) field.ErrorList
- func ValidateServiceClassUpdate(new *sc.ServiceClass, old *sc.ServiceClass) field.ErrorList
- func ValidateServiceInstance(instance *sc.ServiceInstance) field.ErrorList
- func ValidateServiceInstanceCredential(binding *sc.ServiceInstanceCredential) field.ErrorList
- func ValidateServiceInstanceCredentialStatusUpdate(new *sc.ServiceInstanceCredential, old *sc.ServiceInstanceCredential) field.ErrorList
- func ValidateServiceInstanceCredentialUpdate(new *sc.ServiceInstanceCredential, old *sc.ServiceInstanceCredential) field.ErrorList
- func ValidateServiceInstanceReferencesUpdate(new *sc.ServiceInstance, old *sc.ServiceInstance) field.ErrorList
- func ValidateServiceInstanceStatusUpdate(new *sc.ServiceInstance, old *sc.ServiceInstance) field.ErrorList
- func ValidateServiceInstanceUpdate(new *sc.ServiceInstance, old *sc.ServiceInstance) field.ErrorList
- func ValidateServicePlan(serviceplan *sc.ServicePlan) field.ErrorList
- func ValidateServicePlanUpdate(new *sc.ServicePlan, old *sc.ServicePlan) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
var ValidateServiceBrokerName = apivalidation.NameIsDNSSubdomain
ValidateServiceBrokerName is the validation function for Broker names.
Functions ¶
func ValidateServiceBroker ¶ added in v0.0.17
func ValidateServiceBroker(broker *sc.ServiceBroker) field.ErrorList
ValidateServiceBroker implements the validation rules for a BrokerResource.
func ValidateServiceBrokerStatusUpdate ¶ added in v0.0.17
func ValidateServiceBrokerStatusUpdate(new *sc.ServiceBroker, old *sc.ServiceBroker) field.ErrorList
ValidateServiceBrokerStatusUpdate checks that when changing from an older broker to a newer broker is okay.
func ValidateServiceBrokerUpdate ¶ added in v0.0.17
func ValidateServiceBrokerUpdate(new *sc.ServiceBroker, old *sc.ServiceBroker) field.ErrorList
ValidateServiceBrokerUpdate checks that when changing from an older broker to a newer broker is okay ?
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.
func ValidateServiceInstance ¶ added in v0.0.17
func ValidateServiceInstance(instance *sc.ServiceInstance) field.ErrorList
ValidateServiceInstance validates an Instance and returns a list of errors.
func ValidateServiceInstanceCredential ¶ added in v0.0.17
func ValidateServiceInstanceCredential(binding *sc.ServiceInstanceCredential) field.ErrorList
ValidateServiceInstanceCredential validates a ServiceInstanceCredential and returns a list of errors.
func ValidateServiceInstanceCredentialStatusUpdate ¶ added in v0.0.17
func ValidateServiceInstanceCredentialStatusUpdate(new *sc.ServiceInstanceCredential, old *sc.ServiceInstanceCredential) field.ErrorList
ValidateServiceInstanceCredentialStatusUpdate checks that when changing from an older binding to a newer binding is okay.
func ValidateServiceInstanceCredentialUpdate ¶ added in v0.0.17
func ValidateServiceInstanceCredentialUpdate(new *sc.ServiceInstanceCredential, old *sc.ServiceInstanceCredential) field.ErrorList
ValidateServiceInstanceCredentialUpdate checks that when changing from an older binding to a newer binding is okay.
func ValidateServiceInstanceReferencesUpdate ¶ added in v0.0.23
func ValidateServiceInstanceReferencesUpdate(new *sc.ServiceInstance, old *sc.ServiceInstance) field.ErrorList
ValidateServiceInstanceReferencesUpdate checks that when changing from an older instance to a newer instance is okay.
func ValidateServiceInstanceStatusUpdate ¶ added in v0.0.17
func ValidateServiceInstanceStatusUpdate(new *sc.ServiceInstance, old *sc.ServiceInstance) field.ErrorList
ValidateServiceInstanceStatusUpdate checks that when changing from an older instance to a newer instance is okay. This only checks the instance.Status field.
func ValidateServiceInstanceUpdate ¶ added in v0.0.17
func ValidateServiceInstanceUpdate(new *sc.ServiceInstance, old *sc.ServiceInstance) field.ErrorList
ValidateServiceInstanceUpdate validates a change to the Instance's spec.
func ValidateServicePlan ¶ added in v0.0.22
func ValidateServicePlan(serviceplan *sc.ServicePlan) field.ErrorList
ValidateServicePlan validates a ServicePlan and returns a list of errors.
func ValidateServicePlanUpdate ¶ added in v0.0.22
func ValidateServicePlanUpdate(new *sc.ServicePlan, old *sc.ServicePlan) field.ErrorList
ValidateServicePlanUpdate checks that when changing from an older ServicePlan to a newer ServicePlan is okay.
Types ¶
This section is empty.