google_gke_hub_feature

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// FleetDefaultMemberConfig: optional
	FleetDefaultMemberConfig *FleetDefaultMemberConfig `hcl:"fleet_default_member_config,block"`
	// Spec: optional
	Spec *Spec `hcl:"spec,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_gke_hub_feature.

type FleetDefaultMemberConfig

type FleetDefaultMemberConfig struct {
	// FleetDefaultMemberConfigConfigmanagement: optional
	Configmanagement *FleetDefaultMemberConfigConfigmanagement `hcl:"configmanagement,block"`
	// FleetDefaultMemberConfigMesh: optional
	Mesh *FleetDefaultMemberConfigMesh `hcl:"mesh,block"`
	// FleetDefaultMemberConfigPolicycontroller: optional
	Policycontroller *FleetDefaultMemberConfigPolicycontroller `hcl:"policycontroller,block"`
}

type FleetDefaultMemberConfigAttributes

type FleetDefaultMemberConfigAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigAttributes) Configmanagement

func (FleetDefaultMemberConfigAttributes) InternalRef

func (FleetDefaultMemberConfigAttributes) InternalTokens

func (fdmc FleetDefaultMemberConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FleetDefaultMemberConfigAttributes) InternalWithRef

func (FleetDefaultMemberConfigAttributes) Mesh

func (FleetDefaultMemberConfigAttributes) Policycontroller

type FleetDefaultMemberConfigConfigmanagement

type FleetDefaultMemberConfigConfigmanagement struct {
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
	// FleetDefaultMemberConfigConfigmanagementConfigSync: optional
	ConfigSync *FleetDefaultMemberConfigConfigmanagementConfigSync `hcl:"config_sync,block"`
}

type FleetDefaultMemberConfigConfigmanagementAttributes

type FleetDefaultMemberConfigConfigmanagementAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigConfigmanagementAttributes) InternalRef

func (FleetDefaultMemberConfigConfigmanagementAttributes) InternalTokens

func (FleetDefaultMemberConfigConfigmanagementAttributes) InternalWithRef

func (FleetDefaultMemberConfigConfigmanagementAttributes) Version

type FleetDefaultMemberConfigConfigmanagementConfigSync

type FleetDefaultMemberConfigConfigmanagementConfigSync struct {
	// SourceFormat: string, optional
	SourceFormat terra.StringValue `hcl:"source_format,attr"`
	// FleetDefaultMemberConfigConfigmanagementConfigSyncGit: optional
	Git *FleetDefaultMemberConfigConfigmanagementConfigSyncGit `hcl:"git,block"`
	// FleetDefaultMemberConfigConfigmanagementConfigSyncOci: optional
	Oci *FleetDefaultMemberConfigConfigmanagementConfigSyncOci `hcl:"oci,block"`
}

type FleetDefaultMemberConfigConfigmanagementConfigSyncAttributes

type FleetDefaultMemberConfigConfigmanagementConfigSyncAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigConfigmanagementConfigSyncAttributes) InternalRef

func (FleetDefaultMemberConfigConfigmanagementConfigSyncAttributes) InternalTokens

func (FleetDefaultMemberConfigConfigmanagementConfigSyncAttributes) InternalWithRef

func (FleetDefaultMemberConfigConfigmanagementConfigSyncAttributes) SourceFormat

type FleetDefaultMemberConfigConfigmanagementConfigSyncGit

type FleetDefaultMemberConfigConfigmanagementConfigSyncGit struct {
	// GcpServiceAccountEmail: string, optional
	GcpServiceAccountEmail terra.StringValue `hcl:"gcp_service_account_email,attr"`
	// HttpsProxy: string, optional
	HttpsProxy terra.StringValue `hcl:"https_proxy,attr"`
	// PolicyDir: string, optional
	PolicyDir terra.StringValue `hcl:"policy_dir,attr"`
	// SecretType: string, required
	SecretType terra.StringValue `hcl:"secret_type,attr" validate:"required"`
	// SyncBranch: string, optional
	SyncBranch terra.StringValue `hcl:"sync_branch,attr"`
	// SyncRepo: string, optional
	SyncRepo terra.StringValue `hcl:"sync_repo,attr"`
	// SyncRev: string, optional
	SyncRev terra.StringValue `hcl:"sync_rev,attr"`
	// SyncWaitSecs: string, optional
	SyncWaitSecs terra.StringValue `hcl:"sync_wait_secs,attr"`
}

type FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes

type FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) GcpServiceAccountEmail

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) HttpsProxy

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) InternalRef

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) InternalTokens

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) InternalWithRef

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) PolicyDir

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) SecretType

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) SyncBranch

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) SyncRepo

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) SyncRev

func (FleetDefaultMemberConfigConfigmanagementConfigSyncGitAttributes) SyncWaitSecs

type FleetDefaultMemberConfigConfigmanagementConfigSyncGitState

type FleetDefaultMemberConfigConfigmanagementConfigSyncGitState struct {
	GcpServiceAccountEmail string `json:"gcp_service_account_email"`
	HttpsProxy             string `json:"https_proxy"`
	PolicyDir              string `json:"policy_dir"`
	SecretType             string `json:"secret_type"`
	SyncBranch             string `json:"sync_branch"`
	SyncRepo               string `json:"sync_repo"`
	SyncRev                string `json:"sync_rev"`
	SyncWaitSecs           string `json:"sync_wait_secs"`
}

type FleetDefaultMemberConfigConfigmanagementConfigSyncOci

type FleetDefaultMemberConfigConfigmanagementConfigSyncOci struct {
	// GcpServiceAccountEmail: string, optional
	GcpServiceAccountEmail terra.StringValue `hcl:"gcp_service_account_email,attr"`
	// PolicyDir: string, optional
	PolicyDir terra.StringValue `hcl:"policy_dir,attr"`
	// SecretType: string, required
	SecretType terra.StringValue `hcl:"secret_type,attr" validate:"required"`
	// SyncRepo: string, optional
	SyncRepo terra.StringValue `hcl:"sync_repo,attr"`
	// SyncWaitSecs: string, optional
	SyncWaitSecs terra.StringValue `hcl:"sync_wait_secs,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes

type FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes) GcpServiceAccountEmail

func (FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes) InternalRef

func (FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes) InternalTokens

func (FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes) InternalWithRef

func (FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes) PolicyDir

func (FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes) SecretType

func (FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes) SyncRepo

func (FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes) SyncWaitSecs

func (FleetDefaultMemberConfigConfigmanagementConfigSyncOciAttributes) Version

type FleetDefaultMemberConfigConfigmanagementConfigSyncOciState

type FleetDefaultMemberConfigConfigmanagementConfigSyncOciState struct {
	GcpServiceAccountEmail string `json:"gcp_service_account_email"`
	PolicyDir              string `json:"policy_dir"`
	SecretType             string `json:"secret_type"`
	SyncRepo               string `json:"sync_repo"`
	SyncWaitSecs           string `json:"sync_wait_secs"`
	Version                string `json:"version"`
}

type FleetDefaultMemberConfigConfigmanagementConfigSyncState

type FleetDefaultMemberConfigConfigmanagementConfigSyncState struct {
	SourceFormat string                                                       `json:"source_format"`
	Git          []FleetDefaultMemberConfigConfigmanagementConfigSyncGitState `json:"git"`
	Oci          []FleetDefaultMemberConfigConfigmanagementConfigSyncOciState `json:"oci"`
}

type FleetDefaultMemberConfigConfigmanagementState

type FleetDefaultMemberConfigConfigmanagementState struct {
	Version    string                                                    `json:"version"`
	ConfigSync []FleetDefaultMemberConfigConfigmanagementConfigSyncState `json:"config_sync"`
}

type FleetDefaultMemberConfigMesh

type FleetDefaultMemberConfigMesh struct {
	// Management: string, required
	Management terra.StringValue `hcl:"management,attr" validate:"required"`
}

type FleetDefaultMemberConfigMeshAttributes

type FleetDefaultMemberConfigMeshAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigMeshAttributes) InternalRef

func (FleetDefaultMemberConfigMeshAttributes) InternalTokens

func (FleetDefaultMemberConfigMeshAttributes) InternalWithRef

func (FleetDefaultMemberConfigMeshAttributes) Management

type FleetDefaultMemberConfigMeshState

type FleetDefaultMemberConfigMeshState struct {
	Management string `json:"management"`
}

type FleetDefaultMemberConfigPolicycontroller

type FleetDefaultMemberConfigPolicycontroller struct {
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
	// FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig: required
	PolicyControllerHubConfig *FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig `hcl:"policy_controller_hub_config,block" validate:"required"`
}

type FleetDefaultMemberConfigPolicycontrollerAttributes

type FleetDefaultMemberConfigPolicycontrollerAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerAttributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerAttributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerAttributes) InternalWithRef

func (FleetDefaultMemberConfigPolicycontrollerAttributes) Version

