View Source GoogleApi.AppEngine.V1.Model.ContainerState (google_api_app_engine v0.42.0)
ContainerState contains the externally-visible container state that is used to communicate the state and reasoning for that state to the CLH. This data is not persisted by CCFE, but is instead derived from CCFE's internal representation of the container state.
Attributes
-
currentReasons
(type:GoogleApi.AppEngine.V1.Model.Reasons.t
, default:nil
) - -
previousReasons
(type:GoogleApi.AppEngine.V1.Model.Reasons.t
, default:nil
) - The previous and current reasons for a container state will be sent for a container event. CLHs that need to know the signal that caused the container event to trigger (edges) as opposed to just knowing the state can act upon differences in the previous and current reasons.Reasons will be provided for every system: service management, data governance, abuse, and billing.If this is a CCFE-triggered event used for reconciliation then the current reasons will be set to their *_CONTROL_PLANE_SYNC state. The previous reasons will contain the last known set of non-unknown non-control_plane_sync reasons for the state. -
state
(type:String.t
, default:nil
) - The current state of the container. This state is the culmination of all of the opinions from external systems that CCFE knows about of the container.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AppEngine.V1.Model.ContainerState{ currentReasons: GoogleApi.AppEngine.V1.Model.Reasons.t() | nil, previousReasons: GoogleApi.AppEngine.V1.Model.Reasons.t() | nil, state: String.t() | nil }