validation

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package validation defines validation routines for the clusterregistry API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCluster

func ValidateCluster(cluster *clusterregistry.Cluster) field.ErrorList

ValidateCluster ensures that a newly-created Cluster is valid.

func ValidateClusterUpdate

func ValidateClusterUpdate(cluster, oldCluster *clusterregistry.Cluster) field.ErrorList

ValidateClusterUpdate ensures that an update to a Cluster is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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