type FleetDefaultMemberConfigPolicycontrollerC14Cea29

type FleetDefaultMemberConfigPolicycontrollerC14Cea29 struct {
	// Cpu: string, optional
	Cpu terra.StringValue `hcl:"cpu,attr"`
	// Memory: string, optional
	Memory terra.StringValue `hcl:"memory,attr"`
}

type FleetDefaultMemberConfigPolicycontrollerC14Cea29Attributes

type FleetDefaultMemberConfigPolicycontrollerC14Cea29Attributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerC14Cea29Attributes) Cpu

func (FleetDefaultMemberConfigPolicycontrollerC14Cea29Attributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerC14Cea29Attributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerC14Cea29Attributes) InternalWithRef

func (FleetDefaultMemberConfigPolicycontrollerC14Cea29Attributes) Memory

type FleetDefaultMemberConfigPolicycontrollerC14Cea29State

type FleetDefaultMemberConfigPolicycontrollerC14Cea29State struct {
	Cpu    string `json:"cpu"`
	Memory string `json:"memory"`
}

type FleetDefaultMemberConfigPolicycontrollerD1D2De84

type FleetDefaultMemberConfigPolicycontrollerD1D2De84 struct {
	// Cpu: string, optional
	Cpu terra.StringValue `hcl:"cpu,attr"`
	// Memory: string, optional
	Memory terra.StringValue `hcl:"memory,attr"`
}

type FleetDefaultMemberConfigPolicycontrollerD1D2De84Attributes

type FleetDefaultMemberConfigPolicycontrollerD1D2De84Attributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerD1D2De84Attributes) Cpu

func (FleetDefaultMemberConfigPolicycontrollerD1D2De84Attributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerD1D2De84Attributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerD1D2De84Attributes) InternalWithRef

func (FleetDefaultMemberConfigPolicycontrollerD1D2De84Attributes) Memory

type FleetDefaultMemberConfigPolicycontrollerD1D2De84State

type FleetDefaultMemberConfigPolicycontrollerD1D2De84State struct {
	Cpu    string `json:"cpu"`
	Memory string `json:"memory"`
}

type FleetDefaultMemberConfigPolicycontrollerDe37Eea4

type FleetDefaultMemberConfigPolicycontrollerDe37Eea4 struct {
	// Effect: string, optional
	Effect terra.StringValue `hcl:"effect,attr"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Operator: string, optional
	Operator terra.StringValue `hcl:"operator,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type FleetDefaultMemberConfigPolicycontrollerDe37Eea4Attributes

type FleetDefaultMemberConfigPolicycontrollerDe37Eea4Attributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerDe37Eea4Attributes) Effect

func (FleetDefaultMemberConfigPolicycontrollerDe37Eea4Attributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerDe37Eea4Attributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerDe37Eea4Attributes) InternalWithRef

func (FleetDefaultMemberConfigPolicycontrollerDe37Eea4Attributes) Key

func (FleetDefaultMemberConfigPolicycontrollerDe37Eea4Attributes) Operator

func (FleetDefaultMemberConfigPolicycontrollerDe37Eea4Attributes) Value

type FleetDefaultMemberConfigPolicycontrollerDe37Eea4State

type FleetDefaultMemberConfigPolicycontrollerDe37Eea4State struct {
	Effect   string `json:"effect"`
	Key      string `json:"key"`
	Operator string `json:"operator"`
	Value    string `json:"value"`
}

type FleetDefaultMemberConfigPolicycontrollerE45136A6

type FleetDefaultMemberConfigPolicycontrollerE45136A6 struct {
	// FleetDefaultMemberConfigPolicycontrollerD1D2De84: optional
	Limits *FleetDefaultMemberConfigPolicycontrollerD1D2De84 `hcl:"limits,block"`
	// FleetDefaultMemberConfigPolicycontrollerC14Cea29: optional
	Requests *FleetDefaultMemberConfigPolicycontrollerC14Cea29 `hcl:"requests,block"`
}

type FleetDefaultMemberConfigPolicycontrollerE45136A6Attributes

type FleetDefaultMemberConfigPolicycontrollerE45136A6Attributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerE45136A6Attributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerE45136A6Attributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerE45136A6Attributes) InternalWithRef

func (FleetDefaultMemberConfigPolicycontrollerE45136A6Attributes) Limits

func (FleetDefaultMemberConfigPolicycontrollerE45136A6Attributes) Requests

type FleetDefaultMemberConfigPolicycontrollerE45136A6State

