MCPcopy Create free account
hub / github.com/cortexproject/cortex / CmdReadinessProbe

Struct CmdReadinessProbe

integration/e2e/service.go:500–502  ·  view source on GitHub ↗

CmdReadinessProbe checks readiness by `Exec`ing a command (within container) which returns 0 to consider status being ready

Source from the content-addressed store, hash-verified

498
499// CmdReadinessProbe checks readiness by `Exec`ing a command (within container) which returns 0 to consider status being ready
500type CmdReadinessProbe struct {
501 cmd *Command
502}
503
504func NewCmdReadinessProbe(cmd *Command) *CmdReadinessProbe {
505 return &CmdReadinessProbe{cmd: cmd}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected