validation

package
v0.0.24 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateClusterServiceBrokerName = apivalidation.NameIsDNSSubdomain

ValidateClusterServiceBrokerName is the validation function for Broker names.

Functions

func ValidateClusterServiceBroker added in v0.0.24

func ValidateClusterServiceBroker(broker *sc.ClusterServiceBroker) field.ErrorList

ValidateClusterServiceBroker implements the validation rules for a BrokerResource.

func ValidateClusterServiceBrokerStatusUpdate added in v0.0.24

func ValidateClusterServiceBrokerStatusUpdate(new *sc.ClusterServiceBroker, old *sc.ClusterServiceBroker) field.ErrorList

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

func ValidateClusterServiceBrokerUpdate added in v0.0.24

func ValidateClusterServiceBrokerUpdate(new *sc.ClusterServiceBroker, old *sc.ClusterServiceBroker) field.ErrorList

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

func ValidateClusterServiceClass added in v0.0.24

func ValidateClusterServiceClass(serviceclass *sc.ClusterServiceClass) field.ErrorList

ValidateClusterServiceClass validates a ClusterServiceClass and returns a list of errors.

func ValidateClusterServiceClassUpdate added in v0.0.24

func ValidateClusterServiceClassUpdate(new *sc.ClusterServiceClass, old *sc.ClusterServiceClass) field.ErrorList

ValidateClusterServiceClassUpdate checks that when changing from an older ClusterServiceClass to a newer ClusterServiceClass is okay.

func ValidateClusterServicePlan added in v0.0.24

func ValidateClusterServicePlan(serviceplan *sc.ClusterServicePlan) field.ErrorList

ValidateClusterServicePlan validates a ClusterServicePlan and returns a list of errors.

func ValidateClusterServicePlanUpdate added in v0.0.24

func ValidateClusterServicePlanUpdate(new *sc.ClusterServicePlan, old *sc.ClusterServicePlan) field.ErrorList

ValidateClusterServicePlanUpdate checks that when changing from an older ClusterServicePlan to a newer ClusterServicePlan is okay.

func ValidateServiceBinding added in v0.0.24

func ValidateServiceBinding(binding *sc.ServiceBinding) field.ErrorList

ValidateServiceBinding validates a ServiceBinding and returns a list of errors.

func ValidateServiceBindingStatusUpdate added in v0.0.24

func ValidateServiceBindingStatusUpdate(new *sc.ServiceBinding, old *sc.ServiceBinding) field.ErrorList

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

func ValidateServiceBindingUpdate added in v0.0.24

func ValidateServiceBindingUpdate(new *sc.ServiceBinding, old *sc.ServiceBinding) field.ErrorList

ValidateServiceBindingUpdate checks that when changing from an older binding to a newer binding 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 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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