Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateRoleUpdate (0.12 sec)

  1. pkg/registry/rbac/role/strategy.go

    func (strategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	newObj := obj.(*rbac.Role)
    	errorList := validation.ValidateRole(newObj)
    	return append(errorList, validation.ValidateRoleUpdate(newObj, old.(*rbac.Role))...)
    }
    
    // WarningsOnUpdate returns warnings for the given update.
    func (strategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top