validation

package
v0.21.14 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 57

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