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

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) - 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.
  • vmBrokenCode (type: String.t, default: nil) - Code to describe a specific reason, if known, that a VM has reported broken state.
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.