- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 107 for expectedly (0.18 sec)
-
security/pkg/k8s/configutil_test.go
Namespace: namespace, }, Data: data, } } func checkActions(actual, expected []ktesting.Action) error { if len(actual) != len(expected) { return fmt.Errorf("unexpected number of actions, want %d but got %d, %v", len(expected), len(actual), actual) } for i, action := range actual { expectedAction := expected[i] verb := expectedAction.GetVerb() resource := expectedAction.GetResource().Resource
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
security/pkg/pki/util/generate_csr_test.go
} } func TestGenCSRTemplateForDualUse(t *testing.T) { tt := map[string]struct { host string expectedCN string }{ "Single host": { host: "bla.com", expectedCN: "bla.com", }, "Multiple hosts": { host: "a.org,b.net,c.groups", expectedCN: "a.org", }, } for _, tc := range tt { opts := CertOptions{ Host: tc.host,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 25 09:40:13 UTC 2022 - 5.5K bytes - Viewed (0) -
pkg/kubelet/cm/cgroup_manager_linux_test.go
ab := NewCgroupName(a, "b") expectedAB := CgroupName([]string{"a", "", "b"}) if !reflect.DeepEqual(ab, expectedAB) { t.Errorf("Expected %d%+v; got %d%+v", len(expectedAB), expectedAB, len(ab), ab) } abc := NewCgroupName(ab, "c") expectedABC := CgroupName([]string{"a", "", "b", "c"}) if !reflect.DeepEqual(abc, expectedABC) { t.Errorf("Expected %d%+v; got %d%+v", len(expectedABC), expectedABC, len(abc), abc)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 6.1K bytes - Viewed (0) -
tests/integration/security/util/secret/secret.go
const IstioDNSSecretType = "istio.io/dns-key-and-cert" // ExamineDNSSecretOrFail calls ExamineDNSSecret and fails t if an error occurs. func ExamineDNSSecretOrFail(t test.Failer, secret *v1.Secret, expectedID string) { t.Helper() if err := ExamineDNSSecret(secret, expectedID); err != nil { t.Fatal(err) } } // ExamineDNSSecret examines the content of a secret containing DNS secret to make sure that // * Secret type is correctly set;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 22 04:04:14 UTC 2023 - 2.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/arguments_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 8.9K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
}, }, } for _, podIn := range podsIn { expected := podStart expected.ResourceVersion = "2" grace := int64(30) enableServiceLinks := v1.DefaultEnableServiceLinks expected.Spec.TerminationGracePeriodSeconds = &grace expected.Spec.RestartPolicy = api.RestartPolicyAlways expected.Spec.DNSPolicy = api.DNSClusterFirst expected.Spec.EnableServiceLinks = &enableServiceLinks
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
src/crypto/elliptic/p256_test.go
y, _ := new(big.Int).SetString(e.yIn, 16) k, _ := new(big.Int).SetString(e.k, 16) expectedX, _ := new(big.Int).SetString(e.xOut, 16) expectedY, _ := new(big.Int).SetString(e.yOut, 16) xx, yy := p256.ScalarMult(x, y, k.Bytes()) if xx.Cmp(expectedX) != 0 || yy.Cmp(expectedY) != 0 { t.Errorf("#%d: got (%x, %x), want (%x, %x)", i, xx, yy, expectedX, expectedY) } } } type synthCombinedMult struct { Curve }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 16:58:48 UTC 2022 - 4.2K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke_test.go
t.Errorf("unexpected shared secret, got: %x, want %x", context.sharedSecret, expectedSharedSecret) } expectedKey := mustDecodeHex(t, setup["key"]) if !bytes.Equal(context.key, expectedKey) { t.Errorf("unexpected key, got: %x, want %x", context.key, expectedKey) } expectedBaseNonce := mustDecodeHex(t, setup["base_nonce"]) if !bytes.Equal(context.baseNonce, expectedBaseNonce) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 4.7K bytes - Viewed (0) -
cni/test/testdata/expected/minikube_cni.conflist.expected
Ben Leggett <******@****.***> 1716316321 -0400
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 875 bytes - Viewed (0) -
security/pkg/server/ca/authenticate/kubeauth/kube_jwt_test.go
invlidToken := "invalid-token" meshHolder := mockMeshConfigHolder{"example.com"} testCases := map[string]struct { remoteCluster bool metadata metadata.MD token string expectedID string expectedErrMsg string }{ "No bearer token": { metadata: metadata.MD{ "clusterid": []string{primaryCluster}, "authorization": []string{ "Basic callername", }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 6.1K bytes - Viewed (0)