Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StateString ¶
func StateString(state ServerInfoState) string
Types ¶
type Probe ¶
type Probe struct { LocalHostAddr string AdminPort uint16 Context context.Context // NoEnvoy so we only check config status NoEnvoy bool // contains filtered or unexported fields }
Probe for readiness.
type Prober ¶
type Prober interface { // Check executes the probe and returns an error if the probe fails. Check() error }
type ServerInfoState ¶
type ServerInfoState int32
const ( // Server is live and serving traffic. Live ServerInfoState = 0 // Server is draining listeners in response to external health checks failing. Draining ServerInfoState = 1 // Server has not yet completed cluster manager initialization. PreInitializing ServerInfoState = 2 // Server is running the cluster manager initialization callbacks (e.g., RDS). Initializing ServerInfoState = 3 )
Click to show internal directories.
Click to hide internal directories.