View Source GoogleApi.GKEOnPrem.V1.Model.ResourceStatus (google_api_gke_on_prem v0.2.0)

ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED).

Attributes

  • conditions (type: list(GoogleApi.GKEOnPrem.V1.Model.ResourceCondition.t), default: nil) - ResourceCondition provide a standard mechanism for higher-level status reporting from controller.
  • errorMessage (type: String.t, default: nil) - Human-friendly representation of the error message from controller. The error message can be temporary as the controller controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.GKEOnPrem.V1.Model.ResourceStatus{
  conditions: [GoogleApi.GKEOnPrem.V1.Model.ResourceCondition.t()] | nil,
  errorMessage: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.