Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValidateServiceAccount (0.25 sec)

  1. pkg/registry/core/serviceaccount/strategy.go

    	cleanSecretReferences(obj.(*api.ServiceAccount))
    }
    
    func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	return validation.ValidateServiceAccount(obj.(*api.ServiceAccount))
    }
    
    // WarningsOnCreate returns warnings for the creation of the given object.
    func (strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return nil }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation.go

    			}
    		}
    	}
    
    	return allErrs
    }
    
    // ValidateServiceAccount tests if required fields in the ServiceAccount are set.
    func ValidateServiceAccount(serviceAccount *core.ServiceAccount) field.ErrorList {
    	allErrs := ValidateObjectMeta(&serviceAccount.ObjectMeta, true, ValidateServiceAccountName, field.NewPath("metadata"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top