Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Cannon (4.97 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    		redir.dnsRedirect, valErr = strconv.ParseBool(v)
    		if valErr != nil {
    			log.Warnf("cannot parse DNS capture environment variable %v", valErr)
    		}
    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_DUAL_STACK"]; found {
    		// parse and set the bool value of dnsRedirect
    		redir.dualStack, valErr = strconv.ParseBool(v)
    		if valErr != nil {
    			log.Warnf("cannot parse dual stack environment variable %v", valErr)
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. cni/pkg/log/uds_test.go

    	log.FindScope("default").SetOutputLevel(log.DebugLevel)
    	log.Debug("debug log")
    	log.Info("info log")
    	log.Warn("warn log")
    	log.Error("error log")
    	// This will error because stdout cannot sync, but the UDS part should sync
    	// Ideally we would fail if the UDS part fails but the error library makes it kind of tricky
    	_ = log.Sync()
    
    	// Restore os stdout.
    	os.Stdout = stdout
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. cni/pkg/repair/netns.go

    // /var/run/netns/<name>. However, this pattern is not ubiquitous. Some platforms bind mount to other places. As we run
    // in a pod, we cannot just access any arbitrary file they happen to bind mount in, as we don't know ahead of time where
    // it might be.
    //
    // Instead, we rely directly on the procfs.
    // This rules out two possible methods:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-dump.go

    		return "", err
    	}
    	return string(prettyJSON), nil
    }
    
    func profileDump(args []string, pdArgs *profileDumpArgs, l clog.Logger) error {
    	if len(args) == 1 && pdArgs.inFilenames != nil {
    		return fmt.Errorf("cannot specify both profile name and filename flag")
    	}
    
    	if err := validateProfileOutputFormatFlag(pdArgs.outputFormat); err != nil {
    		return err
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. istioctl/pkg/multixds/gather.go

    		if !all && len(responses) > 0 {
    			break
    		}
    	}
    	return responses, nil
    }
    
    // queryDebugSynczViaAgents sends a debug/syncz xDS request via Istio Agents.
    // By this way, even if istioctl cannot access a specific `istiod` instance directly,
    // `istioctl` can access the debug endpoint.
    // If `all` is true, `queryDebugSynczViaAgents` iterates all the pod having a proxy
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/tag_test.go

    						},
    					},
    				},
    			},
    			namespaces:       corev1.NamespaceList{},
    			outputMatches:    []string{},
    			skipConfirmation: true,
    			error:            "cannot remove tag \"sample\"",
    		},
    		{
    			name: "TestDeleteTagWithDependentNamespace",
    			tag:  "match",
    			webhooksBefore: admitv1.MutatingWebhookConfigurationList{
    				Items: []admitv1.MutatingWebhookConfiguration{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  7. cni/pkg/pluginlistener/listener.go

    		return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err)
    	}
    
    	// Attempt to create the folder in case it doesn't exist
    	if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil {
    		// If we cannot create it, just warn here - we will fail later if there is a real error
    		log.Warnf("Failed to create directory for %v: %v", path, err)
    	}
    
    	var err error
    	listener, err := net.Listen("unix", path)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. istioctl/pkg/dashboard/dashboard.go

    				c.Println(c.UsageString())
    				return fmt.Errorf("specify a pod or --selector")
    			}
    
    			if labelSelector != "" && len(args) > 0 {
    				c.Println(c.UsageString())
    				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 != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig.go

    	defer watcher.Close()
    
    	for len(filename) == 0 {
    		filename, err = getDefaultCNINetwork(cfg.mountedCNINetDir)
    		if err == nil {
    			break
    		}
    		installLog.Warnf("Istio CNI is configured as chained plugin, but cannot find existing CNI network config: %v", err)
    		installLog.Infof("Waiting for CNI network config file to be written in %v...", cfg.mountedCNINetDir)
    		if err := watcher.Wait(ctx); err != nil {
    			return "", err
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver.go

    	pods  PodNetnsCache
    }
    
    var _ ZtunnelServer = &ztunnelServer{}
    
    func newZtunnelServer(addr string, pods PodNetnsCache) (*ztunnelServer, error) {
    	if addr == "" {
    		return nil, fmt.Errorf("addr cannot be empty")
    	}
    
    	resolvedAddr, err := net.ResolveUnixAddr("unixpacket", addr)
    	if err != nil {
    		return nil, fmt.Errorf("failed to resolve unix addr: %w", err)
    	}
    	// remove potentially existing address
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top