Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 5,543 for Namespaced (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    }
    
    func baseNamespacedPod(podName, namespace string) *example.Pod {
    	return &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace},
    	}
    }
    
    func baseNamespacedPodUpdated(podName, namespace string) *example.Pod {
    	return &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace},
    		Status:     example.PodStatus{Phase: "Running"},
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    	numTries := 0
    	retryOnce := func(ctx context.Context, namespace *v1.Namespace) (*v1.Namespace, error) {
    		numTries++
    		if numTries <= 1 {
    			return namespace, errors.NewConflict(api.Resource("namespaces"), namespace.Name, fmt.Errorf("ERROR"))
    		}
    		return namespace, nil
    	}
    	namespace := &v1.Namespace{}
    	d := namespacedResourcesDeleter{
    		nsClient: mockClient.CoreV1().Namespaces(),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go

    				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 {
    				paramsNamespace = paramRef.Namespace
    			} else if len(paramsNamespace) == 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)
  4. cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml

                system uses when creating a volume snapshot. A specific VolumeSnapshotClass
                is used by specifying its name in a VolumeSnapshot object. VolumeSnapshotClasses
                are non-namespaced
              properties:
                apiVersion:
                  description: 'APIVersion defines the versioned schema of this representation
                  of an object. Servers should convert recognized schemas to the latest
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 26 07:24:12 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  5. pkg/controller/garbagecollector/garbagecollector_test.go

    				assertState(state{
    					graphNodes: []*node{makeNode(pod1ns1, withOwners(node1)), makeNode(node1)},
    				}),
    			},
    		},
    		// child in namespace A with owner reference to namespaced type in namespace B
    		// * should be deleted immediately
    		// * event should be logged in namespace A with involvedObject of bad-child indicating the error
    		{
    			name: "bad child in ns1 -> owner in ns2 (child first)",
    			steps: []step{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  6. 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)
  7. api/openapi-spec/v3/apis__authentication.k8s.io__v1alpha1_openapi.json

                "type": "string"
              },
              "namespace": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__authentication.k8s.io__v1beta1_openapi.json

                "type": "string"
              },
              "namespace": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/operator/output/operator-init.yaml

                  value: "istio-test-namespace1,istio-test-namespace2"
                - name: LEADER_ELECTION_NAMESPACE
                  value: "operator-test-namespace"
                - name: POD_NAME
                  valueFrom:
                    fieldRef:
                      fieldPath: metadata.name
                - name: OPERATOR_NAME
                  value: "operator-test-namespace"
                - name: WAIT_FOR_RESOURCES_TIMEOUT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. pkg/controller/garbagecollector/garbagecollector.go

    	// deleted during a cluster upgrade.
    	resource, namespaced, err := gc.apiResource(reference.APIVersion, reference.Kind)
    	if err != nil {
    		return false, nil, err
    	}
    	if !namespaced {
    		absentOwnerCacheKey.Namespace = ""
    	}
    
    	if len(item.identity.Namespace) == 0 && namespaced {
    		// item is a cluster-scoped object referring to a namespace-scoped owner, which is not valid.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top