Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StateString (0.22 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. src/cmd/compile/internal/ssa/debug.go

    	endState := stateAtPC{slots: make([]VarLoc, len(s.slots)), registers: make([][]SlotID, len(s.registers))}
    	endState.reset(b.endState)
    	return s.stateString(endState)
    }
    
    func (s *debugState) stateString(state stateAtPC) string {
    	var strs []string
    	for slotID, loc := range state.slots {
    		if !loc.absent() {
    			strs = append(strs, fmt.Sprintf("\t%v = %v\n", s.slots[slotID], s.LocString(loc)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top