Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for expectedIds (0.5 sec)

  1. src/cmd/internal/buildid/buildid_test.go

    		}
    		defer os.Remove(f)
    		id, err := ReadFile(f)
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(testdata/%s) = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    		old := readSize
    		readSize = 2048
    		id, err = ReadFile(f)
    		readSize = old
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(%s) [readSize=2k] = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    
    		data, err := os.ReadFile(f)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. pkg/apis/policy/v1/zz_generated.conversion.go

    	out.DisruptionsAllowed = in.DisruptionsAllowed
    	out.CurrentHealthy = in.CurrentHealthy
    	out.DesiredHealthy = in.DesiredHealthy
    	out.ExpectedPods = in.ExpectedPods
    	out.Conditions = *(*[]metav1.Condition)(unsafe.Pointer(&in.Conditions))
    	return nil
    }
    
    // Convert_v1_PodDisruptionBudgetStatus_To_policy_PodDisruptionBudgetStatus is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 22:32:27 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1beta1_test.go

    				t.Errorf("Plugin returned incorrect user. Got %#v, expected %#v",
    					resp.User, tt.expectedUser)
    			}
    			if resp != nil && tt.expectedAuds != nil && !reflect.DeepEqual(resp.Audiences, tt.expectedAuds) {
    				t.Errorf("Plugin returned incorrect audiences. Got %#v, expected %#v",
    					resp.Audiences, tt.expectedAuds)
    			}
    		})
    	}
    }
    
    type authenticationV1beta1UserInfo authenticationv1beta1.UserInfo
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 19.2K bytes
    - Viewed (0)
  4. cluster/addons/calico-policy-controller/hostendpoints-crd.yaml

              metadata:
                type: object
              spec:
                description: HostEndpointSpec contains the specification for a HostEndpoint
                  resource.
                properties:
                  expectedIPs:
                    description: "The expected IP addresses (IPv4 and IPv6) of the endpoint.
                      If \"InterfaceName\" is not present, Calico will look for an interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  5. pilot/pkg/xds/pushqueue_test.go

    		}
    		expectedEds := sets.New(
    			model.ConfigKey{
    				Kind:      kind.ServiceEntry,
    				Name:      "foo",
    				Namespace: "",
    			},
    			model.ConfigKey{
    				Kind:      kind.ServiceEntry,
    				Name:      "bar",
    				Namespace: "ns1",
    			},
    		)
    		if !reflect.DeepEqual(model.ConfigsOfKind(info.ConfigsUpdated, kind.ServiceEntry), expectedEds) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.json

      },
      "status": {
        "observedGeneration": 1,
        "disruptedPods": {
          "disruptedPodsKey": null
        },
        "disruptionsAllowed": 3,
        "currentHealthy": 4,
        "desiredHealthy": 5,
        "expectedPods": 6,
        "conditions": [
          {
            "type": "typeValue",
            "status": "statusValue",
            "observedGeneration": 3,
            "lastTransitionTime": "2004-01-01T01:01:01Z",
            "reason": "reasonValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. pkg/volume/git_repo/git_repo_test.go

    	}
    
    	if fake.CommandCalls != len(expecteds) {
    		allErrs = append(allErrs,
    			fmt.Errorf("unexpected command calls in scenario: expected %d, saw: %d", len(expecteds), fake.CommandCalls))
    	}
    	var expectedCmds [][]string
    	for _, expected := range expecteds {
    		expectedCmds = append(expectedCmds, expected.cmd)
    	}
    	if !reflect.DeepEqual(expectedCmds, fcmd.CombinedOutputLog) {
    		allErrs = append(allErrs,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. pkg/apis/policy/v1beta1/zz_generated.conversion.go

    	out.DisruptedPods = *(*map[string]v1.Time)(unsafe.Pointer(&in.DisruptedPods))
    	out.DisruptionsAllowed = in.DisruptionsAllowed
    	out.CurrentHealthy = in.CurrentHealthy
    	out.DesiredHealthy = in.DesiredHealthy
    	out.ExpectedPods = in.ExpectedPods
    	out.Conditions = *(*[]v1.Condition)(unsafe.Pointer(&in.Conditions))
    	return nil
    }
    
    // Convert_v1beta1_PodDisruptionBudgetStatus_To_policy_PodDisruptionBudgetStatus is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. pkg/volume/iscsi/iscsi_test.go

    						},
    					},
    				},
    			},
    			expectedName:  "",
    			expectedNs:    "",
    			expectedError: nil,
    		},
    	}
    	for _, testcase := range tests {
    		resultName, resultNs, err := getISCSISecretNameAndNamespace(testcase.spec, testcase.defaultNs)
    		if err != testcase.expectedError || resultName != testcase.expectedName || resultNs != testcase.expectedNs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  10. pkg/registry/policy/poddisruptionbudget/storage/storage_test.go

    	if pdb.Spec.MinAvailable.IntValue() != 7 {
    		t.Errorf("we expected .spec.replicas to not be updated but it was updated to %v", pdb.Spec.MinAvailable)
    	}
    	if pdb.Status.ExpectedPods != 8 {
    		t.Errorf("we expected .status.replicas to be updated to %d but it was %v", 7, pdb.Status.ExpectedPods)
    	}
    }
    
    func TestGet(t *testing.T) {
    	storage, _, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top