- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 267 for NamespaceId (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
if producedObject == nil { producedObject = defaultVersionedObject } reqScope.Namer = action.Namer requestScope := "cluster" var namespaced string var operationSuffix string if apiResource.Namespaced { requestScope = "namespace" namespaced = "Namespaced" } if strings.HasSuffix(action.Path, "/{path:*}") { requestScope = "resource" operationSuffix = operationSuffix + "WithPath" }
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/api/v1/persistentvolume/util_test.go
) if missingNames := expectedNamespacedNames.Difference(extractedNamesWithNamespace); len(missingNames) > 0 { t.Logf("Missing expected namespaced names:\n%s", strings.Join(sets.List[string](missingNames), "\n")) t.Error("Missing expected namespaced names. Verify the PV stub above includes these references, then verify VisitPVSecretNames() is correctly finding the missing names") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 14.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/accessor.go
GetNamespace() string // GetPolicyName returns the name of the (Validating/Mutating)AdmissionPolicy, // which is cluster-scoped, so namespace is usually left blank. // But we leave the door open to add a namespaced vesion in the future GetPolicyName() types.NamespacedName GetParamRef() *v1.ParamRef GetMatchResources() *v1.MatchResources
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go
// sample is the sample Go type for response type. func (b *builder) buildRoute(root, path, httpMethod, actionVerb, operationVerb string, sample interface{}) *restful.RouteBuilder { var namespaced string if b.namespaced { namespaced = "Namespaced" } route := b.ws.Method(httpMethod). Path(root+path). To(func(req *restful.Request, res *restful.Response) {}). Doc(b.descriptionFor(path, operationVerb)).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 22.8K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go
i.Mapping.GroupVersionKind.String()) return fmt.Sprint(mappingInfo, "\n", basicInfo) } return basicInfo } // Namespaced returns true if the object belongs to a namespace func (i *Info) Namespaced() bool { if i.Mapping != nil { // if we have RESTMapper info, use it return i.Mapping.Scope.Name() == meta.RESTScopeNameNamespace }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 10:17:56 UTC 2023 - 21.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
requestedNamespace string recursive bool fieldSelector fields.Selector indexFields []string watchTests []*testWatchStruct }{ { name: "namespaced watch, request without name, request without namespace, without field selector", recursive: true, fieldSelector: fields.Everything(), watchTests: []*testWatchStruct{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go
if paramInformer == nil { return nil, fmt.Errorf("paramKind kind `%v` not known", paramKind.String()) } // Set up cluster-scoped, or namespaced access to the params // "default" if not provided, and paramKind is namespaced paramStore = paramInformer.Lister() if paramScope.Name() == meta.RESTScopeNameNamespace { paramsNamespace := namespace if len(paramRef.Namespace) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 12.1K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
APIResources: []metav1.APIResource{ {Name: "pods", Namespaced: true, Kind: "Pod", Verbs: metav1.Verbs{"delete", "list", "watch"}}, {Name: "services", Namespaced: true, Kind: "Service"}, }, }, { // Invalid GroupVersion, should be ignored GroupVersion: "foo//whatever", APIResources: []metav1.APIResource{ {Name: "bars", Namespaced: true, Kind: "Bar", Verbs: metav1.Verbs{"delete", "list", "watch"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go
{ GroupVersion: "v1", APIResources: []metav1.APIResource{ { Name: "pods", Namespaced: true, Kind: "Pod", Verbs: []string{"get", "list", "delete", "deletecollection", "create", "update"}, }, { Name: "services", Namespaced: true, Kind: "Service", Verbs: []string{"get", "list", "delete", "deletecollection", "create", "update"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 07:34:23 UTC 2023 - 15.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller_test.go
require.Equal(t, value, object3) value, err = myController.Informer().Namespaced(namespacedObject1.GetNamespace()).Get(namespacedObject1.GetName()) require.NoError(t, err) require.Equal(t, value, namespacedObject1) _, err = myController.Informer().Get("fakeobjectname") require.True(t, k8serrors.IsNotFound(err)) _, err = myController.Informer().Namespaced("test").Get("fakeobjectname") require.True(t, k8serrors.IsNotFound(err))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 16.1K bytes - Viewed (0)