Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for satconv (0.4 sec)

  1. cmd/peer-rest-server.go

    	if !ok {
    		s.writeErrorResponse(w, errAuthentication)
    		return
    	}
    
    	size, err := strconv.Atoi(sizeStr)
    	if err != nil {
    		size = 64 * humanize.MiByte
    	}
    
    	concurrent, err := strconv.Atoi(concurrentStr)
    	if err != nil {
    		concurrent = 32
    	}
    
    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. cmd/kubelet/app/server.go

    	"k8s.io/mount-utils"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
    	otelsdkresource "go.opentelemetry.io/otel/sdk/resource"
    	semconv "go.opentelemetry.io/otel/semconv/v1.12.0"
    	oteltrace "go.opentelemetry.io/otel/trace"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier.go

    				"-d", svcInfo.ClusterIP().String(),
    				"--dport", strconv.Itoa(svcInfo.Port()),
    				"-j", string(internalTrafficChain))
    		} else {
    			// No endpoints.
    			filterRules.Write(
    				"-A", string(kubeServicesChain),
    				"-m", "comment", "--comment", internalTrafficFilterComment,
    				"-m", protocol, "-p", protocol,
    				"-d", svcInfo.ClusterIP().String(),
    				"--dport", strconv.Itoa(svcInfo.Port()),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  4. pkg/proxy/nftables/proxier.go

    					protocol,
    					strconv.Itoa(svcInfo.Port()),
    				},
    				Value: []string{
    					fmt.Sprintf("goto %s", internalTrafficChain),
    				},
    			})
    		} else {
    			// No endpoints.
    			tx.Add(&knftables.Element{
    				Map: noEndpointServicesMap,
    				Key: []string{
    					svcInfo.ClusterIP().String(),
    					protocol,
    					strconv.Itoa(svcInfo.Port()),
    				},
    				Value: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. plugin/pkg/admission/limitranger/admission_test.go

    			Image:     "foo:V" + strconv.Itoa(i),
    			Resources: resources,
    			Name:      "foo-" + strconv.Itoa(i),
    		})
    	}
    	return pod
    }
    
    func validPodInit(pod api.Pod, resources ...api.ResourceRequirements) api.Pod {
    	for i := 0; i < len(resources); i++ {
    		pod.Spec.InitContainers = append(pod.Spec.InitContainers, api.Container{
    			Image:     "foo:V" + strconv.Itoa(i),
    			Resources: resources[i],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_workers_test.go

    			podWorkers.UpdatePod(UpdatePodOptions{
    				Pod:        newNamedPod(strconv.Itoa(j), "ns", strconv.Itoa(i), false),
    				UpdateType: kubetypes.SyncPodCreate,
    			})
    		}
    	}
    	drainWorkers(podWorkers, numPods)
    
    	if len(processed) != numPods {
    		t.Fatalf("Not all pods processed: %v", len(processed))
    	}
    	for i := 0; i < numPods; i++ {
    		uid := types.UID(strconv.Itoa(i))
    		events := processed[uid]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  7. src/math/big/int_test.go

    		var x Int
    		_, ok := x.SetString(s, 0)
    		if !ok {
    			t.Errorf("SetString(%s, 0) failed", s)
    			continue
    		}
    
    		want, err := strconv.ParseInt(s, 0, 64)
    		if err != nil {
    			if err.(*strconv.NumError).Err == strconv.ErrRange {
    				if x.IsInt64() {
    					t.Errorf("IsInt64(%s) succeeded unexpectedly", s)
    				}
    			} else {
    				t.Errorf("ParseInt(%s) failed", s)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  8. src/encoding/json/decode_test.go

    		f        float64
    		floatErr string
    	}{
    		{CaseName: Name(""), in: "-1.23e1", intErr: "strconv.ParseInt: parsing \"-1.23e1\": invalid syntax", f: -1.23e1},
    		{CaseName: Name(""), in: "-12", i: -12, f: -12.0},
    		{CaseName: Name(""), in: "1e1000", intErr: "strconv.ParseInt: parsing \"1e1000\": invalid syntax", floatErr: "strconv.ParseFloat: parsing \"1e1000\": value out of range"},
    	}
    	for _, tt := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	if err := store.Create(ctx, computePodKey(secondObj), secondObj, lastUpdatedObj, 0); err != nil {
    		t.Fatalf("Set failed: %v", err)
    	}
    
    	currentRV, _ := strconv.Atoi(storedObj.ResourceVersion)
    	lastUpdatedCurrentRV, _ := strconv.Atoi(lastUpdatedObj.ResourceVersion)
    
    	// TODO(jpbetz): Add exact test cases
    	tests := []struct {
    		name                 string
    		key                  string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  10. src/cmd/internal/testdir/testdir_test.go

    			singlefilepkgs = true
    		case "-t": // timeout in seconds
    			args = args[1:]
    			var err error
    			tim, err = strconv.Atoi(args[0])
    			if err != nil {
    				t.Fatalf("need number of seconds for -t timeout, got %s instead", args[0])
    			}
    			if s := os.Getenv("GO_TEST_TIMEOUT_SCALE"); s != "" {
    				timeoutScale, err := strconv.Atoi(s)
    				if err != nil {
    					t.Fatalf("failed to parse $GO_TEST_TIMEOUT_SCALE = %q as integer: %v", s, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top