Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for pdName (0.37 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    			if err != nil {
    				return err
    			}
    			var podName, podNs string
    			var podLabels, nsLabels map[string]string
    			if len(args) == 1 {
    				podName, podNs, err = ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace())
    				if err != nil {
    					return err
    				}
    				pod, err := kubeClient.Kube().CoreV1().Pods(podNs).Get(context.TODO(), podName, metav1.GetOptions{})
    				if err != nil {
    					return err
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/labels_test.go

    		},
    	}
    
    	var tests = []struct {
    		description string
    		expected    *labeledContainerInfo
    	}{
    		{
    			"Regular containers",
    			&labeledContainerInfo{
    				PodName:       pod.Name,
    				PodNamespace:  pod.Namespace,
    				PodUID:        pod.UID,
    				ContainerName: container.Name,
    			},
    		},
    	}
    
    	// Test whether we can get right information from label
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/pos.go

    //
    // If p and q are in different files, p is before q if the filename
    // of p sorts lexicographically before the filename of q.
    func (p Pos) Cmp(q Pos) int {
    	pname := p.RelFilename()
    	qname := q.RelFilename()
    	switch {
    	case pname < qname:
    		return -1
    	case pname > qname:
    		return +1
    	}
    
    	pline := p.Line()
    	qline := q.Line()
    	switch {
    	case pline < qline:
    		return -1
    	case pline > qline:
    		return +1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy

            then:
            result.assertTaskSkipped(":a")
    
            when:
            executer.withArgument("-Dname=b")
            run("a")
    
            then:
            result.assertTaskNotSkipped(":a")
            file("out.txt").text == "b"
    
            when:
            executer.withArgument("-Dname=b")
            run("a")
    
            then:
            result.assertTaskSkipped(":a")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:39:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. security/pkg/server/ca/node_auth.go

    	}
    
    	// Finally, we validate the requested identity is running on the same node the caller is on
    	callerPod := na.pods.Get(caller.PodName, caller.PodNamespace)
    	if callerPod == nil {
    		return fmt.Errorf("pod %v/%v not found", caller.PodNamespace, caller.PodName)
    	}
    	// Make sure UID is still valid for our current state
    	if callerPod.UID != types.UID(caller.PodUID) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go

    							RBDImage: "dswp-test-fake-device",
    						},
    					},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			Phase: v1.PodPhase("Running"),
    		},
    	}
    
    	fakePodInformer.Informer().GetStore().Add(pod)
    
    	podName := util.GetUniquePodName(pod)
    
    	generatedVolumeName := "fake-plugin/" + pod.Spec.Volumes[0].RBD.RBDImage
    
    	pvcLister := fakeInformerFactory.Core().V1().PersistentVolumeClaims().Lister()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/options.go

    )
    
    var (
    	PodNamespace      = env.RegisterStringVar("POD_NAMESPACE", "", "pod's namespace").Get()
    	SystemNamespace   = env.RegisterStringVar("SYSTEM_NAMESPACE", constants.IstioSystemNamespace, "istio system namespace").Get()
    	PodName           = env.RegisterStringVar("POD_NAME", "", "").Get()
    	NodeName          = env.RegisterStringVar("NODE_NAME", "", "").Get()
    	Revision          = env.RegisterStringVar("REVISION", "", "").Get()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/servicecontroller.go

    	args.RegistryOptions.KubeOptions.SystemNamespace = args.Namespace
    	args.RegistryOptions.KubeOptions.MeshServiceController = s.ServiceController()
    	// pass namespace to k8s service registry
    	kubecontroller.NewMulticluster(args.PodName,
    		s.kubeClient.Kube(),
    		args.RegistryOptions.ClusterRegistriesNamespace,
    		args.RegistryOptions.KubeOptions,
    		s.serviceEntryController,
    		s.configController,
    		s.istiodCertBundleWatcher,
    		args.Revision,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/dryrun/dryrun.go

    	return nil
    }
    
    // WaitForPodToDisappear just returns a dummy nil, to indicate that the program should just proceed
    func (w *Waiter) WaitForPodToDisappear(podName string) error {
    	fmt.Printf("[dryrun] Would wait for the %q Pod in the %s namespace to be deleted\n", podName, metav1.NamespaceSystem)
    	return nil
    }
    
    // WaitForKubelet blocks until the kubelet /healthz endpoint returns 'ok'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. pkg/registry/core/persistentvolume/storage/storage_test.go

    		t.Errorf("unexpected object: %s", cmp.Diff(pvIn.Status, pvOut.Status))
    	}
    }
    
    func getPhaseTranstitionTime(ctx context.Context, pvName string, storage *REST) (*metav1.Time, error) {
    	obj, err := storage.Get(ctx, pvName, &metav1.GetOptions{})
    	if err != nil {
    		return nil, err
    	}
    	return obj.(*api.PersistentVolume).Status.LastPhaseTransitionTime, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top