validate

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package validate provides validation for types in the cluster bundle repository.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

All validates components and components sets, providing as many errors as it can.

func AllComponentObjects

func AllComponentObjects(components []*bundle.Component) field.ErrorList

AllComponentObjects validates all objects in all componenst

func AllComponents

func AllComponents(components []*bundle.Component) field.ErrorList

AllComponents validates a list of components.

func Component

func Component(c *bundle.Component) field.ErrorList

Component validates a single component.

func ComponentObjects

func ComponentObjects(cp *bundle.Component) field.ErrorList

ComponentObjects validates objects in a componenst.

func ComponentSet

func ComponentSet(cs *bundle.ComponentSet) field.ErrorList

ComponentSet validates a component.

func ComponentsAndComponentSet

func ComponentsAndComponentSet(components []*bundle.Component, cs *bundle.ComponentSet) field.ErrorList

ComponentsAndComponentSet validates components in the context of a component set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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