validation

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAPIService

func ValidateAPIService(apiService *apiregistration.APIService) field.ErrorList

ValidateAPIService validates that the APIService is correctly defined.

func ValidateAPIServiceStatus

func ValidateAPIServiceStatus(status *apiregistration.APIServiceStatus, fldPath *field.Path) field.ErrorList

ValidateAPIServiceStatus validates that the APIService status is one of 'True', 'False' or 'Unknown'.

func ValidateAPIServiceStatusUpdate

func ValidateAPIServiceStatusUpdate(newAPIService *apiregistration.APIService, oldAPIService *apiregistration.APIService) field.ErrorList

ValidateAPIServiceStatusUpdate validates an update of the status field of APIService.

func ValidateAPIServiceUpdate

func ValidateAPIServiceUpdate(newAPIService *apiregistration.APIService, oldAPIService *apiregistration.APIService) field.ErrorList

ValidateAPIServiceUpdate validates an update of APIService.

Types

This section is empty.

Jump to

Keyboard shortcuts

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