Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for ClusterRoleBinding (0.27 sec)

  1. staging/src/k8s.io/api/rbac/v1beta1/zz_generated.deepcopy.go

    func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding {
    	if in == nil {
    		return nil
    	}
    	out := new(ClusterRoleBinding)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/rbac/v1alpha1/zz_generated.deepcopy.go

    func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding {
    	if in == nil {
    		return nil
    	}
    	out := new(ClusterRoleBinding)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    	retryInterval, retryTimeout time.Duration) (clientset.Interface, error) {
    
    	klog.V(1).Infof("ensuring that the ClusterRoleBinding for the %s Group exists",
    		kubeadmconstants.ClusterAdminsGroupAndClusterRoleBinding)
    
    	var (
    		err, lastError     error
    		crbExists          bool
    		clusterRoleBinding = &rbac.ClusterRoleBinding{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: kubeadmconstants.ClusterAdminsGroupAndClusterRoleBinding,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/rbac/v1beta1/types.go

    // ClusterRoleBinding references a ClusterRole, but not contain it.  It can reference a ClusterRole in the global namespace,
    // and adds who information via Subject.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.
    type ClusterRoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/rbac/v1alpha1/types.go

    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // ClusterRoleBinding references a ClusterRole, but not contain it.  It can reference a ClusterRole in the global namespace,
    // and adds who information via Subject.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.
    type ClusterRoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard object's metadata.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/apiclient/idempotency.go

    		return nil
    	}
    	return lastError
    }
    
    // CreateOrUpdateClusterRoleBinding creates a ClusterRoleBinding if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
    func CreateOrUpdateClusterRoleBinding(client clientset.Interface, clusterRoleBinding *rbac.ClusterRoleBinding) error {
    	var lastError error
    	err := wait.PollUntilContextTimeout(context.Background(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/rbac/v1/types.go

    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    // +k8s:prerelease-lifecycle-gen:introduced=1.8
    
    // ClusterRoleBinding references a ClusterRole, but not contain it.  It can reference a ClusterRole in the global namespace,
    // and adds who information via Subject.
    type ClusterRoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard object's metadata.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/rbac_test.go

    }
    
    const (
    	bindToRole        uint16 = 0x0
    	bindToClusterRole uint16 = 0x1
    )
    
    func newClusterRoleBinding(roleName string, subjects ...string) *rbacv1.ClusterRoleBinding {
    	r := &rbacv1.ClusterRoleBinding{
    		ObjectMeta: metav1.ObjectMeta{},
    		RoleRef: rbacv1.RoleRef{
    			APIGroup: rbacv1.GroupName,
    			Kind:     "ClusterRole", // ClusterRoleBindings can only refer to ClusterRole
    			Name:     roleName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 21.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1beta1/zz_generated.prerelease-lifecycle.go

    func (in *ClusterRoleBinding) APILifecycleDeprecated() (major, minor int) {
    	return 1, 17
    }
    
    // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
    // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
    func (in *ClusterRoleBinding) APILifecycleReplacement() schema.GroupVersionKind {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.1K bytes
    - Viewed (0)
  10. pkg/apis/rbac/validation/validation.go

    		allErrs = append(allErrs, ValidateRoleBindingSubject(subject, false, subjectsPath.Index(i))...)
    	}
    
    	return allErrs
    }
    
    func ValidateClusterRoleBindingUpdate(roleBinding *rbac.ClusterRoleBinding, oldRoleBinding *rbac.ClusterRoleBinding) field.ErrorList {
    	allErrs := ValidateClusterRoleBinding(roleBinding)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:48:21 UTC 2022
    - 10.4K bytes
    - Viewed (0)
Back to top