- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for failed (0.16 sec)
-
istioctl/pkg/util/handlers/handlers.go
NamespaceParam(ns).DefaultNamespace(). SingleResourceType() builder.ResourceNames("pods", resname) infos, err := builder.Do().Infos() if err != nil { return nil, "", "", "", fmt.Errorf("failed retrieving: %v in the %q namespace", err, ns) } if len(infos) != 1 { return nil, "", "", "", errors.New("expected a resource") } _, ok := infos[0].Object.(*corev1.Pod) if ok {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
internal/grid/handlers.go
// This may only be set ONCE before use. func (h *SingleHandler[Req, Resp]) IgnoreNilConn() *SingleHandler[Req, Resp] { if h.ignoreNilConn { gridLogOnceIf(context.Background(), fmt.Errorf("%s: IgnoreNilConn called twice", h.id.String()), h.id.String()+"IgnoreNilConn") } h.ignoreNilConn = true return h } // WithSharedResponse indicates it is unsafe to reuse the response // when it has been returned on a handler.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 26.9K bytes - Viewed (0)