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