type FleetDefaultMemberConfigPolicycontrollerE45136A6State struct {
	Limits   []FleetDefaultMemberConfigPolicycontrollerD1D2De84State `json:"limits"`
	Requests []FleetDefaultMemberConfigPolicycontrollerC14Cea29State `json:"requests"`
}

type FleetDefaultMemberConfigPolicycontrollerEbb04Ca2

type FleetDefaultMemberConfigPolicycontrollerEbb04Ca2 struct {
	// Bundle: string, required
	Bundle terra.StringValue `hcl:"bundle,attr" validate:"required"`
	// ExemptedNamespaces: list of string, optional
	ExemptedNamespaces terra.ListValue[terra.StringValue] `hcl:"exempted_namespaces,attr"`
}

type FleetDefaultMemberConfigPolicycontrollerEbb04Ca2Attributes

type FleetDefaultMemberConfigPolicycontrollerEbb04Ca2Attributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerEbb04Ca2Attributes) Bundle

func (FleetDefaultMemberConfigPolicycontrollerEbb04Ca2Attributes) ExemptedNamespaces

func (FleetDefaultMemberConfigPolicycontrollerEbb04Ca2Attributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerEbb04Ca2Attributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerEbb04Ca2Attributes) InternalWithRef

type FleetDefaultMemberConfigPolicycontrollerEbb04Ca2State

type FleetDefaultMemberConfigPolicycontrollerEbb04Ca2State struct {
	Bundle             string   `json:"bundle"`
	ExemptedNamespaces []string `json:"exempted_namespaces"`
}

type FleetDefaultMemberConfigPolicycontrollerFe42429F

type FleetDefaultMemberConfigPolicycontrollerFe42429F struct {
	// Installation: string, optional
	Installation terra.StringValue `hcl:"installation,attr"`
}

type FleetDefaultMemberConfigPolicycontrollerFe42429FAttributes

type FleetDefaultMemberConfigPolicycontrollerFe42429FAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerFe42429FAttributes) Installation

func (FleetDefaultMemberConfigPolicycontrollerFe42429FAttributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerFe42429FAttributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerFe42429FAttributes) InternalWithRef

type FleetDefaultMemberConfigPolicycontrollerFe42429FState

type FleetDefaultMemberConfigPolicycontrollerFe42429FState struct {
	Installation string `json:"installation"`
}

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfig struct {
	// AuditIntervalSeconds: number, optional
	AuditIntervalSeconds terra.NumberValue `hcl:"audit_interval_seconds,attr"`
	// ConstraintViolationLimit: number, optional
	ConstraintViolationLimit terra.NumberValue `hcl:"constraint_violation_limit,attr"`
	// ExemptableNamespaces: list of string, optional
	ExemptableNamespaces terra.ListValue[terra.StringValue] `hcl:"exemptable_namespaces,attr"`
	// InstallSpec: string, required
	InstallSpec terra.StringValue `hcl:"install_spec,attr" validate:"required"`
	// LogDeniesEnabled: bool, optional
	LogDeniesEnabled terra.BoolValue `hcl:"log_denies_enabled,attr"`
	// MutationEnabled: bool, optional
	MutationEnabled terra.BoolValue `hcl:"mutation_enabled,attr"`
	// ReferentialRulesEnabled: bool, optional
	ReferentialRulesEnabled terra.BoolValue `hcl:"referential_rules_enabled,attr"`
	// FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigs: min=0
	DeploymentConfigs []FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigs `hcl:"deployment_configs,block" validate:"min=0"`
	// FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoring: optional
	Monitoring *FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoring `hcl:"monitoring,block"`
	// FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent: optional
	PolicyContent *FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent `hcl:"policy_content,block"`
}

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) AuditIntervalSeconds

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) ConstraintViolationLimit

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) ExemptableNamespaces

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) InstallSpec

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) InternalWithRef

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) LogDeniesEnabled

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) MutationEnabled

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigAttributes) ReferentialRulesEnabled

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigs

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigs struct {
	// Component: string, required
	Component terra.StringValue `hcl:"component,attr" validate:"required"`
	// PodAffinity: string, optional
	PodAffinity terra.StringValue `hcl:"pod_affinity,attr"`
	// ReplicaCount: number, optional
	ReplicaCount terra.NumberValue `hcl:"replica_count,attr"`
	// FleetDefaultMemberConfigPolicycontrollerE45136A6: optional
	ContainerResources *FleetDefaultMemberConfigPolicycontrollerE45136A6 `hcl:"container_resources,block"`
	// FleetDefaultMemberConfigPolicycontrollerDe37Eea4: min=0
	PodToleration []FleetDefaultMemberConfigPolicycontrollerDe37Eea4 `hcl:"pod_toleration,block" validate:"min=0"`
}

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsAttributes

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsAttributes) Component

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsAttributes) ContainerResources

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsAttributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsAttributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsAttributes) PodAffinity

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsAttributes) PodToleration

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsAttributes) ReplicaCount

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsState

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsState struct {
	Component          string                                                  `json:"component"`
	PodAffinity        string                                                  `json:"pod_affinity"`
	ReplicaCount       float64                                                 `json:"replica_count"`
	ContainerResources []FleetDefaultMemberConfigPolicycontrollerE45136A6State `json:"container_resources"`
	PodToleration      []FleetDefaultMemberConfigPolicycontrollerDe37Eea4State `json:"pod_toleration"`
}

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoring

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoring struct {
	// Backends: list of string, optional
	Backends terra.ListValue[terra.StringValue] `hcl:"backends,attr"`
}

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoringAttributes

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoringAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoringAttributes) Backends

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoringAttributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoringAttributes) InternalTokens

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoringState

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoringState struct {
	Backends []string `json:"backends"`
}

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContent struct {
	// FleetDefaultMemberConfigPolicycontrollerEbb04Ca2: min=0
	Bundles []FleetDefaultMemberConfigPolicycontrollerEbb04Ca2 `hcl:"bundles,block" validate:"min=0"`
	// FleetDefaultMemberConfigPolicycontrollerFe42429F: optional
	TemplateLibrary *FleetDefaultMemberConfigPolicycontrollerFe42429F `hcl:"template_library,block"`
}

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentAttributes

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentAttributes struct {
	// contains filtered or unexported fields
}

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentAttributes) Bundles

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentAttributes) InternalRef

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentAttributes) InternalTokens

