View Source GoogleApi.GKEHub.V1.Model.PolicyControllerMembershipState (google_api_gke_hub v0.16.0)

Policy Controller: State for a single cluster.

Attributes

  • componentStates (type: %{optional(String.t) => GoogleApi.GKEHub.V1.Model.PolicyControllerOnClusterState.t}, default: nil) - Currently these include (also serving as map keys): 1. "admission" 2. "audit" 3. "mutation"
  • policyContentState (type: GoogleApi.GKEHub.V1.Model.PolicyControllerPolicyContentState.t, default: nil) - The overall content state observed by the Hub Feature controller.
  • state (type: String.t, default: nil) - The overall Policy Controller lifecycle state observed by the Hub Feature controller.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.GKEHub.V1.Model.PolicyControllerMembershipState{
  componentStates:
    %{
      optional(String.t()) =>
        GoogleApi.GKEHub.V1.Model.PolicyControllerOnClusterState.t()
    }
    | nil,
  policyContentState:
    GoogleApi.GKEHub.V1.Model.PolicyControllerPolicyContentState.t() | nil,
  state: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.