- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 246 for errors (0.2 sec)
-
cni/pkg/nodeagent/netns_other.go
// limitations under the License. package nodeagent import "errors" func inodeForFd(n NetnsFd) (uint64, error) { return 0, errors.New("not implemented") } func NetnsSet(n NetnsFd) error { return errors.New("not implemented") } func OpenNetns(nspath string) (NetnsCloser, error) { return nil, errors.New("not implemented") } // inspired by netns.Do() but with an existing fd.
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Mar 14 09:32:25 GMT 2024 - 1K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
return err } if resp.GetAck().GetError() != "" { log.Errorf("add-workload: got ack error: %s", resp.GetAck().GetError()) return fmt.Errorf("got ack error: %s", resp.GetAck().GetError()) } return nil } // TODO ctx is unused here // nolint: unparam func (z *ztunnelServer) sendSnapshot(ctx context.Context, conn *ZtunnelConnection) error { snap := z.pods.ReadCurrentPodSnapshot() for uid, wl := range snap {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
// no calls to ztunnel if iptables failed assert.Equal(t, ztunnelServer.addedPods.Load(), 0) // error is not partial error if errors.Is(err, ErrPartialAdd) { t.Fatal("expected not a partial error") } } func TestConstructInitialSnap(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() setupLogging()
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/test/install_cni.go
if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) { // Error was caused by interrupt/termination signal t.Logf("installer complete: %v", err) } else { t.Errorf("installer failed: %v", err) } } if cleanErr := installer.Cleanup(); cleanErr != nil { t.Errorf("Error during test CNI installer cleanup, error was: %s", cleanErr) } }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
} } return errors.Join(execErrs...) } func (cfg *IptablesConfigurator) executeIptablesCommands(iptVer *dep.IptablesVersion, args [][]string) error { var iptErrs []error for _, argSet := range args { iptErrs = append(iptErrs, cfg.ext.Run(iptablesconstants.IPTables, iptVer, nil, argSet...)) } return errors.Join(iptErrs...) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 19.6K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
return fmt.Errorf("name cannot be provided when a selector is specified") } if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) } var podName, ns string if labelSelector != "" { pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector) if err != nil {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("generate accepts no positional arguments, got %#v", args) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { if kubeClientFunc == nil { kubeClientFunc = ctx.CLIClient } var kubeClient kube.CLIClient
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
cni/pkg/nodeagent/error.go
package nodeagent import ( "errors" "fmt" ) var ErrPartialAdd = errors.New("partial add error") type PartialAddError struct { inner error } func (e *PartialAddError) Error() string { return fmt.Sprintf("%s: %v", ErrPartialAdd.Error(), e.inner) } func (e *PartialAddError) Unwrap() []error { return []error{ErrPartialAdd, e.inner} }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1K bytes - Viewed (0) -
common-protos/k8s.io/api/core/v1/generated.proto
// Error is a human-readable description of the error state; machines can check whether or not Error // is empty, but should not rely on the stability of the Error text across Kubelet versions. // +optional optional string error = 4; } // NodeDaemonEndpoints lists ports opened by daemons running on the Node. message NodeDaemonEndpoints { // Endpoint on which Kubelet is listening. // +optional
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 255.8K bytes - Viewed (0) -
cni/pkg/iptables/iptables_unspecified.go
// limitations under the License. package iptables import ( "errors" ) func AddInpodMarkIPRule(cfg *Config) error { return errors.New("not implemented on this platform") } func DelInpodMarkIPRule(cfg *Config) error { return errors.New("not implemented on this platform") } func AddLoopbackRoutes(cfg *Config) error { return errors.New("not implemented on this platform") }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1K bytes - Viewed (0)