- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,756 for valid (0.05 sec)
-
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) -
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) -
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) -
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) -
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) -
tests/integration/security/jwt_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 25.3K bytes - Viewed (0) -
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) -
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) -
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) -
operator/pkg/util/common.go
func IsHTTPURL(path string) (bool, error) { u, err := url.Parse(path) valid := err == nil && u.Host != "" && (u.Scheme == "http" || u.Scheme == "https") if strings.HasPrefix(path, "http") && !valid { return false, fmt.Errorf("%s starts with http but is not a valid URL: %s", path, err) } return valid, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.2K bytes - Viewed (0)