- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for case2 (0.04 sec)
-
cmd/api-errors.go
case PrefixAccessDenied: apiErr = ErrAccessDenied case BucketNameInvalid: apiErr = ErrInvalidBucketName case BucketNotFound: apiErr = ErrNoSuchBucket case BucketAlreadyOwnedByYou: apiErr = ErrBucketAlreadyOwnedByYou case BucketNotEmpty: apiErr = ErrBucketNotEmpty case BucketAlreadyExists: apiErr = ErrBucketAlreadyExists case BucketExists: apiErr = ErrBucketAlreadyOwnedByYou
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 92.1K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
return &model.Proxy{ConfigNamespace: ns} } cases := []struct { name string cfg []Configer proxy *model.Proxy routeName string expected map[string][]string expectedGateway map[string][]string oldestWins bool }{ // Port 80 has special cases as there is defaulting logic around this port { name: "simple port 80",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
cmd/iam.go
defer cancel() switch { case usersPrefix: accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigUsersPrefix)) err = sys.store.UserNotificationHandler(ctx, accessKey, regUser) case stsPrefix: accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigSTSPrefix)) err = sys.store.UserNotificationHandler(ctx, accessKey, stsUser) case svcPrefix:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 71.9K bytes - Viewed (0) -
cmd/iam-store.go
} switch opts.status { // The caller did not ask to update status account, do nothing case "": case string(madmin.AccountEnabled): cr.Status = auth.AccountOn case string(madmin.AccountDisabled): cr.Status = auth.AccountOff // Update account status case auth.AccountOn, auth.AccountOff: cr.Status = opts.status default:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 75.8K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
len1, len2 := getURILength(m1), getURILength(m2) switch { // 1: Exact/Prefix/Regex case r1 != r2: return r1 > r2 case len1 != len2: return len1 > len2 // 2: method math case (m1.Method == nil) != (m2.Method == nil): return m1.Method != nil // 3: number of header matches case len(m1.Headers) != len(m2.Headers): return len(m1.Headers) > len(m2.Headers) // 4: number of query matches
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
pilot/pkg/model/telemetry_logging_test.go
celFormatter, }, }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { got := accessLogJSONFormatters(tc.json) assert.Equal(t, tc.expected, got) }) } } func TestAccessLogTextFormatters(t *testing.T) { cases := []struct { name string text string expected []*core.TypedExtensionConfig }{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 54K bytes - Viewed (0) -
cmd/bucket-handlers.go
v := strings.ToLower(vs) switch v { case "true", "false": objectLockEnabled = v == "true" default: writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL) return } } forceCreate := false if vs := r.Header.Get(xhttp.MinIOForceCreate); len(vs) > 0 { v := strings.ToLower(vs) switch v { case "true", "false": forceCreate = v == "true" default:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 61.2K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
anyPorts := append(privilegedPorts, unprivilegedPorts...) // multiple test cases to ensure that privileged ports get treated differently // only under certain conditions, namely // 1) proxy explicitly indicated it is not using Iptables // 2) proxy explicitly indicated it is not a privileged process (cannot bind to 1-1023) cases := []struct { name string unprivileged bool // whether proxy is unprivileged
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
}, } return pod, status } func TestComputePodActions(t *testing.T) { _, _, m, err := createTestRuntimeManager() require.NoError(t, err) // Creating a pair reference pod and status for the test cases to refer // the specific fields. basePod, baseStatus := makeBasePodAndStatus() noAction := podActions{ SandboxID: baseStatus.SandboxStatuses[0].Id, ContainersToStart: []int{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0)