Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 107 for expectedly (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption.go

    		return allErrs
    	}
    
    	for i, key := range keys {
    		allErrs = append(allErrs, validateKey(key, fieldPath.Index(i), expectedLen)...)
    	}
    
    	return allErrs
    }
    
    func validateKey(key apiserver.Key, fieldPath *field.Path, expectedLen []int) field.ErrorList {
    	allErrs := field.ErrorList{}
    
    	if key.Name == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/resources/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors-expected-output.txt

    Paul Merlin <******@****.***> 1690890212 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_test.go

    					t.Errorf("Unexpected AuditID in audit event, AuditID should be the same with Audit-ID http header")
    				}
    				if expectedID == types.UID("") {
    					expectedID = event.AuditID
    				} else if expectedID != event.AuditID {
    					t.Errorf("Audits for one request should share the same AuditID, %s differs from %s", expectedID, event.AuditID)
    				}
    				if event.ObjectRef.APIVersion != "v1" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  4. security/pkg/server/ca/authenticate/oidc_test.go

    		{
    			name:        "audience is in the expected set",
    			expectRet:   true,
    			audToCheck:  []string{"aud1"},
    			audExpected: []string{"aud1", "aud2"},
    		},
    		{
    			name:        "audience is NOT in the expected set",
    			expectRet:   false,
    			audToCheck:  []string{"aud3"},
    			audExpected: []string{"aud1", "aud2"},
    		},
    		{
    			name:        "one of the audiences is in the expected set",
    			expectRet:   true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/controller_test.go

    		},
    	}
    	httpRouteSpec = &k8s.HTTPRouteSpec{
    		CommonRouteSpec: k8s.CommonRouteSpec{ParentRefs: []k8s.ParentReference{{
    			Name: "gwspec",
    		}}},
    		Hostnames: []k8s.Hostname{"test.cluster.local"},
    	}
    
    	expectedgw = &networking.Gateway{
    		Servers: []*networking.Server{
    			{
    				Port: &networking.Port{
    					Number:   9009,
    					Name:     "default",
    					Protocol: "HTTP",
    				},
    				Hosts: []string{"*/*"},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 16:47:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/dra/claiminfo_test.go

    	for _, test := range []struct {
    		description string
    		claimInfo   *ClaimInfo
    		expectedLen int
    	}{
    		{
    			description: "successfully add pod reference",
    			claimInfo: &ClaimInfo{
    				ClaimInfoState: state.ClaimInfoState{
    					PodUIDs: sets.New[string](),
    				},
    			},
    			expectedLen: 1,
    		},
    		{
    			description: "duplicate pod reference",
    			claimInfo: &ClaimInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go

    	tests := []struct {
    		name     string
    		err      error
    		expected bool
    	}{
    		{
    			name:     "with no error",
    			expected: false,
    		},
    		{
    			name:     "with EOF error",
    			err:      io.EOF,
    			expected: true,
    		},
    		{
    			name:     "with unexpected EOF error",
    			err:      io.ErrUnexpectedEOF,
    			expected: true,
    		},
    		{
    			name:     "with broken connection error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:21:56 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  8. src/crypto/tls/conn_test.go

    		}
    		if good != expectedGood {
    			t.Errorf("#%d: wrong validity, want:%d got:%d", i, expectedGood, good)
    		}
    		if good == 255 && len(test.in)-paddingLen != test.expectedLen {
    			t.Errorf("#%d: got %d, want %d", i, len(test.in)-paddingLen, test.expectedLen)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go

    	if list, ok := in.(*unstructured.UnstructuredList); ok {
    		for i := range list.Items {
    			expectedGV := list.Items[i].GroupVersionKind().GroupVersion()
    			if !c.validVersions[expectedGV] {
    				return nil, fmt.Errorf("request to convert CR list failed, list index %d has invalid group/version: %s", i, expectedGV.String())
    			}
    		}
    	}
    	return c.converter.Convert(in, toGVK.GroupVersion())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/common_test.go

    			if len(cfg.APIServer.CertSANs) != len(test.out) {
    				t.Fatalf("expected %d elements, got %d", len(test.out), len(cfg.APIServer.CertSANs))
    			}
    
    			for i, expected := range test.out {
    				if cfg.APIServer.CertSANs[i] != expected {
    					t.Errorf("expected element %d to be %q, got %q", i, expected, cfg.APIServer.CertSANs[i])
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top