- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 132 for clusterScope (0.27 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules.go
// first make sure that we are not requesting a namespace object (namespace objects are cluster-scoped) return r.Attr.GetResource() != namespaceResource && r.Attr.GetNamespace() != metav1.NamespaceNone case v1.ClusterScope: // also return true if the request is for a namespace object (namespace objects are cluster-scoped) return r.Attr.GetResource() == namespaceResource || r.Attr.GetNamespace() == metav1.NamespaceNone default:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 21:38:55 UTC 2022 - 3.7K bytes - Viewed (0) -
pkg/apis/flowcontrol/types.go
// +listType=set Resources []string // `clusterScope` indicates whether to match requests that do not // specify a namespace (which happens either because the resource // is not namespaced or the request targets all namespaces). // If this field is omitted or false then the `namespaces` field // must contain a non-empty list. // +optional ClusterScope bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 24.3K bytes - Viewed (0) -
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) -
pkg/apis/flowcontrol/v1beta1/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_v1beta1_ResourcePolicyRule_To_flowcontrol_ResourcePolicyRule is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 01:00:06 UTC 2023 - 53.5K bytes - Viewed (0) -
pkg/apis/flowcontrol/v1beta2/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_v1beta2_ResourcePolicyRule_To_flowcontrol_ResourcePolicyRule is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 01:00:06 UTC 2023 - 53.5K 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)