Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for pdName (0.33 sec)

  1. pkg/volume/csi/csi_mounter_test.go

    			pv := makeTestPV("test-pv", 10, test.driver, testVol)
    			pv.Spec.CSI.VolumeAttributes = test.volumeContext
    			pv.Spec.MountOptions = []string{"foo=bar", "baz=qux"}
    			pvName := pv.GetName()
    
    			mounter, err := plug.NewMounter(
    				volume.NewSpecFromPersistentVolume(pv, pv.Spec.PersistentVolumeSource.CSI.ReadOnly),
    				&corev1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    				return addlibpath(ctxt, "internal", "internal", "", name, shlibname, zerofp)
    			}
    		}
    		pname := filepath.Join(libdir, name+".a")
    		if ctxt.Debugvlog != 0 {
    			ctxt.Logf("searching for %s.a in %s\n", name, pname)
    		}
    		if _, err := os.Stat(pname); err == nil {
    			return addlibpath(ctxt, "internal", "internal", pname, name, "", zerofp)
    		}
    	}
    
    	if name == "runtime" {
    		Exitf("error: unable to find runtime.a")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/pv_controller.go

    	//  yet.
    
    	pvName := ctrl.getProvisionedVolumeNameForClaim(claim)
    	volume, err := ctrl.kubeClient.CoreV1().PersistentVolumes().Get(ctx, pvName, metav1.GetOptions{})
    	if err != nil && !apierrors.IsNotFound(err) {
    		logger.V(3).Info("Error reading persistent volume", "PV", klog.KRef("", pvName), "err", err)
    		return pluginName, err
    	}
    	if err == nil && volume != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  4. tests/integration/ambient/baseline_test.go

          version: v1
        name: v1
      - labels:
          version: v2
        name: v2
    `).ApplyOrFail(t)
    				var exp string
    				for _, w := range dst.WorkloadsOrFail(t) {
    					if strings.Contains(w.PodName(), "-v1") {
    						exp = w.PodName()
    					}
    				}
    				opt.Count = 10
    				opt.Check = check.And(
    					check.OK(),
    					check.Hostname(exp))
    				src.CallOrFail(t, opt)
    			})
    		})
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    func getClaimPodName(set *apps.StatefulSet, claim *v1.PersistentVolumeClaim) string {
    	podName := ""
    
    	statefulClaimRegex := regexp.MustCompile(fmt.Sprintf(".*-(%s-[0-9]+)$", set.Name))
    	matches := statefulClaimRegex.FindStringSubmatch(claim.Name)
    	if len(matches) != 2 {
    		return podName
    	}
    	return matches[1]
    }
    
    // ownerRefsChanged returns true if newRefs does not match originalRefs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  6. plugin/pkg/admission/noderestriction/admission_test.go

    }
    
    func makeTokenRequest(podname string, poduid types.UID) *authenticationapi.TokenRequest {
    	tr := &authenticationapi.TokenRequest{
    		Spec: authenticationapi.TokenRequestSpec{
    			Audiences: []string{"foo"},
    		},
    	}
    	if podname != "" {
    		tr.Spec.BoundObjectRef = &authenticationapi.BoundObjectReference{
    			Kind:       "Pod",
    			APIVersion: "v1",
    			Name:       podname,
    			UID:        poduid,
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  7. cmd/iam.go

    		if errors.Is(err, errNoSuchPolicy) {
    			for _, pname := range policies {
    				_, err := sys.store.GetPolicy(pname)
    				if errors.Is(err, errNoSuchPolicy) {
    					// all policies presented in the claim should exist
    					iamLogIf(GlobalContext, fmt.Errorf("expected policy (%s) missing from the JWT claim %s, rejecting the request", pname, iamPolicyClaimNameOpenID()))
    					return false
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    			if len(args) != 1 {
    				return fmt.Errorf("expecting pod name")
    			}
    
    			podName, ns := handlers.InferPodInfo(args[0], ctx.NamespaceOrDefault(""))
    
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			pod, err := client.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{})
    			if err != nil {
    				return err
    			}
    
    			writer := cmd.OutOrStdout()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	// un-restored fields.
    	pod = &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:                        l.PodUID,
    			Name:                       l.PodName,
    			Namespace:                  l.PodNamespace,
    			DeletionGracePeriodSeconds: a.PodDeletionGracePeriod,
    		},
    		Spec: v1.PodSpec{
    			TerminationGracePeriodSeconds: a.PodTerminationGracePeriod,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	return v1.Container{
    		Name:  name,
    		Image: image,
    	}
    }
    
    // makeTestPod creates a test api pod.
    func makeTestPod(podName, podNamespace, podUID string, containers []v1.Container) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:       types.UID(podUID),
    			Name:      podName,
    			Namespace: podNamespace,
    		},
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
Back to top