validator

package
v0.0.0-...-bdd73da Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(current interface{}) error

Validate is used to validate the supplied structure according to the registered field and structure validators.

func ValidateMetadataIDsAssigned

func ValidateMetadataIDsAssigned(rm unversioned.ResourceMetadata) error

ValidateMetadataIDsAssigned is used to validate the Resource Metadata to ensure that all necessary fields are present. This is split from the validator so it can be used conditionally depending on the command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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