- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 87 for clusterScope (0.17 sec)
-
pkg/apis/flowcontrol/v1beta3/zz_generated.conversion.go
out.Verbs = *(*[]string)(unsafe.Pointer(&in.Verbs)) out.APIGroups = *(*[]string)(unsafe.Pointer(&in.APIGroups)) out.Resources = *(*[]string)(unsafe.Pointer(&in.Resources)) out.ClusterScope = in.ClusterScope out.Namespaces = *(*[]string)(unsafe.Pointer(&in.Namespaces)) return nil } // Convert_v1beta3_ResourcePolicyRule_To_flowcontrol_ResourcePolicyRule is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:41 UTC 2023 - 53.1K bytes - Viewed (0) -
pkg/apis/flowcontrol/v1/zz_generated.conversion.go
out.Verbs = *(*[]string)(unsafe.Pointer(&in.Verbs)) out.APIGroups = *(*[]string)(unsafe.Pointer(&in.APIGroups)) out.Resources = *(*[]string)(unsafe.Pointer(&in.Resources)) out.ClusterScope = in.ClusterScope out.Namespaces = *(*[]string)(unsafe.Pointer(&in.Namespaces)) return nil } // Convert_v1_ResourcePolicyRule_To_flowcontrol_ResourcePolicyRule is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:41 UTC 2023 - 52.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/rule.go
return false } if !matchPolicyRuleAPIGroup(policyRule.APIGroups, ri.APIGroup) { return false } if len(ri.Namespace) == 0 { return policyRule.ClusterScope } return containsString(ri.Namespace, policyRule.Namespaces, flowcontrol.NamespaceEvery) } func matchesANonResourceRule(ri *request.RequestInfo, rules []flowcontrol.NonResourcePolicyRule) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1alpha1/types.go
type Rule = v1.Rule // ScopeType specifies a scope for a Rule. // +enum 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 Oct 05 20:06:13 UTC 2023 - 33.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go
Verbs: []string{pfx + "-v1", pfx + "-v2", pfx + "-v3"}, APIGroups: []string{pfx + ".g1", pfx + ".g2", pfx + ".g3"}, Resources: []string{pfx + "-r1s", pfx + "-r2s", pfx + "-r3s"}, ClusterScope: namespaces[0] == "", Namespaces: rnamespaces} matchingRIs := genRRIs(rng, 3, rr.Verbs, rr.APIGroups, rr.Resources, namespaces) var skippingRIs []*request.RequestInfo if !someMatchesAllResources {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 24.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go
} func resourceRule(verbs []string, groups []string, resources []string, namespaces []string, clusterScoped bool) flowcontrol.ResourcePolicyRule { return flowcontrol.ResourcePolicyRule{ Verbs: verbs, APIGroups: groups, Resources: resources, Namespaces: namespaces, ClusterScope: clusterScoped, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 20.5K bytes - Viewed (0) -
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) -
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) -
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) -
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)