validator

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: Apache-2.0 Imports: 17 Imported by: 2

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 added in v1.5.1

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