Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,756 for valid (0.17 sec)

  1. cmd/kubeadm/app/constants/constants_test.go

    		{
    			svcSubnetList: "192.168.10.0/24",
    			expected:      "192.168.10.0/24",
    			expectedError: false,
    			name:          "valid: valid IPv4 range from single-stack",
    		},
    		{
    			svcSubnetList: "fd03::/112",
    			expected:      "fd03::/112",
    			expectedError: false,
    			name:          "valid: valid IPv6 range from single-stack",
    		},
    		{
    			svcSubnetList: "192.168.10.0/24,fd03::/112",
    			expected:      "192.168.10.0/24",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pkg/apis/node/validation/validation_test.go

    	tests := []struct {
    		name       string
    		scheduling *node.Scheduling
    		expectErrs int
    	}{{
    		name: "valid scheduling",
    		scheduling: &node.Scheduling{
    			NodeSelector: map[string]string{"valid": "yes"},
    			Tolerations: []core.Toleration{{
    				Key:      "valid",
    				Operator: core.TolerationOpExists,
    				Effect:   core.TaintEffectNoSchedule,
    			}},
    		},
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/testdata/mesh.status.yaml.golden

    kind: HTTPRoute
    metadata:
      creationTimestamp: null
      name: consumer-override
      namespace: default
    spec: null
    status:
      parents:
      - conditions:
        - lastTransitionTime: fake
          message: Route was valid
          reason: Accepted
          status: "True"
          type: Accepted
        - lastTransitionTime: fake
          message: All references resolved
          reason: ResolvedRefs
          status: "True"
          type: ResolvedRefs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/go/types/index.go

    	check.nonGeneric(nil, x)
    	if x.mode == invalid {
    		return false
    	}
    
    	// ordinary index expression
    	valid := false
    	length := int64(-1) // valid if >= 0
    	switch typ := under(x.typ).(type) {
    	case *Basic:
    		if isString(typ) {
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// an indexed string always yields a byte value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/cni-watcher_test.go

    func TestProcessAddEventGoodPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    	addEvent, err := processAddEvent(payload)
    
    	assert.NoError(t, err)
    	assert.Equal(t, valid, addEvent)
    }
    
    func TestProcessAddEventBadPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. tests/integration/security/jwt_test.go

    						opts.HTTP.Path = "/valid-aud"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    						opts.Check = check.Status(http.StatusForbidden)
    					},
    				},
    				{
    					name: "valid-aud",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/valid-aud"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  7. tools/bug-report/pkg/processlog/processlog.go

    func getTimeRange(logStr string, start, end time.Time) string {
    	var sb strings.Builder
    	write := false
    	for _, l := range strings.Split(logStr, "\n") {
    		t, _, _, valid := parseLog(l)
    		if valid {
    			write = false
    			if (t.Equal(start) || t.After(start)) && (t.Equal(end) || t.Before(end)) {
    				write = true
    			}
    		}
    		if write {
    			sb.WriteString(l)
    			sb.WriteString("\n")
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/runtime/runtime_test.go

    func TestRemoveContainers(t *testing.T) {
    	for _, tc := range []struct {
    		name        string
    		containers  []string
    		prepare     func(*fakeImpl)
    		shouldError bool
    	}{
    		{
    			name: "valid",
    		},
    		{
    			name:        "valid: two containers",
    			containers:  []string{"1", "2"},
    			shouldError: false,
    		},
    		{
    			name:       "invalid: remove pod sandbox fails",
    			containers: []string{"1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/listtype_test.go

    	if createErr == nil {
    		t.Fatalf("Expected validation errors, but did not get one")
    	}
    
    	t.Logf("Checking that valid fields DO NOT show in error")
    	for _, valid := range validListTypeFields {
    		if strings.Contains(createErr.Error(), valid) {
    			t.Errorf("unexpected error about %q: %v", valid, err)
    		}
    	}
    
    	t.Logf("Checking that invalid fields DO show in error")
    	for _, invalid := range invalidListTypeFields {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
Back to top