Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for fmt (0.26 sec)

  1. cni/pkg/pluginlistener/listener.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to listen on unix socket %q: %v", path, err)
    	}
    
    	// Update file permission so that cni plugin has permission to access it.
    	if _, err := os.Stat(path); err != nil {
    		return nil, fmt.Errorf("cni listener file %q doesn't exist", path)
    	}
    	if err := os.Chmod(path, 0o666); err != nil {
    		return nil, fmt.Errorf("failed to update %q permission", path)
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/listener.go

    				sortedNames = append(sortedNames, name)
    			}
    			sort.Strings(sortedNames)
    			for _, name := range sortedNames {
    				buf.WriteString(fmt.Sprintf("%s\t%s\t%d\n", action, name, len(policyToRule[name])))
    			}
    		}
    	}
    
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 3, ' ', 0)
    	if _, err := fmt.Fprint(w, buf.String()); err != nil {
    		log.Errorf("failed to print output: %s", err)
    	}
    	_ = w.Flush()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/listener.go

    			})
    			for _, match := range matches {
    				if includeConfigType {
    					name := fmt.Sprintf("listener/%s", l.Name)
    					fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\n", name, strings.Join(addresses, ","), port, match.match, match.destination)
    				} else {
    					fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", strings.Join(addresses, ","), port, match.match, match.destination)
    				}
    			}
    		} else {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/listener.go

    		Context:  c.context,
    	}
    	text, err := difflib.GetUnifiedDiffString(diff)
    	if err != nil {
    		return err
    	}
    	if text != "" {
    		fmt.Fprintln(c.w, "Listeners Don't Match")
    		fmt.Fprintln(c.w, text)
    	} else {
    		fmt.Fprintln(c.w, "Listeners Match")
    	}
    	return nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 04 20:29:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. internal/http/listener.go

    			if opts.Trace != nil {
    				opts.Trace(fmt.Sprint("listenCfg.Listen: ", e.Error()))
    			}
    
    			listenErrs[i] = e
    			continue
    		}
    
    		tcpListener, ok := l.(*net.TCPListener)
    		if !ok {
    			listenErrs[i] = fmt.Errorf("unexpected listener type found %v, expected net.TCPListener", l)
    			if opts.Trace != nil {
    				opts.Trace(fmt.Sprint("net.TCPListener: ", listenErrs[i].Error()))
    			}
    			continue
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top