Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for error (0.16 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    			case err == nil:
    				log.Warn("ztunnel protocol error, unexpected message")
    				return fmt.Errorf("ztunnel protocol error, unexpected message")
    			default:
    				// we get here if error is deadline exceeded, which means ztunnel is alive.
    			}
    
    		case <-ctx.Done():
    			return nil
    		}
    	}
    }
    
    func (z *ztunnelServer) PodDeleted(ctx context.Context, uid string) error {
    	r := &zdsapi.WorkloadRequest{
    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)
  2. istioctl/pkg/dashboard/dashboard.go

    		Aliases: []string{"dash", "d"},
    		Short:   "Access to Istio web UIs",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown dashboard %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return 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)
  3. cni/pkg/iptables/iptables.go

    func (cfg *IptablesConfigurator) addLoopbackRoute() error {
    	return cfg.nlDeps.AddLoopbackRoutes(cfg.cfg)
    }
    
    func (cfg *IptablesConfigurator) delLoopbackRoute() error {
    	return cfg.nlDeps.DelLoopbackRoutes(cfg.cfg)
    }
    
    func (cfg *IptablesConfigurator) addInpodMarkIPRule() error {
    	return cfg.nlDeps.AddInpodMarkIPRule(cfg.cfg)
    }
    
    func (cfg *IptablesConfigurator) delInpodMarkIPRule() error {
    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)
  4. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) flush(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) clearEntriesWithComment(name, comment string) error {
    	args := m.Called(name, comment)
    	return args.Error(0)
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. istioctl/pkg/completion/completion.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/kube"
    )
    
    func getPodsNameInDefaultNamespace(ctx cli.Context, toComplete string) ([]string, error) {
    	client, err := ctx.CLIClient()
    	if err != nil {
    		return nil, err
    	}
    	ns := ctx.NamespaceOrDefault(ctx.Namespace())
    	podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{})
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/policies.go

    			return false
    		}
    	}
    
    	return true
    }
    
    // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	pols := slices.Filter(maps.Values(zDump.Policies), filter.Verify)
    	slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

          "certChain": []
        },
        {
          "identity": "spiffe://cluster.local/ns/istio-system/sa/istiod",
          "state": "Unavailable: signing gRPC error (The service is currently unavailable): error trying to connect: TLS handshake failed: cert verification failed - unable to get local issuer certificate [CERTIFICATE_VERIFY_FAILED]",
          "certChain": []
        }
      ]
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	debug, err := extractZtunnelConfigDump(kubeClient, podName, podNamespace)
    	if err != nil {
    		return nil, err
    	}
    	return setupConfigdumpZtunnelConfigWriter(debug, out)
    }
    
    func readFile(filename string) ([]byte, error) {
    	file := os.Stdin
    	if filename != "-" {
    		var err error
    		file, err = os.Open(filename)
    		if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    	if !response.Status.Allowed {
    		if len(response.Status.Reason) > 0 {
    			return errors.New(response.Status.Reason)
    		}
    		return errors.New("permission denied")
    	}
    	return nil
    }
    
    func checkServerVersion(cli kube.CLIClient) (diag.Messages, error) {
    	v, err := cli.GetKubernetesVersion()
    	if err != nil {
    		return nil, fmt.Errorf("failed to get the Kubernetes version: %v", err)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top