MCPcopy Create free account
hub / github.com/efficientgo/e2e / CmdReadinessProbe

Struct CmdReadinessProbe

env.go:373–375  ·  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

371
372// CmdReadinessProbe checks readiness by `Exec`ing a command (within container) which returns 0 to consider status being ready.
373type CmdReadinessProbe struct {
374 cmd Command
375}
376
377func NewCmdReadinessProbe(cmd Command) *CmdReadinessProbe {
378 return &CmdReadinessProbe{cmd: cmd}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected