Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateClusterRole (0.17 sec)

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

    	clusterRole := obj.(*rbac.ClusterRole)
    	opts := validation.ClusterRoleValidationOptions{
    		AllowInvalidLabelValueInSelector: false,
    	}
    	return validation.ValidateClusterRole(clusterRole, opts)
    }
    
    // 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 Nov 08 01:52:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
Back to top