// ValidateAPIService validates that the APIService is correctly defined. func ValidateAPIService(apiService *apiregistration.APIService) field.ErrorList { … } // ValidateAPIServiceUpdate validates an update of APIService. func ValidateAPIServiceUpdate(newAPIService *apiregistration.APIService, oldAPIService *apiregistration.APIService) field.ErrorList { … } // ValidateAPIServiceStatus validates that the APIService status is one of 'True', 'False' or 'Unknown'. func ValidateAPIServiceStatus(status *apiregistration.APIServiceStatus, fldPath *field.Path) field.ErrorList { … } // ValidateAPIServiceStatusUpdate validates an update of the status field of APIService. func ValidateAPIServiceStatusUpdate(newAPIService *apiregistration.APIService, oldAPIService *apiregistration.APIService) field.ErrorList { … }