Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StateString (0.09 sec)

  1. pilot/cmd/pilot-agent/status/ready/probe.go

    	if p.NoEnvoy {
    		return nil
    	}
    	if p.Context == nil {
    		return p.checkEnvoyReadiness()
    	}
    	select {
    	case <-p.Context.Done():
    		return fmt.Errorf("server is not live, current state is: %s", StateString(Draining))
    	default:
    		return p.checkEnvoyReadiness()
    	}
    }
    
    func (p *Probe) checkEnvoyReadiness() error {
    	// If Envoy is ready at least once i.e. server state is LIVE and workers
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        HttpUrl requestUrl = mockWebServer.url(request.getPath());
        String code = requestUrl.queryParameter("code");
        String stateString = requestUrl.queryParameter("state");
        ByteString state = stateString != null ? ByteString.decodeBase64(stateString) : null;
    
        Listener listener;
        synchronized (this) {
          listener = listeners.get(state);
        }
    
        if (code == null || listener == null) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
Back to top