- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for NoError (0.18 sec)
-
cni/pkg/nodeagent/net_test.go
netip.MustParseAddr("99.9.9.9"), uint8(unix.IPPROTO_TCP), string(podMeta.UID), true, ).Return(nil) err := netServer.AddPodToMesh(ctx, &corev1.Pod{ObjectMeta: podMeta}, podIPs, "fakenetns") assert.NoError(t, err) assert.Equal(t, 1, ztunnelServer.addedPods.Load()) } func TestServerRemovePod(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() setupLogging()
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 14.3K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
// read the msg to delete from ztunnel m, fds = readRequest(t, ztunClient) assert.Equal(t, len(fds), 0) assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Del).Del.Uid, uid) sendAck(ztunClient) assert.NoError(t, <-errChan) ztunClient.Close() // this will retry for a bit, so shouldn't flake mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(0)) } func TestZtunnelPodAdded(t *testing.T) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
Namespace: "default", })) cmd.SetArgs([]string{ "all", "-f", "testdata/config_dump.json", }) out := bytes.Buffer{} cmd.SetOut(&out) assert.NoError(t, cmd.Execute()) expected := util.ReadFile(t, "testdata/config_dump_summary.txt") if err := assert.Compare(out.String(), string(expected)); err != nil {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 8.9K bytes - Viewed (0) -
cmd/admin-heal-ops.go
ClientToken: clientToken, ClientAddress: h.clientAddress, StartTime: h.startTime, }) if err != nil { bugLogIf(h.ctx, err) return nil, toAdminAPIErr(h.ctx, err), "" } return b, noError, "" } // PopHealStatusJSON - Called by heal-status API. It fetches the heal // status results from global state and returns its JSON // representation. The clientToken helps ensure there aren't
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 25.1K bytes - Viewed (1) -
cmd/api-errors.go
} } return apiErr } var noError = APIError{} // toAPIError - Converts embedded errors. Convenience // function written to handle all cases where we have known types of // errors returned by underlying layers. func toAPIError(ctx context.Context, err error) APIError { if err == nil { return noError } apiErr := errorCodes.ToAPIErr(toAPIErrorCode(ctx, err))
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 90.6K bytes - Viewed (6) -
cmd/test-utils_test.go
} if toStorageErr(nil) != nil { t.Errorf("Test expected to return nil, failed instead got a non-nil value %s", toStorageErr(nil)) } ctx := context.Background() if toAPIError(ctx, nil) != noError { t.Errorf("Test expected error code to be ErrNone, failed instead provided %s", toAPIError(ctx, nil).Code) } } // Uploads an object using DummyDataGen directly via the http
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:06:57 GMT 2024 - 75.7K bytes - Viewed (0) -
cmd/site-replication.go
if err != nil { return err } sameTarget, apiErr := validateReplicationDestination(ctx, bucket, newReplicationConfig, true) if apiErr != noError { return fmt.Errorf("bucket replication config validation error: %#v", apiErr) } err = newReplicationConfig.Validate(bucket, sameTarget) if err != nil { return err }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 184.1K bytes - Viewed (1) -
cmd/admin-handlers.go
// Send whitespace and keep connection open if _, err := w.Write([]byte(" ")); err != nil { return } w.(http.Flusher).Flush() case hr := <-respCh: switch hr.apiErr { case noError: if started { if _, err := w.Write(hr.respBytes); err != nil { return } w.(http.Flusher).Flush() } else { writeSuccessResponseJSON(w, hr.respBytes) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 97.3K bytes - Viewed (2) -
docs/metrics/prometheus/list.md
| `minio_node_drive_errors_timeout` | Total number of drive timeout errors since server start | | `minio_node_drive_errors_ioerror` | Total number of drive I/O errors since server start | | `minio_node_drive_errors_availability` | Total number of drive I/O errors, timeouts since server start |
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 25 22:01:31 GMT 2024 - 43.4K bytes - Viewed (2) -
cmd/metrics-v2.go
Type: counterMetric, } } func getNodeDriveIOErrorsMD() MetricDescription { return MetricDescription{ Namespace: nodeMetricNamespace, Subsystem: driveSubsystem, Name: "errors_ioerror", Help: "Total number of drive I/O errors since server start", Type: counterMetric, } } func getNodeDriveAvailabilityErrorsMD() MetricDescription { return MetricDescription{
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 25 22:01:31 GMT 2024 - 132.6K bytes - Viewed (0)