Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,405 for nameslice (0.15 sec)

  1. samples/bookinfo/platform/kube/cleanup.sh

    # only ask if in interactive mode
    if [[ -t 0 && -z ${NAMESPACE} ]];then
      echo -n "namespace ? [default] "
      read -r NAMESPACE
    fi
    
    # verify if the namespace exists, otherwise use default namespace
    if [[ -n ${NAMESPACE} ]];then
      ns=$(kubectl get namespace "${NAMESPACE}" --no-headers --output=go-template="{{.metadata.name}}" 2>/dev/null)
      if [[ -z ${ns} ]];then
        echo "NAMESPACE ${NAMESPACE} not found."
        NAMESPACE=default
      fi
    fi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1.VolumeAttachment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/NamespaceIdTest.groovy

        def "can set namespace and name" () {
            given:
            NamespaceId id = new NamespaceId("some-namespace", "some-name")
    
            expect:
            id.getNamespace() == "some-namespace"
            id.getName() == "some-name"
        }
    
        def "hashCode and equals determine equality" () {
            given:
            NamespaceId id1 = new NamespaceId("some-namespace", "some-name")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. plugin/pkg/admission/namespace/exists/admission_test.go

    		Spec: api.PodSpec{
    			Volumes:    []api.Volume{{Name: "vol"}},
    			Containers: []api.Container{{Name: "ctr", Image: "image"}},
    		},
    	}
    }
    
    // TestAdmissionNamespaceExists verifies pod is admitted only if namespace exists.
    func TestAdmissionNamespaceExists(t *testing.T) {
    	namespace := "test"
    	mockClient := newMockClientForTest([]string{namespace})
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/virtualservice_destinationhosts.yaml

      name: cross-namespace
      namespace: istio-system
    spec:
      hosts: [reviews]
      http:
        - route:
            - destination:
                # Should not generate error because the this host exists, just not in our namespace
                host: reviews.default.svc.cluster.local
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: details
      namespace: default
      annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 21 21:37:53 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. tests/integration/security/filebased_tls_origination/main_test.go

    		Setup(func(ctx resource.Context) error {
    			err := setupApps(ctx, namespace.Future(&appNS), namespace.Future(&serviceNS), &customConfig)
    			if err != nil {
    				return err
    			}
    			return nil
    		}).
    		Setup(deployment.SetupTwoNamespaces(&apps, deployment.Config{
    			Namespaces: []namespace.Getter{
    				namespace.Future(&appNS),
    				namespace.Future(&serviceNS),
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolume.yaml

        controllerExpandSecretRef:
          name: nameValue
          namespace: namespaceValue
        controllerPublishSecretRef:
          name: nameValue
          namespace: namespaceValue
        driver: driverValue
        fsType: fsTypeValue
        nodeExpandSecretRef:
          name: nameValue
          namespace: namespaceValue
        nodePublishSecretRef:
          name: nameValue
          namespace: namespaceValue
        nodeStageSecretRef:
          name: nameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. tests/integration/ambient/cnirepair/main_test.go

    	}
    
    	apps.All = echos
    	apps.Uncaptured = match.ServiceName(echo.NamespacedName{Name: Uncaptured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Captured = match.ServiceName(echo.NamespacedName{Name: Captured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Sidecar = match.ServiceName(echo.NamespacedName{Name: Sidecar, Namespace: apps.Namespace}).GetMatches(echos)
    
    	return nil
    }
    
    func TestTrafficWithCNIRepair(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. pkg/kubelet/util/manager/cache_based_manager.go

    }
    
    func (c *cacheBasedManager) GetObject(namespace, name string) (runtime.Object, error) {
    	return c.objectStore.Get(namespace, name)
    }
    
    func (c *cacheBasedManager) RegisterPod(pod *v1.Pod) {
    	names := c.getReferencedObjects(pod)
    	c.lock.Lock()
    	defer c.lock.Unlock()
    	var prev *v1.Pod
    	key := objectKey{namespace: pod.Namespace, name: pod.Name, uid: pod.UID}
    	prev = c.registeredPods[key]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. pkg/kube/namespace/filter.go

    	})
    
    	namespaces.AddEventHandler(controllers.EventHandler[*corev1.Namespace]{
    		AddFunc: func(ns *corev1.Namespace) {
    			f.lock.Lock()
    			defer f.lock.Unlock()
    			// In rare cases, a namespace may be created after objects in the namespace, because there is no synchronization between watches
    			// So we need to notify if we started selecting namespace
    			if f.namespaceCreatedLocked(ns.ObjectMeta) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top