Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 268 for podapi (0.11 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    	t.Parallel()
    
    	type podAdd struct {
    		delay time.Duration
    	}
    
    	tests := []struct {
    		name             string
    		batchPeriod      time.Duration
    		adds             []podAdd
    		finalDelay       time.Duration
    		wantRequestCount int
    	}{
    		{
    			name:        "three adds with no batching",
    			batchPeriod: 0 * time.Second,
    			adds: []podAdd{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIPs: []corev1.PodIP{},
    			PodIP:  "",
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	fs := &fakeServer{}
    
    	server := &meshDataplane{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta1/api.pb.go

    		n += 1 + l + sovApi(uint64(l))
    	}
    	return n
    }
    
    func (m *ExampleResponse) Size() (n int) {
    	if m == nil {
    		return 0
    	}
    	var l int
    	_ = l
    	l = len(m.Error)
    	if l > 0 {
    		n += 1 + l + sovApi(uint64(l))
    	}
    	return n
    }
    
    func sovApi(x uint64) (n int) {
    	return (math_bits.Len64(x|1) + 6) / 7
    }
    func sozApi(x uint64) (n int) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 17:31:18 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  4. pkg/kubelet/container/testing/fake_runtime_helper.go

    	HostName        string
    	HostDomain      string
    	PodContainerDir string
    	Err             error
    }
    
    func (f *FakeRuntimeHelper) GenerateRunContainerOptions(_ context.Context, pod *v1.Pod, container *v1.Container, podIP string, podIPs []string) (*kubecontainer.RunContainerOptions, func(), error) {
    	var opts kubecontainer.RunContainerOptions
    	if len(container.TerminationMessagePath) != 0 {
    		opts.PodContainerDir = f.PodContainerDir
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 11:01:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2/api.pb.go

    		n += 1 + l + sovApi(uint64(l))
    	}
    	return n
    }
    
    func (m *ExampleResponse) Size() (n int) {
    	if m == nil {
    		return 0
    	}
    	var l int
    	_ = l
    	l = len(m.Error)
    	if l > 0 {
    		n += 1 + l + sovApi(uint64(l))
    	}
    	return n
    }
    
    func sovApi(x uint64) (n int) {
    	return (math_bits.Len64(x|1) + 6) / 7
    }
    func sozApi(x uint64) (n int) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 17:31:18 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    			// the CNI plugin chain, and have a PodIP.
    			//
    			// If PodIPs exists, it is preferred, otherwise fallback to PodIP.
    			//
    			// If we get to this point and have a pod that really and truly has no IP in either of those,
    			// it's not routable at this point and something is wrong/we should discard this event.
    			podIPs := util.GetPodIPsIfPresent(pod)
    			if len(podIPs) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodStatusResult.yaml

          waiting:
            message: messageValue
            reason: reasonValue
      message: messageValue
      nominatedNodeName: nominatedNodeNameValue
      phase: phaseValue
      podIP: podIPValue
      podIPs:
      - ip: ipValue
      qosClass: qosClassValue
      reason: reasonValue
      resize: resizeValue
      resourceClaimStatuses:
      - name: nameValue
        resourceClaimName: resourceClaimNameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. pkg/controller/deployment/recreate_test.go

    	rs.UID = types.UID(uid)
    	return rs
    }
    
    func podMapWithUIDs(uids []string) map[types.UID][]*v1.Pod {
    	podMap := make(map[types.UID][]*v1.Pod)
    	for _, uid := range uids {
    		podMap[types.UID(uid)] = []*v1.Pod{
    			{ /* supposedly a pod */ },
    			{ /* supposedly another pod pod */ },
    		}
    	}
    	return podMap
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json

        "reason": "reasonValue",
        "nominatedNodeName": "nominatedNodeNameValue",
        "hostIP": "hostIPValue",
        "hostIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "podIP": "podIPValue",
        "podIPs": [
          {
            "ip": "ipValue"
          }
        ],
        "startTime": "2007-01-01T01:01:01Z",
        "initContainerStatuses": [
          {
            "name": "nameValue",
            "state": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. istioctl/pkg/metrics/metrics.go

    	var err error
    	sm := workloadMetrics{workload: workload}
    	sm.totalRPS, err = vectorValue(promAPI, rpsQuery)
    	if err != nil {
    		me = multierror.Append(me, err)
    	}
    
    	sm.errorRPS, err = vectorValue(promAPI, errRPSQuery)
    	if err != nil {
    		me = multierror.Append(me, err)
    	}
    
    	p50Latency, err := getLatency(promAPI, wname, wns, duration, 0.5)
    	if err != nil {
    		me = multierror.Append(me, err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top