google_api_dataflow v0.24.0 GoogleApi.Dataflow.V1b3.Model.WorkerHealthReport 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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.