validation

package
v0.0.0-...-8011f81 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCassandra

func ValidateCassandra(c *v1alpha1.Cassandra) field.ErrorList

ValidateCassandra checks that all required fields are supplied and that they have valid values NB ObjectMeta is not validated here; apiVersion, kind and metadata, are all validated by the API server implicitly. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#specifying-a-structural-schema

func ValidateCassandraUpdate

func ValidateCassandraUpdate(old, new *v1alpha1.Cassandra) field.ErrorList

ValidateCassandraUpdate checks that only supported changes have been made to a Cassandra resource. Calls ValidateCassandra to perform structural validation of the new Cassandra object first, to ensure that all fields are have compatible values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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