View Source GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSync (google_api_gke_hub v0.3.1)

Configuration for Config Sync

Attributes

  • enabled (type: boolean(), default: nil) - Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of git field.
  • git (type: GoogleApi.GKEHub.V1.Model.ConfigManagementGitConfig.t, default: nil) - Git repo configuration for the cluster.
  • preventDrift (type: boolean(), default: nil) - Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts.
  • sourceFormat (type: String.t, default: nil) - Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSync{
  enabled: boolean() | nil,
  git: GoogleApi.GKEHub.V1.Model.ConfigManagementGitConfig.t() | nil,
  preventDrift: boolean() | nil,
  sourceFormat: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.