- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 168 for errorCh (0.19 sec)
-
pkg/util/filesystem/watcher.go
if pollInterval <= 0 { panic(fmt.Errorf("pollInterval must be > 0")) } if eventHandler == nil { panic(fmt.Errorf("eventHandler must be non-nil")) } if errorHandler == nil { errorHandler = func(err error) {} } // Initialize watcher, fall back to no-op var ( eventsCh chan fsnotify.Event errorCh chan error watcher watchAddRemover )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 23:09:15 UTC 2024 - 5.7K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/grpcgen_test.go
t.Run("gRPC-resolve", func(t *testing.T) { rb := xdsresolver stateCh := make(chan resolver.State, 1) errorCh := make(chan error, 1) _, err := rb.Build(resolver.Target{URL: url.URL{ Scheme: "xds", Path: "/" + net.JoinHostPort(testSvcHost, xdsPorts), }}, &testClientConn{stateCh: stateCh, errorCh: errorCh}, resolver.BuildOptions{ Authority: testSvcHost, }) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:04:02 UTC 2024 - 16.9K bytes - Viewed (0) -
pilot/pkg/xds/delta.go
if err = s.globalPushContext().InitContext(s.Env, nil, nil); err != nil { // Error accessing the data - log and close, maybe a different pilot replica // has more luck deltaLog.Warnf("Error reading config %v", err) return status.Error(codes.Unavailable, "error reading config") } con := newDeltaConnection(peerAddr, stream)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 25.6K bytes - Viewed (0) -
pkg/xds/server.go
Watcher() Watcher // Initialize checks the first request. Initialize(node *core.Node) error // Close discards the connection. Close() // Process responds to a discovery request. Process(req *discovery.DiscoveryRequest) error // Push responds to a push event queue Push(ev any) error } func Stream(ctx ConnectionContext) error { con := ctx.XdsConnection()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 16.3K bytes - Viewed (0) -
security/pkg/pki/error/error_test.go
eType: -1, err: fmt.Errorf("test error5"), message: "UNKNOWN", code: codes.Internal, }, } for k, tc := range testCases { caErr := NewError(tc.eType, tc.err) if caErr.Error() != tc.err.Error() { t.Errorf("[%s] unexpected error: '%s' VS (expected)'%s'", k, caErr.Error(), tc.err.Error()) } if caErr.ErrorType() != tc.message {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
src/go/doc/testdata/error2.0.golden
// PACKAGE error2 IMPORTPATH testdata/error2 FILENAMES testdata/error2.go TYPES // type I0 interface { // contains filtered or unexported methods } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // contains filtered or unexported methods }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 337 bytes - Viewed (0) -
src/go/doc/testdata/error1.0.golden
// PACKAGE error1 IMPORTPATH testdata/error1 FILENAMES testdata/error1.go TYPES // type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // error should be visible error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 390 bytes - Viewed (0) -
src/go/doc/testdata/error1.2.golden
// PACKAGE error1 IMPORTPATH testdata/error1 FILENAMES testdata/error1.go TYPES // type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // error should be visible error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 390 bytes - Viewed (0) -
pkg/filewatcher/filewatcher_test.go
errors1 = w.Errors(watchFile1) g.Expect(errors1).To(BeNil()) events2 = w.Events(watchFile2) g.Expect(events2).To(BeNil()) errors2 = w.Errors(watchFile2) g.Expect(errors2).To(BeNil()) } func TestErrors(t *testing.T) { w := NewWatcher() if ch := w.Errors("XYZ"); ch != nil { t.Error("Expected no channel") } if ch := w.Events("XYZ"); ch != nil { t.Error("Expected no channel")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 7.9K bytes - Viewed (0)