validation

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateClusterServiceBroker

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

ValidateClusterServiceBroker implements the validation rules for a ClusterServiceBroker.

func ValidateClusterServiceBrokerStatusUpdate

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

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

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

ValidateClusterServiceClass validates a ClusterServiceClass and returns a list of errors.

func ValidateClusterServiceClassUpdate

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

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

ValidateClusterServicePlan validates a ClusterServicePlan and returns a list of errors.

func ValidateClusterServicePlanUpdate

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

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

ValidateServiceBinding validates a ServiceBinding and returns a list of errors.

func ValidateServiceBindingStatusUpdate

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

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 ValidateServiceBroker

func ValidateServiceBroker(broker *sc.ServiceBroker) field.ErrorList

ValidateServiceBroker implements the validation rules for a ServiceBroker.

func ValidateServiceBrokerStatusUpdate

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

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

func ValidateServiceInstance(instance *sc.ServiceInstance) field.ErrorList

ValidateServiceInstance validates an Instance and returns a list of errors.

func ValidateServiceInstanceReferencesUpdate

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

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

func ValidateServiceInstanceUpdate(new *sc.ServiceInstance, old *sc.ServiceInstance) field.ErrorList

ValidateServiceInstanceUpdate validates a change to the Instance's spec.

func ValidateServicePlan

func ValidateServicePlan(servicePlan *sc.ServicePlan) field.ErrorList

ValidateServicePlan validates a ServicePlan and returns a list of errors.

func ValidateServicePlanUpdate

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.

Jump to

Keyboard shortcuts

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