Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 91 for expectedIds (0.3 sec)

  1. pkg/kube/multicluster/secretcontroller_test.go

    	}
    	return s
    }
    
    func TestKubeConfigOverride(t *testing.T) {
    	var (
    		expectedQPS   = float32(100)
    		expectedBurst = 200
    	)
    	fakeRestConfig := &rest.Config{}
    	client := kube.NewFakeClient()
    	stopCh := test.NewStop(t)
    	c := NewController(client, secretNamespace, "", mesh.NewFixedWatcher(nil), func(cfg *rest.Config) {
    		cfg.QPS = expectedQPS
    		cfg.Burst = expectedBurst
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/policy/v1beta1/generated.pb.go

    				return fmt.Errorf("proto: wrong wireType = %d for field ExpectedPods", wireType)
    			}
    			m.ExpectedPods = 0
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return io.ErrUnexpectedEOF
    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.ExpectedPods |= int32(b&0x7F) << shift
    				if b < 0x80 {
    					break
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. pkg/proxy/util/nodeport_addresses_test.go

    				}
    
    				ips, err := npa.GetNodeIPs(nw)
    				expectedIPs := tc.expected[family].ips
    
    				// The fake InterfaceAddrs() never returns an error, so
    				// the only error GetNodeIPs will return is "no
    				// addresses found".
    				if err != nil {
    					t.Errorf("unexpected error: %v", err)
    				}
    				err = checkNodeIPs(expectedIPs, ips)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/virtualservice_test.go

    	configs := SelectVirtualServices(index, "some-ns", hostsByNamespace)
    	expectedVS := []string{
    		virtualService1.Name, virtualService2.Name, virtualService4.Name, virtualService7.Name,
    		virtualService8.Name, virtualService9.Name,
    	}
    	if len(expectedVS) != len(configs) {
    		t.Fatalf("Unexpected virtualService, got %d, expected %d", len(configs), len(expectedVS))
    	}
    	for i, config := range configs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  5. pkg/apis/policy/types.go

    	// current number of healthy pods
    	CurrentHealthy int32
    
    	// minimum desired number of healthy pods
    	DesiredHealthy int32
    
    	// total number of pods counted by this disruption budget
    	ExpectedPods int32
    
    	// Conditions contain conditions for PDB
    	// +optional
    	Conditions []metav1.Condition
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    		inputReaderData string
    		inputMd5        string
    		inputSHA256     string
    		inputDataSize   int64
    		// flag indicating whether the test should pass.
    		shouldPass bool
    		// expected error output.
    		expectedMd5   string
    		expectedError error
    	}{
    		// Test case  1-4.
    		// Cases with invalid bucket name.
    		{bucketName: ".test", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: .test")},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/policy/v1/generated.proto

      optional int32 currentHealthy = 4;
    
      // minimum desired number of healthy pods
      optional int32 desiredHealthy = 5;
    
      // total number of pods counted by this disruption budget
      optional int32 expectedPods = 6;
    
      // Conditions contain conditions for PDB. The disruption controller sets the
      // DisruptionAllowed condition. The following are known values for the reason field
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods_test.go

    		nodeIP      string
    		podIPs      []string
    		expectedIPs []string
    	}{
    		{
    			name:        "Simple",
    			nodeIP:      "",
    			podIPs:      []string{"10.0.0.1"},
    			expectedIPs: []string{"10.0.0.1"},
    		},
    		{
    			name:        "Dual-stack",
    			nodeIP:      "",
    			podIPs:      []string{"10.0.0.1", "fd01::1234"},
    			expectedIPs: []string{"10.0.0.1", "fd01::1234"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/policy/v1/types_swagger_doc_generated.go

    	"disruptionsAllowed": "Number of pod disruptions that are currently allowed.",
    	"currentHealthy":     "current number of healthy pods",
    	"desiredHealthy":     "minimum desired number of healthy pods",
    	"expectedPods":       "total number of pods counted by this disruption budget",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 20 23:36:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/policy/v1beta1/types_swagger_doc_generated.go

    	"disruptionsAllowed": "Number of pod disruptions that are currently allowed.",
    	"currentHealthy":     "current number of healthy pods",
    	"desiredHealthy":     "minimum desired number of healthy pods",
    	"expectedPods":       "total number of pods counted by this disruption budget",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top