Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for runTool (0.12 sec)

  1. cmd/kube-proxy/app/server_linux_test.go

    		err = opt.Complete(new(pflag.FlagSet))
    		if err != nil {
    			t.Fatal(err)
    		}
    		opt.proxyServer = tc.proxyServer
    
    		errCh := make(chan error, 1)
    		go func() {
    			errCh <- opt.runLoop(ctx)
    		}()
    
    		if tc.append {
    			file.WriteString("append fake content")
    		}
    
    		select {
    		case err := <-errCh:
    			if err != nil {
    				if !strings.Contains(err.Error(), tc.expectedErr) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server.go

    	if err != nil {
    		return err
    	}
    	if o.InitAndExit {
    		return nil
    	}
    
    	o.proxyServer = proxyServer
    	return o.runLoop(ctx)
    }
    
    // runLoop will watch on the update change of the proxy server's configuration file.
    // Return an error when updated
    func (o *Options) runLoop(ctx context.Context) error {
    	if o.watcher != nil {
    		o.watcher.Run()
    	}
    
    	// run the proxy in goroutine
    	go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  3. src/net/http/server.go

    func (c *conn) setState(nc net.Conn, state ConnState, runHook bool) {
    	srv := c.server
    	switch state {
    	case StateNew:
    		srv.trackConn(c, true)
    	case StateHijacked, StateClosed:
    		srv.trackConn(c, false)
    	}
    	if state > 0xff || state < 0 {
    		panic("internal error")
    	}
    	packedState := uint64(time.Now().Unix()<<8) | uint64(state)
    	c.curState.Store(packedState)
    	if !runHook {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top