HealthcheckConfig
class HealthcheckConfig extends AbstractObject implements IdAble
Image healthcheck configuration.
Properties
| $lastQuery | from AbstractObject |
Methods
No description
Healthcheck command arguments.
A unique identifier for this HealthcheckConfig.
Interval between running healthcheck. Example:30s
The maximum number of consecutive failures before the container is marked as unhealthy. Example:3
Healthcheck command is a shell command.
StartInterval configures the duration between checks during the startup phase. Example:5s
StartPeriod allows for failures during this initial startup period which do not count towards maximum number of retries. Example:0s
Healthcheck timeout. Example:3s
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 19
array
args()
Healthcheck command arguments.
at line 28
AbstractId
id()
A unique identifier for this HealthcheckConfig.
at line 37
string
interval()
Interval between running healthcheck. Example:30s
at line 46
int
retries()
The maximum number of consecutive failures before the container is marked as unhealthy. Example:3
at line 55
bool
shell()
Healthcheck command is a shell command.
at line 64
string
startInterval()
StartInterval configures the duration between checks during the startup phase. Example:5s
at line 73
string
startPeriod()
StartPeriod allows for failures during this initial startup period which do not count towards maximum number of retries. Example:0s
at line 82
string
timeout()
Healthcheck timeout. Example:3s