GoogleApi.Dataflow.V1b3.Model.WorkerHealthReport (google_api_dataflow v0.35.0) View Source

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.

Attributes

  • msg (type: String.t, default: nil) - A message describing any unusual health reports.
  • pods (type: list(map()), default: nil) - 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 (type: String.t, default: nil) - 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.
  • vmIsBroken (type: boolean(), default: nil) - 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 (type: boolean(), default: nil) - Whether the VM is currently healthy.
  • vmStartupTime (type: DateTime.t, default: nil) - The time the VM was booted.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Dataflow.V1b3.Model.WorkerHealthReport{
  msg: String.t() | nil,
  pods: [map()] | nil,
  reportInterval: String.t() | nil,
  vmIsBroken: boolean() | nil,
  vmIsHealthy: boolean() | nil,
  vmStartupTime: DateTime.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.