Add a storage implementation for thirdpartyresources.

This commit is contained in:
Brendan Burns
2015-08-14 22:10:15 -07:00
parent 73d105e22c
commit 5d664892f2
22 changed files with 824 additions and 221 deletions

View File

@@ -1823,6 +1823,10 @@ func ValidateSecurityContext(sc *api.SecurityContext) errs.ValidationErrorList {
return allErrs
}
func ValidateThirdPartyResourceUpdate(old, update *api.ThirdPartyResource) errs.ValidationErrorList {
return ValidateThirdPartyResource(update)
}
func ValidateThirdPartyResource(obj *api.ThirdPartyResource) errs.ValidationErrorList {
allErrs := errs.ValidationErrorList{}
if len(obj.Name) == 0 {