Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MyUuid (0.07 sec)

  1. cluster/gce/gci/configure-helper.sh

      local myuuid
      if grep -q "${device}" "${ssdmap}"; then
        #create symlink based on saved uuid
        myuuid=$(grep "${device}" "${ssdmap}" | cut -d ' ' -f 2)
      else
        # generate new uuid and add it to the map
        if ! myuuid=$(uuidgen); then
          echo "Failed to generate valid UUID with uuidgen" >&2
          exit 2
        fi
        echo "${device} ${myuuid}" >> "${ssdmap}"
      fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		storage.SimpleUpdate(func(obj runtime.Object) (runtime.Object, error) {
    			pod := obj.(*example.Pod)
    			pod.ObjectMeta.UID = "myUID"
    			return pod, nil
    		}), nil); err != nil {
    		t.Errorf("Unexpected failure during updated: %v", err)
    	}
    
    	prec := storage.NewUIDPreconditions("myUID")
    
    	out := &example.Pod{}
    	if err := store.Delete(ctx, key, out, prec, storage.ValidateAllObjectFunc, originalPod); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top