func (FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentAttributes) TemplateLibrary

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentState

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentState struct {
	Bundles         []FleetDefaultMemberConfigPolicycontrollerEbb04Ca2State `json:"bundles"`
	TemplateLibrary []FleetDefaultMemberConfigPolicycontrollerFe42429FState `json:"template_library"`
}

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigState

type FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigState struct {
	AuditIntervalSeconds     float64                                                                                   `json:"audit_interval_seconds"`
	ConstraintViolationLimit float64                                                                                   `json:"constraint_violation_limit"`
	ExemptableNamespaces     []string                                                                                  `json:"exemptable_namespaces"`
	InstallSpec              string                                                                                    `json:"install_spec"`
	LogDeniesEnabled         bool                                                                                      `json:"log_denies_enabled"`
	MutationEnabled          bool                                                                                      `json:"mutation_enabled"`
	ReferentialRulesEnabled  bool                                                                                      `json:"referential_rules_enabled"`
	DeploymentConfigs        []FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigDeploymentConfigsState `json:"deployment_configs"`
	Monitoring               []FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigMonitoringState        `json:"monitoring"`
	PolicyContent            []FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentState     `json:"policy_content"`
}

type FleetDefaultMemberConfigPolicycontrollerState

type FleetDefaultMemberConfigPolicycontrollerState struct {
	Version                   string                                                                   `json:"version"`
	PolicyControllerHubConfig []FleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigState `json:"policy_controller_hub_config"`
}

type FleetDefaultMemberConfigState

