- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 203 for desc3 (0.06 sec)
-
operator/pkg/patch/patch_test.go
a: b: - name: n1 value: v1 - name: n2 list: - v1 - v2 - v3_regex c: ` tests := []struct { desc string path string value string want string wantErr string }{ { desc: "ModifyListEntryValue", path: `a.b.[name:n1].value`, value: `v2`, want: ` apiVersion: apps/v1 kind: Deployment metadata: name: istio-citadel
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Nov 29 08:32:11 UTC 2022 - 10.3K bytes - Viewed (0) -
pkg/kubelet/kubeletconfig/util/files/files_test.go
cases := []test{ { desc: "regular file", writes: []file{{name: "foo", data: "bar"}}, expects: []file{{name: "foo", data: "bar"}}, }, { desc: "directory", writes: []file{{name: "foo", mode: os.ModeDir}}, expects: []file{{name: "foo", mode: os.ModeDir}}, }, { desc: "deep regular file", writes: []file{{name: "foo/bar", data: "baz"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 07 11:36:13 UTC 2022 - 11.7K bytes - Viewed (0) -
operator/pkg/object/objects_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 21 07:16:46 UTC 2023 - 18.4K bytes - Viewed (0) -
operator/pkg/compare/compare_test.go
) func TestYAMLCmp(t *testing.T) { tests := []struct { desc string a string b string want any }{ { desc: "empty string into nil", a: `metadata: ""`, b: `metadata: `, want: ``, }, { desc: "empty array into nil", a: `metadata: []`, b: `metadata: `, want: ``, }, { desc: "empty map into nil", a: `metadata: {}`,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 21 02:18:20 UTC 2022 - 33K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns_test.go
}, } testCases := []struct { desc string hostNames []string resultSearch []string events []string }{ { desc: "valid: 3 search paths", hostNames: []string{"testNS.svc.TEST", "svc.TEST", "TEST"}, resultSearch: []string{"testNS.svc.TEST", "svc.TEST", "TEST"}, events: []string{}, }, { desc: "valid: 5 search paths",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 25.6K bytes - Viewed (0) -
pilot/pkg/model/extensions_test.go
} } func TestFailStrategy(t *testing.T) { cases := []struct { desc string in *extensions.WasmPlugin out bool }{ { desc: "close", in: &extensions.WasmPlugin{ Url: "file://fake.wasm", FailStrategy: extensions.FailStrategy_FAIL_CLOSE, }, out: false, }, { desc: "open", in: &extensions.WasmPlugin{ Url: "file://fake.wasm",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 14.4K bytes - Viewed (0) -
operator/pkg/util/reflect_test.go
tests := []struct { desc string function func(v reflect.Value) bool okValues []any }{ { desc: "IsValuePtr", function: IsValuePtr, okValues: []any{&testInt, &testStruct, &testSlice, &testMap}, }, { desc: "IsValueStruct", function: IsValueStruct, okValues: []any{testStruct}, }, { desc: "IsValueInterface",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 10.2K bytes - Viewed (0) -
common/config/.golangci.yml
desc: "use istio.io/istio/pkg/slices" - pkg: k8s.io/utils/pointer desc: "use istio.io/istio/pkg/ptr" - pkg: go.opencensus.io desc: "do not use OpenCensus; use OpenTelemetry instead" - pkg: golang.org/x/exp/maps desc: "do not use golang.org/x/exp/maps; use istio.io/istio/pkg/maps instead" - pkg: maps
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 20:03:06 UTC 2024 - 11.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go
testCases := []struct { desc string initialVerb string suggestedVerb string request *http.Request requestInfo *request.RequestInfo expectedVerb string }{ { desc: "An empty string should be designated as unknown", initialVerb: "", request: nil, expectedVerb: "other", }, { desc: "LIST should normally map to LIST",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 07:29:19 UTC 2023 - 14.3K bytes - Viewed (0) -
src/testing/sub_test.go
} ok := root.Run(tc.desc, tc.f) ctx.release() if ok != tc.ok { t.Errorf("%s:ok: got %v; want %v", tc.desc, ok, tc.ok) } if ok != !root.Failed() { t.Errorf("%s:root failed: got %v; want %v", tc.desc, !ok, root.Failed()) } if ctx.running != 0 || ctx.numWaiting != 0 { t.Errorf("%s:running and waiting non-zero: got %d and %d", tc.desc, ctx.running, ctx.numWaiting) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 21:27:08 UTC 2023 - 23.8K bytes - Viewed (0)