Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for IsPrint (0.08 sec)

  1. cni/pkg/config/config.go

    	b.WriteString("MonitoringPort: " + fmt.Sprint(c.MonitoringPort) + "\n")
    	b.WriteString("ZtunnelUDSAddress: " + fmt.Sprint(c.ZtunnelUDSAddress) + "\n")
    
    	b.WriteString("AmbientEnabled: " + fmt.Sprint(c.AmbientEnabled) + "\n")
    	b.WriteString("AmbientDNSCapture: " + fmt.Sprint(c.AmbientDNSCapture) + "\n")
    	b.WriteString("AmbientIPv6: " + fmt.Sprint(c.AmbientIPv6) + "\n")
    	b.WriteString("AmbientRedirectTPROXY: " + fmt.Sprint(c.AmbientTPROXYRedirection) + "\n")
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. internal/logger/console.go

    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    func fatal(err error, msg string, data ...interface{}) {
    	if msg == "" {
    		if len(data) > 0 {
    			msg = fmt.Sprint(data...)
    		} else {
    			msg = "a fatal error"
    		}
    	} else {
    		msg = fmt.Sprintf(msg, data...)
    	}
    	consoleLog(fatalMessage, errorFmtFunc(msg, err, jsonFlag))
    }
    
    var fatalMessage fatalMsg
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. internal/http/listener.go

    		l, e := listenCfg.Listen(ctx, "tcp", serverAddr)
    		if e != nil {
    			if opts.Trace != nil {
    				opts.Trace(fmt.Sprint("listenCfg.Listen: ", e))
    			}
    
    			listenErrs[i] = e
    			continue
    		}
    
    		if opts.Trace != nil {
    			opts.Trace(fmt.Sprint("adding listener to ", l.Addr()))
    		}
    
    		listeners = append(listeners, l)
    	}
    
    	if len(listeners) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. utils/utils.go

    			results[idx] = string(v)
    		case uint:
    			results[idx] = strconv.FormatUint(uint64(v), 10)
    		default:
    			results[idx] = "nil"
    			vv := reflect.ValueOf(v)
    			if vv.IsValid() && !vv.IsZero() {
    				results[idx] = fmt.Sprint(reflect.Indirect(vv).Interface())
    			}
    		}
    	}
    
    	return strings.Join(results, "_")
    }
    
    func Contains(elems []string, elem string) bool {
    	for _, e := range elems {
    		if elem == e {
    			return true
    		}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. cmd/data-usage_test.go

    	pl := make([]byte, size)
    	for i := 0; i < nFolders; i++ {
    		name := filepath.Join(base, bucket, fmt.Sprint(i), "0.txt")
    		err := os.MkdirAll(filepath.Dir(name), os.ModePerm)
    		if err != nil {
    			t.Fatal(err)
    		}
    		for j := 0; j < nFiles; j++ {
    			name := filepath.Join(base, bucket, fmt.Sprint(i), fmt.Sprint(j)+".txt")
    			err = os.WriteFile(name, pl, os.ModePerm)
    			if err != nil {
    				t.Fatal(err)
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. internal/grid/grid.go

    }
    
    // bytesOrLength returns small (<=100b) byte slices as string, otherwise length.
    func bytesOrLength(b []byte) string {
    	if len(b) > 100 {
    		return fmt.Sprintf("%d bytes", len(b))
    	}
    	return fmt.Sprint(b)
    }
    
    // ConnDialer is a function that dials a connection to the given address.
    // There should be no retries in this function,
    // and should have a timeout of something like 2 seconds.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    		Duration:  time.Since(startTime),
    		Path:      pathJoin(bucket, decodeDirObject(object)),
    	}
    	if opts != nil {
    		tr.Custom = map[string]string{
    			"dry":    fmt.Sprint(opts.DryRun),
    			"remove": fmt.Sprint(opts.Remove),
    			"mode":   fmt.Sprint(opts.ScanMode),
    		}
    		if result != nil {
    			tr.Custom["version-id"] = result.VersionID
    			tr.Custom["disks"] = strconv.Itoa(result.DiskCount)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    			"!", "-d", iptablesconstants.IPVersionSpecific,
    			"-p", "tcp",
    			"!", "--dport", fmt.Sprint(ZtunnelInboundPort),
    			"-m", "mark", "!",
    			"--mark", inpodMark,
    			"-j", "REDIRECT",
    			"--to-ports", fmt.Sprint(ZtunnelInboundPlaintextPort),
    		)
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    						if err == nil {
    							successVersions++
    						} else {
    							failVersions++
    						}
    						foundObjs = foundObjs || err == nil
    					}
    					custom["success_versions"] = fmt.Sprint(successVersions)
    					custom["failed_versions"] = fmt.Sprint(failVersions)
    				},
    				// Too many disks failed.
    				finished: func(errs []error) {
    					if f.dataUsageScannerDebug {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    				message += "\n  To get started, check out https://istio.io/latest/docs/setup/getting-started/."
    				_, _ = fmt.Fprintln(cmd.ErrOrStderr(), color.New(color.FgGreen).Sprint("✔")+message)
    			} else {
    				_, _ = fmt.Fprintln(cmd.OutOrStdout(), output)
    			}
    			for _, m := range msgs {
    				if m.Type.Level().IsWorseThanOrEqualTo(diag.Warning) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top