type FleetDefaultMemberConfigState struct {
	Configmanagement []FleetDefaultMemberConfigConfigmanagementState `json:"configmanagement"`
	Mesh             []FleetDefaultMemberConfigMeshState             `json:"mesh"`
	Policycontroller []FleetDefaultMemberConfigPolicycontrollerState `json:"policycontroller"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_gke_hub_feature.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gghf *Resource) Attributes() googleGkeHubFeatureAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gghf *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gghf *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gghf *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gghf *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gghf *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gghf *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gghf *Resource) State() (*googleGkeHubFeatureState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gghf *Resource) StateMust() *googleGkeHubFeatureState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gghf *Resource) Type() string

Type returns the Terraform object type for Resource.

type ResourceStateAttributes

type ResourceStateAttributes struct {
	// contains filtered or unexported fields
}

func (ResourceStateAttributes) HasResources

func (rs ResourceStateAttributes) HasResources() terra.BoolValue

func (ResourceStateAttributes) InternalRef

func (rs ResourceStateAttributes) InternalRef() (terra.Reference, error)

func (ResourceStateAttributes) InternalTokens

func (rs ResourceStateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResourceStateAttributes) InternalWithRef

func (ResourceStateAttributes) State

type ResourceStateState

type ResourceStateState struct {
	HasResources bool   `json:"has_resources"`
	State        string `json:"state"`
}

type Spec

type Spec struct {
	// SpecClusterupgrade: optional
	Clusterupgrade *SpecClusterupgrade `hcl:"clusterupgrade,block"`
	// SpecFleetobservability: optional
	Fleetobservability *SpecFleetobservability `hcl:"fleetobservability,block"`
	// SpecMulticlusteringress: optional
	Multiclusteringress *SpecMulticlusteringress `hcl:"multiclusteringress,block"`
}

type SpecAttributes

type SpecAttributes struct {
	// contains filtered or unexported fields
}

func (SpecAttributes) Clusterupgrade

func (SpecAttributes) Fleetobservability

func (SpecAttributes) InternalRef

func (s SpecAttributes) InternalRef() (terra.Reference, error)

func (SpecAttributes) InternalTokens

func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecAttributes) InternalWithRef

func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes

func (SpecAttributes) Multiclusteringress

type SpecClusterupgrade

type SpecClusterupgrade struct {
	// UpstreamFleets: list of string, required
	UpstreamFleets terra.ListValue[terra.StringValue] `hcl:"upstream_fleets,attr" validate:"required"`
	// SpecClusterupgradeGkeUpgradeOverrides: min=0
	GkeUpgradeOverrides []SpecClusterupgradeGkeUpgradeOverrides `hcl:"gke_upgrade_overrides,block" validate:"min=0"`
	// SpecClusterupgradePostConditions: optional
	PostConditions *SpecClusterupgradePostConditions `hcl:"post_conditions,block"`
}

type SpecClusterupgradeAttributes

type SpecClusterupgradeAttributes struct {
	// contains filtered or unexported fields
}

func (SpecClusterupgradeAttributes) GkeUpgradeOverrides

func (SpecClusterupgradeAttributes) InternalRef

func (SpecClusterupgradeAttributes) InternalTokens

func (c SpecClusterupgradeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecClusterupgradeAttributes) InternalWithRef

func (SpecClusterupgradeAttributes) PostConditions

func (SpecClusterupgradeAttributes) UpstreamFleets

type SpecClusterupgradeGkeUpgradeOverrides

type SpecClusterupgradeGkeUpgradeOverrides struct {
	// SpecClusterupgradeGkeUpgradeOverridesPostConditions: required
	PostConditions *SpecClusterupgradeGkeUpgradeOverridesPostConditions `hcl:"post_conditions,block" validate:"required"`
	// SpecClusterupgradeGkeUpgradeOverridesUpgrade: required
	Upgrade *SpecClusterupgradeGkeUpgradeOverridesUpgrade `hcl:"upgrade,block" validate:"required"`
}

type SpecClusterupgradeGkeUpgradeOverridesAttributes

type SpecClusterupgradeGkeUpgradeOverridesAttributes struct {
	// contains filtered or unexported fields
}

func (SpecClusterupgradeGkeUpgradeOverridesAttributes) InternalRef

func (SpecClusterupgradeGkeUpgradeOverridesAttributes) InternalTokens

func (SpecClusterupgradeGkeUpgradeOverridesAttributes) InternalWithRef

func (SpecClusterupgradeGkeUpgradeOverridesAttributes) Upgrade

type SpecClusterupgradeGkeUpgradeOverridesPostConditions

type SpecClusterupgradeGkeUpgradeOverridesPostConditions struct {
	// Soaking: string, required
	Soaking terra.StringValue `hcl:"soaking,attr" validate:"required"`
}

type SpecClusterupgradeGkeUpgradeOverridesPostConditionsAttributes

type SpecClusterupgradeGkeUpgradeOverridesPostConditionsAttributes struct {
	// contains filtered or unexported fields
}

func (SpecClusterupgradeGkeUpgradeOverridesPostConditionsAttributes) InternalRef

func (SpecClusterupgradeGkeUpgradeOverridesPostConditionsAttributes) InternalTokens

func (SpecClusterupgradeGkeUpgradeOverridesPostConditionsAttributes) InternalWithRef

func (SpecClusterupgradeGkeUpgradeOverridesPostConditionsAttributes) Soaking

type SpecClusterupgradeGkeUpgradeOverridesPostConditionsState

type SpecClusterupgradeGkeUpgradeOverridesPostConditionsState struct {
	Soaking string `json:"soaking"`
}

type SpecClusterupgradeGkeUpgradeOverridesState

type SpecClusterupgradeGkeUpgradeOverridesState struct {
	PostConditions []SpecClusterupgradeGkeUpgradeOverridesPostConditionsState `json:"post_conditions"`
	Upgrade        []SpecClusterupgradeGkeUpgradeOverridesUpgradeState        `json:"upgrade"`
}

type SpecClusterupgradeGkeUpgradeOverridesUpgrade

type SpecClusterupgradeGkeUpgradeOverridesUpgrade struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Version: string, required
	Version terra.StringValue `hcl:"version,attr" validate:"required"`
}

type SpecClusterupgradeGkeUpgradeOverridesUpgradeAttributes

type SpecClusterupgradeGkeUpgradeOverridesUpgradeAttributes struct {
	// contains filtered or unexported fields
}

func (SpecClusterupgradeGkeUpgradeOverridesUpgradeAttributes) InternalRef

func (SpecClusterupgradeGkeUpgradeOverridesUpgradeAttributes) InternalTokens

func (SpecClusterupgradeGkeUpgradeOverridesUpgradeAttributes) InternalWithRef

func (SpecClusterupgradeGkeUpgradeOverridesUpgradeAttributes) Name

func (SpecClusterupgradeGkeUpgradeOverridesUpgradeAttributes) Version

type SpecClusterupgradeGkeUpgradeOverridesUpgradeState

type SpecClusterupgradeGkeUpgradeOverridesUpgradeState struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

type SpecClusterupgradePostConditions

type SpecClusterupgradePostConditions struct {
	// Soaking: string, required
	Soaking terra.StringValue `hcl:"soaking,attr" validate:"required"`
}

type SpecClusterupgradePostConditionsAttributes

type SpecClusterupgradePostConditionsAttributes struct {
	// contains filtered or unexported fields
}

func (SpecClusterupgradePostConditionsAttributes) InternalRef

func (SpecClusterupgradePostConditionsAttributes) InternalTokens

func (SpecClusterupgradePostConditionsAttributes) InternalWithRef

func (SpecClusterupgradePostConditionsAttributes) Soaking

type SpecClusterupgradePostConditionsState

type SpecClusterupgradePostConditionsState struct {
	Soaking string `json:"soaking"`
}

type SpecClusterupgradeState

type SpecClusterupgradeState struct {
	UpstreamFleets      []string                                     `json:"upstream_fleets"`
	GkeUpgradeOverrides []SpecClusterupgradeGkeUpgradeOverridesState `json:"gke_upgrade_overrides"`
	PostConditions      []SpecClusterupgradePostConditionsState      `json:"post_conditions"`
}

type SpecFleetobservability

type SpecFleetobservability struct {
	// SpecFleetobservabilityLoggingConfig: optional
	LoggingConfig *SpecFleetobservabilityLoggingConfig `hcl:"logging_config,block"`
}

type SpecFleetobservabilityAttributes

type SpecFleetobservabilityAttributes struct {
	// contains filtered or unexported fields
}

func (SpecFleetobservabilityAttributes) InternalRef

func (SpecFleetobservabilityAttributes) InternalTokens

func (f SpecFleetobservabilityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecFleetobservabilityAttributes) InternalWithRef

func (SpecFleetobservabilityAttributes) LoggingConfig

type SpecFleetobservabilityLoggingConfig

type SpecFleetobservabilityLoggingConfig struct {
	// SpecFleetobservabilityLoggingConfigDefaultConfig: optional
	DefaultConfig *SpecFleetobservabilityLoggingConfigDefaultConfig `hcl:"default_config,block"`
	// SpecFleetobservabilityLoggingConfigFleetScopeLogsConfig: optional
	FleetScopeLogsConfig *SpecFleetobservabilityLoggingConfigFleetScopeLogsConfig `hcl:"fleet_scope_logs_config,block"`
}

type SpecFleetobservabilityLoggingConfigAttributes

type SpecFleetobservabilityLoggingConfigAttributes struct {
	// contains filtered or unexported fields
}

func (SpecFleetobservabilityLoggingConfigAttributes) InternalRef

func (SpecFleetobservabilityLoggingConfigAttributes) InternalTokens

func (SpecFleetobservabilityLoggingConfigAttributes) InternalWithRef

type SpecFleetobservabilityLoggingConfigDefaultConfig

type SpecFleetobservabilityLoggingConfigDefaultConfig struct {
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
}

type SpecFleetobservabilityLoggingConfigDefaultConfigAttributes

type SpecFleetobservabilityLoggingConfigDefaultConfigAttributes struct {
	// contains filtered or unexported fields
}

func (SpecFleetobservabilityLoggingConfigDefaultConfigAttributes) InternalRef

func (SpecFleetobservabilityLoggingConfigDefaultConfigAttributes) InternalTokens

func (SpecFleetobservabilityLoggingConfigDefaultConfigAttributes) InternalWithRef

func (SpecFleetobservabilityLoggingConfigDefaultConfigAttributes) Mode

type SpecFleetobservabilityLoggingConfigDefaultConfigState

type SpecFleetobservabilityLoggingConfigDefaultConfigState struct {
	Mode string `json:"mode"`
}

type SpecFleetobservabilityLoggingConfigFleetScopeLogsConfig

type SpecFleetobservabilityLoggingConfigFleetScopeLogsConfig struct {
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
}

type SpecFleetobservabilityLoggingConfigFleetScopeLogsConfigAttributes

type SpecFleetobservabilityLoggingConfigFleetScopeLogsConfigAttributes struct {
	// contains filtered or unexported fields
}

func (SpecFleetobservabilityLoggingConfigFleetScopeLogsConfigAttributes) InternalRef

func (SpecFleetobservabilityLoggingConfigFleetScopeLogsConfigAttributes) InternalTokens

func (SpecFleetobservabilityLoggingConfigFleetScopeLogsConfigAttributes) InternalWithRef

func (SpecFleetobservabilityLoggingConfigFleetScopeLogsConfigAttributes) Mode

type SpecFleetobservabilityLoggingConfigFleetScopeLogsConfigState

type SpecFleetobservabilityLoggingConfigFleetScopeLogsConfigState struct {
	Mode string `json:"mode"`
}

type SpecFleetobservabilityLoggingConfigState

type SpecFleetobservabilityLoggingConfigState struct {
	DefaultConfig        []SpecFleetobservabilityLoggingConfigDefaultConfigState        `json:"default_config"`
	FleetScopeLogsConfig []SpecFleetobservabilityLoggingConfigFleetScopeLogsConfigState `json:"fleet_scope_logs_config"`
}

type SpecFleetobservabilityState

type SpecFleetobservabilityState struct {
	LoggingConfig []SpecFleetobservabilityLoggingConfigState `json:"logging_config"`
}

type SpecMulticlusteringress

type SpecMulticlusteringress struct {
	// ConfigMembership: string, required
	ConfigMembership terra.StringValue `hcl:"config_membership,attr" validate:"required"`
}

type SpecMulticlusteringressAttributes

type SpecMulticlusteringressAttributes struct {
	// contains filtered or unexported fields
}

func (SpecMulticlusteringressAttributes) ConfigMembership

func (SpecMulticlusteringressAttributes) InternalRef

func (SpecMulticlusteringressAttributes) InternalTokens

func (SpecMulticlusteringressAttributes) InternalWithRef

type SpecMulticlusteringressState

type SpecMulticlusteringressState struct {
	ConfigMembership string `json:"config_membership"`
}

type SpecState

type SpecState struct {
	Clusterupgrade      []SpecClusterupgradeState      `json:"clusterupgrade"`
	Fleetobservability  []SpecFleetobservabilityState  `json:"fleetobservability"`
	Multiclusteringress []SpecMulticlusteringressState `json:"multiclusteringress"`
}

type StateAttributes

type StateAttributes struct {
	// contains filtered or unexported fields
}

func (StateAttributes) InternalRef

func (s StateAttributes) InternalRef() (terra.Reference, error)

func (StateAttributes) InternalTokens

func (s StateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StateAttributes) InternalWithRef

func (s StateAttributes) InternalWithRef(ref terra.Reference) StateAttributes

func (StateAttributes) State

type StateState

type StateState struct {
	State []StateStateState `json:"state"`
}

type StateStateAttributes

type StateStateAttributes struct {
	// contains filtered or unexported fields
}

func (StateStateAttributes) Code

func (StateStateAttributes) Description

func (s StateStateAttributes) Description() terra.StringValue

func (StateStateAttributes) InternalRef

func (s StateStateAttributes) InternalRef() (terra.Reference, error)

func (StateStateAttributes) InternalTokens

func (s StateStateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StateStateAttributes) InternalWithRef

func (StateStateAttributes) UpdateTime

func (s StateStateAttributes) UpdateTime() terra.StringValue

type StateStateState

type StateStateState struct {
	Code        string `json:"code"`
	Description string `json:"description"`
	UpdateTime  string `json:"update_time"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL