Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WorkerHealthReport

import type { WorkerHealthReport } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";

WorkerHealthReport contains information about the health of a worker. The VM should be identified by the labels attached to the WorkerMessage that this health ping belongs to.

interface WorkerHealthReport {
msg?: string;
pods?: {
[key: string]: any;
}
[]
;
reportInterval?: number;
vmBrokenCode?: string;
vmIsBroken?: boolean;
vmIsHealthy?: boolean;
vmStartupTime?: Date;
}

§Properties

§
msg?: string
[src]

Message describing any unusual health reports.

§
pods?: {
[key: string]: any;
}
[]
[src]

The pods running on the worker. See: http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod This field is used by the worker to send the status of the indvidual containers running on each worker.

§
reportInterval?: number
[src]

The interval at which the worker is sending health reports. The default value of 0 should be interpreted as the field is not being explicitly set by the worker.

§
vmBrokenCode?: string
[src]

Code to describe a specific reason, if known, that a VM has reported broken state.

§
vmIsBroken?: boolean
[src]

Whether the VM is in a permanently broken state. Broken VMs should be abandoned or deleted ASAP to avoid assigning or completing any work.

§
vmIsHealthy?: boolean
[src]

Whether the VM is currently healthy.

§
vmStartupTime?: Date
[src]

The time the VM was booted.