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

PolicyContentSpec defines the user's desired content configuration on the cluster.

Attributes

  • bundles (type: %{optional(String.t) => GoogleApi.GKEHub.V1.Model.PolicyControllerBundleInstallSpec.t}, default: nil) - map of bundle name to BundleInstallSpec. The bundle name maps to the bundleName key in the policycontroller.gke.io/constraintData annotation on a constraint.
  • templateLibrary (type: GoogleApi.GKEHub.V1.Model.PolicyControllerTemplateLibraryConfig.t, default: nil) - Configures the installation of the Template Library.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.GKEHub.V1.Model.PolicyControllerPolicyContentSpec{
  bundles:
    %{
      optional(String.t()) =>
        GoogleApi.GKEHub.V1.Model.PolicyControllerBundleInstallSpec.t()
    }
    | nil,
  templateLibrary:
    GoogleApi.GKEHub.V1.Model.PolicyControllerTemplateLibraryConfig.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.