Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParseDuration (0.29 sec)

  1. pilot/pkg/networking/core/listener_inbound.go

    	}
    	tcpProxy := &tcp.TcpProxy{
    		StatPrefix:       statPrefix,
    		ClusterSpecifier: &tcp.TcpProxy_Cluster{Cluster: fcc.clusterName},
    		IdleTimeout:      parseDuration(lb.node.Metadata.IdleTimeout),
    	}
    	tcpFilter := setAccessLogAndBuildTCPFilter(lb.push, lb.node, tcpProxy, istionetworking.ListenerClassSidecarInbound, fcc.policyService)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. src/os/exec/exec_test.go

    	}
    	in.Close()
    
    	b := <-outc
    	if !bytes.Equal(b, []byte(msg)) {
    		t.Fatalf("read %q from stdout pipe; want %q", b, msg)
    	}
    }
    
    func cmdHang(args ...string) {
    	sleep, err := time.ParseDuration(args[0])
    	if err != nil {
    		panic(err)
    	}
    
    	fs := flag.NewFlagSet("hang", flag.ExitOnError)
    	exitOnInterrupt := fs.Bool("interrupt", false, "if true, commands should exit 0 on os.Interrupt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top