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.
Click to show internal directories.
Click to hide internal directories.