Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 88 for ClusterScope (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go

    	return flowcontrol.ResourcePolicyRule{
    		Verbs:        verbs,
    		APIGroups:    groups,
    		Resources:    resources,
    		Namespaces:   namespaces,
    		ClusterScope: clusterScoped,
    	}
    }
    
    func nonResourceRule(verbs []string, nonResourceURLs []string) flowcontrol.NonResourcePolicyRule {
    	return flowcontrol.NonResourcePolicyRule{Verbs: verbs, NonResourceURLs: nonResourceURLs}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    type Rule = v1.Rule
    
    // ScopeType specifies a scope for a Rule.
    type ScopeType = v1.ScopeType
    
    const (
    	// ClusterScope means that scope is limited to cluster-scoped objects.
    	// Namespace objects are cluster-scoped.
    	ClusterScope ScopeType = v1.ClusterScope
    	// NamespacedScope means that scope is limited to namespaced objects.
    	NamespacedScope ScopeType = v1.NamespacedScope
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/validation/validation.go

    		allErrs = append(allErrs, field.Invalid(fldPath.Child("resources"), rule.Resources, "if '*' is present, must not specify other resources"))
    	}
    
    	if len(rule.Namespaces) == 0 && !rule.ClusterScope {
    		allErrs = append(allErrs, field.Required(fldPath.Child("namespaces"), "resource rules that are not cluster scoped must supply at least one namespace"))
    	} else if hasWildcard(rule.Namespaces) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/flowcontrol/v1beta1/generated.pb.go

    		`Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`,
    		`APIGroups:` + fmt.Sprintf("%v", this.APIGroups) + `,`,
    		`Resources:` + fmt.Sprintf("%v", this.Resources) + `,`,
    		`ClusterScope:` + fmt.Sprintf("%v", this.ClusterScope) + `,`,
    		`Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *ServiceAccountSubject) String() string {
    	if this == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/flowcontrol/v1beta3/generated.pb.go

    		`Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`,
    		`APIGroups:` + fmt.Sprintf("%v", this.APIGroups) + `,`,
    		`Resources:` + fmt.Sprintf("%v", this.Resources) + `,`,
    		`ClusterScope:` + fmt.Sprintf("%v", this.ClusterScope) + `,`,
    		`Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *ServiceAccountSubject) String() string {
    	if this == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/flowcontrol/v1/generated.pb.go

    		`Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`,
    		`APIGroups:` + fmt.Sprintf("%v", this.APIGroups) + `,`,
    		`Resources:` + fmt.Sprintf("%v", this.Resources) + `,`,
    		`ClusterScope:` + fmt.Sprintf("%v", this.ClusterScope) + `,`,
    		`Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *ServiceAccountSubject) String() string {
    	if this == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.8K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/types.go

    	//
    	// +optional
    	Scope *ScopeType
    }
    
    // ScopeType specifies the type of scope being used
    type ScopeType string
    
    const (
    	// ClusterScope means that scope is limited to cluster-scoped objects.
    	// Namespace objects are cluster-scoped.
    	ClusterScope ScopeType = "Cluster"
    	// NamespacedScope means that scope is limited to namespaced objects.
    	NamespacedScope ScopeType = "Namespaced"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/flowcontrol/v1beta2/generated.pb.go

    		`Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`,
    		`APIGroups:` + fmt.Sprintf("%v", this.APIGroups) + `,`,
    		`Resources:` + fmt.Sprintf("%v", this.Resources) + `,`,
    		`ClusterScope:` + fmt.Sprintf("%v", this.ClusterScope) + `,`,
    		`Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *ServiceAccountSubject) String() string {
    	if this == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/types.go

    }
    
    // ScopeType specifies a scope for a Rule.
    // +enum
    type ScopeType string
    
    const (
    	// ClusterScope means that scope is limited to cluster-scoped objects.
    	// Namespace objects are cluster-scoped.
    	ClusterScope ScopeType = "Cluster"
    	// NamespacedScope means that scope is limited to namespaced objects.
    	NamespacedScope ScopeType = "Namespaced"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1beta3_openapi.json

                  "default": "",
                  "type": "string"
                },
                "type": "array",
                "x-kubernetes-list-type": "set"
              },
              "clusterScope": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 232.7K bytes
    - Viewed (0)
Back to top