Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for volerr (0.26 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    			"excludeIPCidrs", isFound, valErr)
    	}
    	isFound, redir.excludeInboundPorts, valErr = getAnnotationOrDefault("excludeInboundPorts", pi.Annotations)
    	if valErr != nil {
    		return nil, fmt.Errorf("annotation value error for value %s; annotationFound = %t: %v",
    			"excludeInboundPorts", isFound, valErr)
    	}
    	isFound, redir.includeInboundPorts, valErr = getAnnotationOrDefault("includeInboundPorts", pi.Annotations)
    	if valErr != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    			}
    		}
    		poolErr := reduceWriteQuorumErrs(ctx, perPoolErrs, bucketOpIgnoredErrs, len(perPoolErrs)/2+1)
    		if poolErr != nil && !errors.Is(poolErr, errVolumeNotFound) {
    			if !opts.NoRecreate {
    				// re-create successful deletes, since we are return an error.
    				sys.MakeBucket(ctx, bucket, MakeBucketOptions{})
    			}
    			return toObjectErr(poolErr, bucket)
    		}
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    			volumeName,
    			nodeName)
    	}
    
    	// Act
    	generatedVolumeName, podErr := dsw.AddPod(types.UniquePodName(podName), controllervolumetesting.NewPod(podName, podName), volumeSpec, nodeName)
    
    	// Assert
    	if podErr != nil {
    		t.Fatalf("AddPod failed. Expected: <no error> Actual: <%v>", podErr)
    	}
    
    	volumeExists = dsw.VolumeExists(generatedVolumeName, nodeName)
    	if !volumeExists {
    		t.Fatalf(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  4. operator/pkg/translate/translate_value_test.go

    				t.Fatalf("unmarshal(%s): got error %s", tt.desc, err)
    			}
    			gotSpec, err := tr.TranslateFromValueToSpec([]byte(tt.valueYAML), false)
    			if gotErr, wantErr := errToString(err), tt.wantErr; gotErr != wantErr {
    				t.Errorf("ValuesToProto(%s)(%v): gotErr:%s, wantErr:%s", tt.desc, tt.valueYAML, gotErr, wantErr)
    			}
    			if tt.wantErr == "" {
    				byteArray, err := protomarshal.Marshal(gotSpec)
    				if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. src/io/io_test.go

    		for _, whence := range []int{-3, -2, -1, 3, 4, 5} {
    			var offset int64 = 0
    			gotOff, gotErr := w.Seek(offset, whence)
    			if gotOff != 0 || gotErr != ErrWhence {
    				t.Errorf("For whence %d, offset %d, OffsetWriter.Seek got: (%d, %v), want: (%d, %v)",
    					whence, offset, gotOff, gotErr, 0, ErrWhence)
    			}
    		}
    	})
    
    	// Should throw error errOffset if offset is negative
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:04:41 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  6. pkg/wasm/convert_test.go

    					t.Errorf("wasm config conversion output index %d got %v want %v", i, ec, c.wantOutput[i])
    				}
    			}
    			if c.wantErr && gotErr == nil {
    				t.Error("wasm config conversion fails to raise an error")
    			} else if !c.wantErr && gotErr != nil {
    				t.Errorf("wasm config conversion got unexpected error: %v", gotErr)
    			}
    		})
    	}
    }
    
    func buildTypedStructExtensionConfig(name string, wasm *wasm.Wasm) *core.TypedExtensionConfig {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_mounter.go

    	)
    
    	switch {
    	case volSrc != nil:
    		if c.volumeLifecycleMode != storage.VolumeLifecycleEphemeral {
    			return fmt.Errorf("unexpected volume mode: %s", c.volumeLifecycleMode)
    		}
    		if volSrc.FSType != nil {
    			fsType = *volSrc.FSType
    		}
    
    		volAttribs = volSrc.VolumeAttributes
    
    		if volSrc.NodePublishSecretRef != nil {
    			secretName := volSrc.NodePublishSecretRef.Name
    			ns := c.pod.Namespace
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (1)
  8. src/net/rpc/server.go

    		return errors.New("rpc: service already defined: " + sname)
    	}
    	return nil
    }
    
    // suitableMethods returns suitable Rpc methods of typ. It will log
    // errors if logErr is true.
    func suitableMethods(typ reflect.Type, logErr bool) map[string]*methodType {
    	methods := make(map[string]*methodType)
    	for m := 0; m < typ.NumMethod(); m++ {
    		method := typ.Method(m)
    		mtype := method.Type
    		mname := method.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_plugin.go

    	_ volume.VolumeOptions) (volume.Mounter, error) {
    
    	volSrc, pvSrc, err := getSourceFromSpec(spec)
    	if err != nil {
    		return nil, err
    	}
    
    	var (
    		driverName   string
    		volumeHandle string
    		readOnly     bool
    	)
    
    	switch {
    	case volSrc != nil:
    		volumeHandle = makeVolumeHandle(string(pod.UID), spec.Name())
    		driverName = volSrc.Driver
    		if volSrc.ReadOnly != nil {
    			readOnly = *volSrc.ReadOnly
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver.go

    		return err
    	}
    
    	log.Debugf("sending delete pod to ztunnel: %s %v", uid, r)
    
    	var delErr []error
    
    	z.conns.mu.Lock()
    	defer z.conns.mu.Unlock()
    	for conn := range z.conns.connectionSet {
    		_, err := conn.send(ctx, data, nil)
    		if err != nil {
    			delErr = append(delErr, err)
    		}
    	}
    	return errors.Join(delErr...)
    }
    
    func podToWorkload(pod *v1.Pod) *zdsapi.WorkloadInfo {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top