- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,092 for vers (0.25 sec)
-
pkg/apis/rbac/helpers.go
} // if resource names are set, then the verb must not be list, watch, create, or deletecollection // since verbs are largely opaque, we don't want to accidentally prevent things like "impersonate", so // we will backlist common mistakes, not whitelist acceptable options. if len(r.PolicyRule.ResourceNames) != 0 { illegalVerbs := []string{} for _, verb := range r.PolicyRule.Verbs { switch verb {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 23 15:11:00 UTC 2020 - 12.1K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy_test.go
for _, role := range ControllerRoles() { if rolesWithAllowStar.Has(role.Name) { continue } for i, rule := range role.Rules { for j, verb := range rule.Verbs { if verb == "*" { t.Errorf("%s.Rule[%d].Verbs[%d] is star", role.Name, i, j) } } for j, group := range rule.APIGroups { if group == "*" { t.Errorf("%s.Rule[%d].APIGroups[%d] is star", role.Name, i, j) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 05:24:17 UTC 2019 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go
IsResourceRequest: true, Verb: verbs[coord%nv], APIGroup: apiGroups[coord/nv%ng], Resource: resources[coord/nv/ng%nr], Namespace: namespaces[coord/nv/ng/nr]}) } return ans } func genNRRIs(rng *rand.Rand, m int, verbs, urls []string) []*request.RequestInfo { nv := len(verbs) nu := len(urls) coords := chooseInts(rng, nv*nu, m)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 24.8K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/rbac_test.go
} func resourceRequest(verb string) *requestAttributeBuilder { return &requestAttributeBuilder{ request: authorizer.AttributesRecord{ResourceRequest: true, Verb: verb}, } } func nonresourceRequest(verb string) *requestAttributeBuilder { return &requestAttributeBuilder{ request: authorizer.AttributesRecord{ResourceRequest: false, Verb: verb}, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 21.1K bytes - Viewed (0) -
staging/src/k8s.io/api/authorization/v1/types_swagger_doc_generated.go
"verb": "Verb is the standard HTTP verb", } func (NonResourceAttributes) SwaggerDoc() map[string]string { return map_NonResourceAttributes } var map_NonResourceRule = map[string]string{ "": "NonResourceRule holds information that describes a rule for the non-resource",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 22 00:51:25 UTC 2023 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
}) route.Metadata(RouteMetaAction, strings.ToLower(action.Verb)) ws.Route(route) } // Note: update GetAuthorizerAttributes() when adding a custom handler. } apiResource.Verbs = make([]string, 0, len(kubeVerbs)) for kubeVerb := range kubeVerbs { apiResource.Verbs = append(apiResource.Verbs, kubeVerb) } sort.Strings(apiResource.Verbs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/apis/authorization/v1/zz_generated.conversion.go
} func autoConvert_v1_NonResourceAttributes_To_authorization_NonResourceAttributes(in *v1.NonResourceAttributes, out *authorization.NonResourceAttributes, s conversion.Scope) error { out.Path = in.Path out.Verb = in.Verb return nil } // Convert_v1_NonResourceAttributes_To_authorization_NonResourceAttributes is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 31.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go
} // CanonicalVerb distinguishes LISTs from GETs (and HEADs). It assumes verb is // UPPERCASE. func CanonicalVerb(verb string, scope string) string { switch verb { case "GET", "HEAD": if scope != "resource" && scope != "" { return "LIST" } return "GET" default: return verb } } // CleanVerb returns a normalized verb, so that it is easy to tell WATCH from
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 07:29:19 UTC 2023 - 35K bytes - Viewed (0) -
common-protos/k8s.io/api/authorization/v1/generated.proto
// +optional optional string path = 1; // Verb is the standard HTTP verb // +optional optional string verb = 2; } // NonResourceRule holds information that describes a rule for the non-resource message NonResourceRule { // Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all. repeated string verbs = 1;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/api/authorization/v1beta1/generated.proto
optional string path = 1; // Verb is the standard HTTP verb // +optional optional string verb = 2; } // NonResourceRule holds information that describes a rule for the non-resource message NonResourceRule { // Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all. // +listType=atomic repeated string verbs = 1;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 12.1K bytes - Viewed (0)