google_container_node_pool

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 {
	// Cluster: string, required
	Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InitialNodeCount: number, optional
	InitialNodeCount terra.NumberValue `hcl:"initial_node_count,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// MaxPodsPerNode: number, optional
	MaxPodsPerNode terra.NumberValue `hcl:"max_pods_per_node,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// NamePrefix: string, optional
	NamePrefix terra.StringValue `hcl:"name_prefix,attr"`
	// NodeCount: number, optional
	NodeCount terra.NumberValue `hcl:"node_count,attr"`
	// NodeLocations: set of string, optional
	NodeLocations terra.SetValue[terra.StringValue] `hcl:"node_locations,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
	// Autoscaling: optional
	Autoscaling *Autoscaling `hcl:"autoscaling,block"`
	// Management: optional
	Management *Management `hcl:"management,block"`
	// NetworkConfig: optional
	NetworkConfig *NetworkConfig `hcl:"network_config,block"`
	// NodeConfig: optional
	NodeConfig *NodeConfig `hcl:"node_config,block"`
	// PlacementPolicy: optional
	PlacementPolicy *PlacementPolicy `hcl:"placement_policy,block"`
	// QueuedProvisioning: optional
	QueuedProvisioning *QueuedProvisioning `hcl:"queued_provisioning,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// UpgradeSettings: optional
	UpgradeSettings *UpgradeSettings `hcl:"upgrade_settings,block"`
}

Args contains the configurations for google_container_node_pool.

type Autoscaling

type Autoscaling struct {
	// LocationPolicy: string, optional
	LocationPolicy terra.StringValue `hcl:"location_policy,attr"`
	// MaxNodeCount: number, optional
	MaxNodeCount terra.NumberValue `hcl:"max_node_count,attr"`
	// MinNodeCount: number, optional
	MinNodeCount terra.NumberValue `hcl:"min_node_count,attr"`
	// TotalMaxNodeCount: number, optional
	TotalMaxNodeCount terra.NumberValue `hcl:"total_max_node_count,attr"`
	// TotalMinNodeCount: number, optional
	TotalMinNodeCount terra.NumberValue `hcl:"total_min_node_count,attr"`
}

type AutoscalingAttributes

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

func (AutoscalingAttributes) InternalRef

func (a AutoscalingAttributes) InternalRef() (terra.Reference, error)

func (AutoscalingAttributes) InternalTokens

func (a AutoscalingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoscalingAttributes) InternalWithRef

func (AutoscalingAttributes) LocationPolicy

func (a AutoscalingAttributes) LocationPolicy() terra.StringValue

func (AutoscalingAttributes) MaxNodeCount

func (a AutoscalingAttributes) MaxNodeCount() terra.NumberValue

func (AutoscalingAttributes) MinNodeCount

func (a AutoscalingAttributes) MinNodeCount() terra.NumberValue

func (AutoscalingAttributes) TotalMaxNodeCount

func (a AutoscalingAttributes) TotalMaxNodeCount() terra.NumberValue

func (AutoscalingAttributes) TotalMinNodeCount

func (a AutoscalingAttributes) TotalMinNodeCount() terra.NumberValue

type AutoscalingState

type AutoscalingState struct {
	LocationPolicy    string  `json:"location_policy"`
	MaxNodeCount      float64 `json:"max_node_count"`
	MinNodeCount      float64 `json:"min_node_count"`
	TotalMaxNodeCount float64 `json:"total_max_node_count"`
	TotalMinNodeCount float64 `json:"total_min_node_count"`
}

type Management

type Management struct {
	// AutoRepair: bool, optional
	AutoRepair terra.BoolValue `hcl:"auto_repair,attr"`
	// AutoUpgrade: bool, optional
	AutoUpgrade terra.BoolValue `hcl:"auto_upgrade,attr"`
}

type ManagementAttributes

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

func (ManagementAttributes) AutoRepair

func (m ManagementAttributes) AutoRepair() terra.BoolValue

func (ManagementAttributes) AutoUpgrade

func (m ManagementAttributes) AutoUpgrade() terra.BoolValue

func (ManagementAttributes) InternalRef

func (m ManagementAttributes) InternalRef() (terra.Reference, error)

func (ManagementAttributes) InternalTokens

func (m ManagementAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ManagementAttributes) InternalWithRef

type ManagementState

type ManagementState struct {
	AutoRepair  bool `json:"auto_repair"`
	AutoUpgrade bool `json:"auto_upgrade"`
}

type NetworkConfig

type NetworkConfig struct {
	// CreatePodRange: bool, optional
	CreatePodRange terra.BoolValue `hcl:"create_pod_range,attr"`
	// EnablePrivateNodes: bool, optional
	EnablePrivateNodes terra.BoolValue `hcl:"enable_private_nodes,attr"`
	// PodIpv4CidrBlock: string, optional
	PodIpv4CidrBlock terra.StringValue `hcl:"pod_ipv4_cidr_block,attr"`
	// PodRange: string, optional
	PodRange terra.StringValue `hcl:"pod_range,attr"`
	// NetworkConfigNetworkPerformanceConfig: optional
	NetworkPerformanceConfig *NetworkConfigNetworkPerformanceConfig `hcl:"network_performance_config,block"`
	// NetworkConfigPodCidrOverprovisionConfig: optional
	PodCidrOverprovisionConfig *NetworkConfigPodCidrOverprovisionConfig `hcl:"pod_cidr_overprovision_config,block"`
}

type NetworkConfigAttributes

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

func (NetworkConfigAttributes) CreatePodRange

func (nc NetworkConfigAttributes) CreatePodRange() terra.BoolValue

func (NetworkConfigAttributes) EnablePrivateNodes

func (nc NetworkConfigAttributes) EnablePrivateNodes() terra.BoolValue

func (NetworkConfigAttributes) InternalRef

func (nc NetworkConfigAttributes) InternalRef() (terra.Reference, error)

func (NetworkConfigAttributes) InternalTokens

func (nc NetworkConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigAttributes) InternalWithRef

func (NetworkConfigAttributes) NetworkPerformanceConfig

func (NetworkConfigAttributes) PodCidrOverprovisionConfig

func (NetworkConfigAttributes) PodIpv4CidrBlock

func (nc NetworkConfigAttributes) PodIpv4CidrBlock() terra.StringValue

func (NetworkConfigAttributes) PodRange

type NetworkConfigNetworkPerformanceConfig

type NetworkConfigNetworkPerformanceConfig struct {
	// TotalEgressBandwidthTier: string, required
	TotalEgressBandwidthTier terra.StringValue `hcl:"total_egress_bandwidth_tier,attr" validate:"required"`
}

type NetworkConfigNetworkPerformanceConfigAttributes

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

func (NetworkConfigNetworkPerformanceConfigAttributes) InternalRef

func (NetworkConfigNetworkPerformanceConfigAttributes) InternalTokens

func (NetworkConfigNetworkPerformanceConfigAttributes) InternalWithRef

func (NetworkConfigNetworkPerformanceConfigAttributes) TotalEgressBandwidthTier

func (npc NetworkConfigNetworkPerformanceConfigAttributes) TotalEgressBandwidthTier() terra.StringValue

type NetworkConfigNetworkPerformanceConfigState

type NetworkConfigNetworkPerformanceConfigState struct {
	TotalEgressBandwidthTier string `json:"total_egress_bandwidth_tier"`
}

type NetworkConfigPodCidrOverprovisionConfig

type NetworkConfigPodCidrOverprovisionConfig struct {
	// Disabled: bool, required
	Disabled terra.BoolValue `hcl:"disabled,attr" validate:"required"`
}

type NetworkConfigPodCidrOverprovisionConfigAttributes

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

func (NetworkConfigPodCidrOverprovisionConfigAttributes) Disabled

func (NetworkConfigPodCidrOverprovisionConfigAttributes) InternalRef

func (NetworkConfigPodCidrOverprovisionConfigAttributes) InternalTokens

func (NetworkConfigPodCidrOverprovisionConfigAttributes) InternalWithRef

type NetworkConfigPodCidrOverprovisionConfigState

type NetworkConfigPodCidrOverprovisionConfigState struct {
	Disabled bool `json:"disabled"`
}

type NetworkConfigState

type NetworkConfigState struct {
	CreatePodRange             bool                                           `json:"create_pod_range"`
	EnablePrivateNodes         bool                                           `json:"enable_private_nodes"`
	PodIpv4CidrBlock           string                                         `json:"pod_ipv4_cidr_block"`
	PodRange                   string                                         `json:"pod_range"`
	NetworkPerformanceConfig   []NetworkConfigNetworkPerformanceConfigState   `json:"network_performance_config"`
	PodCidrOverprovisionConfig []NetworkConfigPodCidrOverprovisionConfigState `json:"pod_cidr_overprovision_config"`
}

type NodeConfig

type NodeConfig struct {
	// BootDiskKmsKey: string, optional
	BootDiskKmsKey terra.StringValue `hcl:"boot_disk_kms_key,attr"`
	// DiskSizeGb: number, optional
	DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr"`
	// DiskType: string, optional
	DiskType terra.StringValue `hcl:"disk_type,attr"`
	// EnableConfidentialStorage: bool, optional
	EnableConfidentialStorage terra.BoolValue `hcl:"enable_confidential_storage,attr"`
	// ImageType: string, optional
	ImageType terra.StringValue `hcl:"image_type,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// LocalSsdCount: number, optional
	LocalSsdCount terra.NumberValue `hcl:"local_ssd_count,attr"`
	// LoggingVariant: string, optional
	LoggingVariant terra.StringValue `hcl:"logging_variant,attr"`
	// MachineType: string, optional
	MachineType terra.StringValue `hcl:"machine_type,attr"`
	// Metadata: map of string, optional
	Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"`
	// MinCpuPlatform: string, optional
	MinCpuPlatform terra.StringValue `hcl:"min_cpu_platform,attr"`
	// NodeGroup: string, optional
	NodeGroup terra.StringValue `hcl:"node_group,attr"`
	// OauthScopes: set of string, optional
	OauthScopes terra.SetValue[terra.StringValue] `hcl:"oauth_scopes,attr"`
	// Preemptible: bool, optional
	Preemptible terra.BoolValue `hcl:"preemptible,attr"`
	// ResourceLabels: map of string, optional
	ResourceLabels terra.MapValue[terra.StringValue] `hcl:"resource_labels,attr"`
	// ResourceManagerTags: map of string, optional
	ResourceManagerTags terra.MapValue[terra.StringValue] `hcl:"resource_manager_tags,attr"`
	// ServiceAccount: string, optional
	ServiceAccount terra.StringValue `hcl:"service_account,attr"`
	// Spot: bool, optional
	Spot terra.BoolValue `hcl:"spot,attr"`
	// Tags: list of string, optional
	Tags terra.ListValue[terra.StringValue] `hcl:"tags,attr"`
	// NodeConfigGuestAccelerator: min=0
	GuestAccelerator []NodeConfigGuestAccelerator `hcl:"guest_accelerator,block" validate:"min=0"`
	// NodeConfigAdvancedMachineFeatures: optional
	AdvancedMachineFeatures *NodeConfigAdvancedMachineFeatures `hcl:"advanced_machine_features,block"`
	// NodeConfigConfidentialNodes: optional
	ConfidentialNodes *NodeConfigConfidentialNodes `hcl:"confidential_nodes,block"`
	// NodeConfigEphemeralStorageLocalSsdConfig: optional
	EphemeralStorageLocalSsdConfig *NodeConfigEphemeralStorageLocalSsdConfig `hcl:"ephemeral_storage_local_ssd_config,block"`
	// NodeConfigFastSocket: optional
	FastSocket *NodeConfigFastSocket `hcl:"fast_socket,block"`
	// NodeConfigGcfsConfig: optional
	GcfsConfig *NodeConfigGcfsConfig `hcl:"gcfs_config,block"`
	// NodeConfigGvnic: optional
	Gvnic *NodeConfigGvnic `hcl:"gvnic,block"`
	// NodeConfigHostMaintenancePolicy: optional
	HostMaintenancePolicy *NodeConfigHostMaintenancePolicy `hcl:"host_maintenance_policy,block"`
	// NodeConfigKubeletConfig: optional
	KubeletConfig *NodeConfigKubeletConfig `hcl:"kubelet_config,block"`
	// NodeConfigLinuxNodeConfig: optional
	LinuxNodeConfig *NodeConfigLinuxNodeConfig `hcl:"linux_node_config,block"`
	// NodeConfigLocalNvmeSsdBlockConfig: optional
	LocalNvmeSsdBlockConfig *NodeConfigLocalNvmeSsdBlockConfig `hcl:"local_nvme_ssd_block_config,block"`
	// NodeConfigReservationAffinity: optional
	ReservationAffinity *NodeConfigReservationAffinity `hcl:"reservation_affinity,block"`
	// NodeConfigShieldedInstanceConfig: optional
	ShieldedInstanceConfig *NodeConfigShieldedInstanceConfig `hcl:"shielded_instance_config,block"`
	// NodeConfigSoleTenantConfig: optional
	SoleTenantConfig *NodeConfigSoleTenantConfig `hcl:"sole_tenant_config,block"`
	// NodeConfigTaint: min=0
	Taint []NodeConfigTaint `hcl:"taint,block" validate:"min=0"`
	// NodeConfigWorkloadMetadataConfig: optional
	WorkloadMetadataConfig *NodeConfigWorkloadMetadataConfig `hcl:"workload_metadata_config,block"`
}

type NodeConfigAdvancedMachineFeatures

type NodeConfigAdvancedMachineFeatures struct {
	// ThreadsPerCore: number, required
	ThreadsPerCore terra.NumberValue `hcl:"threads_per_core,attr" validate:"required"`
}

type NodeConfigAdvancedMachineFeaturesAttributes

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

func (NodeConfigAdvancedMachineFeaturesAttributes) InternalRef

func (NodeConfigAdvancedMachineFeaturesAttributes) InternalTokens

func (NodeConfigAdvancedMachineFeaturesAttributes) InternalWithRef

func (NodeConfigAdvancedMachineFeaturesAttributes) ThreadsPerCore

type NodeConfigAdvancedMachineFeaturesState

type NodeConfigAdvancedMachineFeaturesState struct {
	ThreadsPerCore float64 `json:"threads_per_core"`
}

type NodeConfigAttributes

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

func (NodeConfigAttributes) AdvancedMachineFeatures

func (NodeConfigAttributes) BootDiskKmsKey

func (nc NodeConfigAttributes) BootDiskKmsKey() terra.StringValue

func (NodeConfigAttributes) ConfidentialNodes

func (NodeConfigAttributes) DiskSizeGb

func (nc NodeConfigAttributes) DiskSizeGb() terra.NumberValue

func (NodeConfigAttributes) DiskType

func (nc NodeConfigAttributes) DiskType() terra.StringValue

func (NodeConfigAttributes) EffectiveTaints

func (NodeConfigAttributes) EnableConfidentialStorage

func (nc NodeConfigAttributes) EnableConfidentialStorage() terra.BoolValue

func (NodeConfigAttributes) EphemeralStorageLocalSsdConfig

func (NodeConfigAttributes) FastSocket

func (NodeConfigAttributes) GcfsConfig

func (NodeConfigAttributes) GuestAccelerator

func (NodeConfigAttributes) Gvnic

func (NodeConfigAttributes) HostMaintenancePolicy

func (NodeConfigAttributes) ImageType

func (nc NodeConfigAttributes) ImageType() terra.StringValue

func (NodeConfigAttributes) InternalRef

func (nc NodeConfigAttributes) InternalRef() (terra.Reference, error)

func (NodeConfigAttributes) InternalTokens

func (nc NodeConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeConfigAttributes) InternalWithRef

func (nc NodeConfigAttributes) InternalWithRef(ref terra.Reference) NodeConfigAttributes

func (NodeConfigAttributes) KubeletConfig

func (NodeConfigAttributes) Labels

func (NodeConfigAttributes) LinuxNodeConfig

func (NodeConfigAttributes) LocalNvmeSsdBlockConfig

func (NodeConfigAttributes) LocalSsdCount

func (nc NodeConfigAttributes) LocalSsdCount() terra.NumberValue

func (NodeConfigAttributes) LoggingVariant

func (nc NodeConfigAttributes) LoggingVariant() terra.StringValue

func (NodeConfigAttributes) MachineType

func (nc NodeConfigAttributes) MachineType() terra.StringValue

func (NodeConfigAttributes) Metadata

func (NodeConfigAttributes) MinCpuPlatform

func (nc NodeConfigAttributes) MinCpuPlatform() terra.StringValue

func (NodeConfigAttributes) NodeGroup

func (nc NodeConfigAttributes) NodeGroup() terra.StringValue

func (NodeConfigAttributes) OauthScopes

func (NodeConfigAttributes) Preemptible

func (nc NodeConfigAttributes) Preemptible() terra.BoolValue

func (NodeConfigAttributes) ReservationAffinity

func (NodeConfigAttributes) ResourceLabels

func (nc NodeConfigAttributes) ResourceLabels() terra.MapValue[terra.StringValue]

func (NodeConfigAttributes) ResourceManagerTags

func (nc NodeConfigAttributes) ResourceManagerTags() terra.MapValue[terra.StringValue]

func (NodeConfigAttributes) ServiceAccount

func (nc NodeConfigAttributes) ServiceAccount() terra.StringValue

func (NodeConfigAttributes) ShieldedInstanceConfig

func (NodeConfigAttributes) SoleTenantConfig

func (NodeConfigAttributes) Spot

func (NodeConfigAttributes) Tags

func (NodeConfigAttributes) Taint

func (NodeConfigAttributes) WorkloadMetadataConfig

type NodeConfigConfidentialNodes

type NodeConfigConfidentialNodes struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type NodeConfigConfidentialNodesAttributes

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

func (NodeConfigConfidentialNodesAttributes) Enabled

func (NodeConfigConfidentialNodesAttributes) InternalRef

func (NodeConfigConfidentialNodesAttributes) InternalTokens

func (NodeConfigConfidentialNodesAttributes) InternalWithRef

type NodeConfigConfidentialNodesState

type NodeConfigConfidentialNodesState struct {
	Enabled bool `json:"enabled"`
}

type NodeConfigEffectiveTaintsAttributes

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

func (NodeConfigEffectiveTaintsAttributes) Effect

func (NodeConfigEffectiveTaintsAttributes) InternalRef

func (NodeConfigEffectiveTaintsAttributes) InternalTokens

func (NodeConfigEffectiveTaintsAttributes) InternalWithRef

func (NodeConfigEffectiveTaintsAttributes) Key

func (NodeConfigEffectiveTaintsAttributes) Value

type NodeConfigEffectiveTaintsState

type NodeConfigEffectiveTaintsState struct {
	Effect string `json:"effect"`
	Key    string `json:"key"`
	Value  string `json:"value"`
}

type NodeConfigEphemeralStorageLocalSsdConfig

type NodeConfigEphemeralStorageLocalSsdConfig struct {
	// LocalSsdCount: number, required
	LocalSsdCount terra.NumberValue `hcl:"local_ssd_count,attr" validate:"required"`
}

type NodeConfigEphemeralStorageLocalSsdConfigAttributes

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

func (NodeConfigEphemeralStorageLocalSsdConfigAttributes) InternalRef

func (NodeConfigEphemeralStorageLocalSsdConfigAttributes) InternalTokens

func (NodeConfigEphemeralStorageLocalSsdConfigAttributes) InternalWithRef

func (NodeConfigEphemeralStorageLocalSsdConfigAttributes) LocalSsdCount

type NodeConfigEphemeralStorageLocalSsdConfigState

type NodeConfigEphemeralStorageLocalSsdConfigState struct {
	LocalSsdCount float64 `json:"local_ssd_count"`
}

type NodeConfigFastSocket

type NodeConfigFastSocket struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type NodeConfigFastSocketAttributes

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

func (NodeConfigFastSocketAttributes) Enabled

func (NodeConfigFastSocketAttributes) InternalRef

func (NodeConfigFastSocketAttributes) InternalTokens

func (fs NodeConfigFastSocketAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeConfigFastSocketAttributes) InternalWithRef

type NodeConfigFastSocketState

type NodeConfigFastSocketState struct {
	Enabled bool `json:"enabled"`
}

type NodeConfigGcfsConfig

type NodeConfigGcfsConfig struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type NodeConfigGcfsConfigAttributes

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

func (NodeConfigGcfsConfigAttributes) Enabled

func (NodeConfigGcfsConfigAttributes) InternalRef

func (NodeConfigGcfsConfigAttributes) InternalTokens

func (gc NodeConfigGcfsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeConfigGcfsConfigAttributes) InternalWithRef

type NodeConfigGcfsConfigState

type NodeConfigGcfsConfigState struct {
	Enabled bool `json:"enabled"`
}

type NodeConfigGuestAccelerator

type NodeConfigGuestAccelerator struct {
	// Count: number, optional
	Count terra.NumberValue `hcl:"count,attr"`
	// GpuPartitionSize: string, optional
	GpuPartitionSize terra.StringValue `hcl:"gpu_partition_size,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// NodeConfigGuestAcceleratorGpuDriverInstallationConfig: min=0
	GpuDriverInstallationConfig []NodeConfigGuestAcceleratorGpuDriverInstallationConfig `hcl:"gpu_driver_installation_config,block" validate:"min=0"`
	// NodeConfigGuestAcceleratorGpuSharingConfig: min=0
	GpuSharingConfig []NodeConfigGuestAcceleratorGpuSharingConfig `hcl:"gpu_sharing_config,block" validate:"min=0"`
}

type NodeConfigGuestAcceleratorAttributes

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

func (NodeConfigGuestAcceleratorAttributes) Count

func (NodeConfigGuestAcceleratorAttributes) GpuPartitionSize

func (NodeConfigGuestAcceleratorAttributes) GpuSharingConfig

func (NodeConfigGuestAcceleratorAttributes) InternalRef

func (NodeConfigGuestAcceleratorAttributes) InternalTokens

func (NodeConfigGuestAcceleratorAttributes) InternalWithRef

func (NodeConfigGuestAcceleratorAttributes) Type

type NodeConfigGuestAcceleratorGpuDriverInstallationConfig

type NodeConfigGuestAcceleratorGpuDriverInstallationConfig struct {
	// GpuDriverVersion: string, optional
	GpuDriverVersion terra.StringValue `hcl:"gpu_driver_version,attr"`
}

type NodeConfigGuestAcceleratorGpuDriverInstallationConfigAttributes

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

func (NodeConfigGuestAcceleratorGpuDriverInstallationConfigAttributes) GpuDriverVersion

func (NodeConfigGuestAcceleratorGpuDriverInstallationConfigAttributes) InternalRef

func (NodeConfigGuestAcceleratorGpuDriverInstallationConfigAttributes) InternalTokens

func (NodeConfigGuestAcceleratorGpuDriverInstallationConfigAttributes) InternalWithRef

type NodeConfigGuestAcceleratorGpuDriverInstallationConfigState

type NodeConfigGuestAcceleratorGpuDriverInstallationConfigState struct {
	GpuDriverVersion string `json:"gpu_driver_version"`
}

type NodeConfigGuestAcceleratorGpuSharingConfig

type NodeConfigGuestAcceleratorGpuSharingConfig struct {
	// GpuSharingStrategy: string, optional
	GpuSharingStrategy terra.StringValue `hcl:"gpu_sharing_strategy,attr"`
	// MaxSharedClientsPerGpu: number, optional
	MaxSharedClientsPerGpu terra.NumberValue `hcl:"max_shared_clients_per_gpu,attr"`
}

type NodeConfigGuestAcceleratorGpuSharingConfigAttributes

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

func (NodeConfigGuestAcceleratorGpuSharingConfigAttributes) GpuSharingStrategy

func (NodeConfigGuestAcceleratorGpuSharingConfigAttributes) InternalRef

func (NodeConfigGuestAcceleratorGpuSharingConfigAttributes) InternalTokens

func (NodeConfigGuestAcceleratorGpuSharingConfigAttributes) InternalWithRef

func (NodeConfigGuestAcceleratorGpuSharingConfigAttributes) MaxSharedClientsPerGpu

type NodeConfigGuestAcceleratorGpuSharingConfigState

type NodeConfigGuestAcceleratorGpuSharingConfigState struct {
	GpuSharingStrategy     string  `json:"gpu_sharing_strategy"`
	MaxSharedClientsPerGpu float64 `json:"max_shared_clients_per_gpu"`
}

type NodeConfigGuestAcceleratorState

type NodeConfigGuestAcceleratorState struct {
	Count                       float64                                                      `json:"count"`
	GpuPartitionSize            string                                                       `json:"gpu_partition_size"`
	Type                        string                                                       `json:"type"`
	GpuDriverInstallationConfig []NodeConfigGuestAcceleratorGpuDriverInstallationConfigState `json:"gpu_driver_installation_config"`
	GpuSharingConfig            []NodeConfigGuestAcceleratorGpuSharingConfigState            `json:"gpu_sharing_config"`
}

type NodeConfigGvnic

type NodeConfigGvnic struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type NodeConfigGvnicAttributes

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

func (NodeConfigGvnicAttributes) Enabled

func (NodeConfigGvnicAttributes) InternalRef

func (g NodeConfigGvnicAttributes) InternalRef() (terra.Reference, error)

func (NodeConfigGvnicAttributes) InternalTokens

func (g NodeConfigGvnicAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeConfigGvnicAttributes) InternalWithRef

type NodeConfigGvnicState

type NodeConfigGvnicState struct {
	Enabled bool `json:"enabled"`
}

type NodeConfigHostMaintenancePolicy

type NodeConfigHostMaintenancePolicy struct {
	// MaintenanceInterval: string, required
	MaintenanceInterval terra.StringValue `hcl:"maintenance_interval,attr" validate:"required"`
}

type NodeConfigHostMaintenancePolicyAttributes

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

func (NodeConfigHostMaintenancePolicyAttributes) InternalRef

func (NodeConfigHostMaintenancePolicyAttributes) InternalTokens

func (NodeConfigHostMaintenancePolicyAttributes) InternalWithRef

func (NodeConfigHostMaintenancePolicyAttributes) MaintenanceInterval

type NodeConfigHostMaintenancePolicyState

type NodeConfigHostMaintenancePolicyState struct {
	MaintenanceInterval string `json:"maintenance_interval"`
}

type NodeConfigKubeletConfig

type NodeConfigKubeletConfig struct {
	// CpuCfsQuota: bool, optional
	CpuCfsQuota terra.BoolValue `hcl:"cpu_cfs_quota,attr"`
	// CpuCfsQuotaPeriod: string, optional
	CpuCfsQuotaPeriod terra.StringValue `hcl:"cpu_cfs_quota_period,attr"`
	// CpuManagerPolicy: string, required
	CpuManagerPolicy terra.StringValue `hcl:"cpu_manager_policy,attr" validate:"required"`
	// PodPidsLimit: number, optional
	PodPidsLimit terra.NumberValue `hcl:"pod_pids_limit,attr"`
}

type NodeConfigKubeletConfigAttributes

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

func (NodeConfigKubeletConfigAttributes) CpuCfsQuota

func (NodeConfigKubeletConfigAttributes) CpuCfsQuotaPeriod

func (kc NodeConfigKubeletConfigAttributes) CpuCfsQuotaPeriod() terra.StringValue

func (NodeConfigKubeletConfigAttributes) CpuManagerPolicy

func (kc NodeConfigKubeletConfigAttributes) CpuManagerPolicy() terra.StringValue

func (NodeConfigKubeletConfigAttributes) InternalRef

func (NodeConfigKubeletConfigAttributes) InternalTokens

func (kc NodeConfigKubeletConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeConfigKubeletConfigAttributes) InternalWithRef

func (NodeConfigKubeletConfigAttributes) PodPidsLimit

type NodeConfigKubeletConfigState

type NodeConfigKubeletConfigState struct {
	CpuCfsQuota       bool    `json:"cpu_cfs_quota"`
	CpuCfsQuotaPeriod string  `json:"cpu_cfs_quota_period"`
	CpuManagerPolicy  string  `json:"cpu_manager_policy"`
	PodPidsLimit      float64 `json:"pod_pids_limit"`
}

type NodeConfigLinuxNodeConfig

type NodeConfigLinuxNodeConfig struct {
	// CgroupMode: string, optional
	CgroupMode terra.StringValue `hcl:"cgroup_mode,attr"`
	// Sysctls: map of string, optional
	Sysctls terra.MapValue[terra.StringValue] `hcl:"sysctls,attr"`
}

type NodeConfigLinuxNodeConfigAttributes

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

func (NodeConfigLinuxNodeConfigAttributes) CgroupMode

func (NodeConfigLinuxNodeConfigAttributes) InternalRef

func (NodeConfigLinuxNodeConfigAttributes) InternalTokens

func (lnc NodeConfigLinuxNodeConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeConfigLinuxNodeConfigAttributes) InternalWithRef

func (NodeConfigLinuxNodeConfigAttributes) Sysctls

type NodeConfigLinuxNodeConfigState

type NodeConfigLinuxNodeConfigState struct {
	CgroupMode string            `json:"cgroup_mode"`
	Sysctls    map[string]string `json:"sysctls"`
}

type NodeConfigLocalNvmeSsdBlockConfig

type NodeConfigLocalNvmeSsdBlockConfig struct {
	// LocalSsdCount: number, required
	LocalSsdCount terra.NumberValue `hcl:"local_ssd_count,attr" validate:"required"`
}

type NodeConfigLocalNvmeSsdBlockConfigAttributes

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

func (NodeConfigLocalNvmeSsdBlockConfigAttributes) InternalRef

func (NodeConfigLocalNvmeSsdBlockConfigAttributes) InternalTokens

func (NodeConfigLocalNvmeSsdBlockConfigAttributes) InternalWithRef

func (NodeConfigLocalNvmeSsdBlockConfigAttributes) LocalSsdCount

type NodeConfigLocalNvmeSsdBlockConfigState

type NodeConfigLocalNvmeSsdBlockConfigState struct {
	LocalSsdCount float64 `json:"local_ssd_count"`
}

type NodeConfigReservationAffinity

type NodeConfigReservationAffinity struct {
	// ConsumeReservationType: string, required
	ConsumeReservationType terra.StringValue `hcl:"consume_reservation_type,attr" validate:"required"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type NodeConfigReservationAffinityAttributes

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

func (NodeConfigReservationAffinityAttributes) ConsumeReservationType

func (ra NodeConfigReservationAffinityAttributes) ConsumeReservationType() terra.StringValue

func (NodeConfigReservationAffinityAttributes) InternalRef

func (NodeConfigReservationAffinityAttributes) InternalTokens

func (NodeConfigReservationAffinityAttributes) InternalWithRef

func (NodeConfigReservationAffinityAttributes) Key

func (NodeConfigReservationAffinityAttributes) Values

type NodeConfigReservationAffinityState

type NodeConfigReservationAffinityState struct {
	ConsumeReservationType string   `json:"consume_reservation_type"`
	Key                    string   `json:"key"`
	Values                 []string `json:"values"`
}

type NodeConfigShieldedInstanceConfig

type NodeConfigShieldedInstanceConfig struct {
	// EnableIntegrityMonitoring: bool, optional
	EnableIntegrityMonitoring terra.BoolValue `hcl:"enable_integrity_monitoring,attr"`
	// EnableSecureBoot: bool, optional
	EnableSecureBoot terra.BoolValue `hcl:"enable_secure_boot,attr"`
}

type NodeConfigShieldedInstanceConfigAttributes

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

func (NodeConfigShieldedInstanceConfigAttributes) EnableIntegrityMonitoring

func (sic NodeConfigShieldedInstanceConfigAttributes) EnableIntegrityMonitoring() terra.BoolValue

func (NodeConfigShieldedInstanceConfigAttributes) EnableSecureBoot

func (NodeConfigShieldedInstanceConfigAttributes) InternalRef

func (NodeConfigShieldedInstanceConfigAttributes) InternalTokens

func (NodeConfigShieldedInstanceConfigAttributes) InternalWithRef

type NodeConfigShieldedInstanceConfigState

type NodeConfigShieldedInstanceConfigState struct {
	EnableIntegrityMonitoring bool `json:"enable_integrity_monitoring"`
	EnableSecureBoot          bool `json:"enable_secure_boot"`
}

type NodeConfigSoleTenantConfig

type NodeConfigSoleTenantConfig struct {
	// NodeConfigSoleTenantConfigNodeAffinity: min=1
	NodeAffinity []NodeConfigSoleTenantConfigNodeAffinity `hcl:"node_affinity,block" validate:"min=1"`
}

type NodeConfigSoleTenantConfigAttributes

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

func (NodeConfigSoleTenantConfigAttributes) InternalRef

func (NodeConfigSoleTenantConfigAttributes) InternalTokens

func (NodeConfigSoleTenantConfigAttributes) InternalWithRef

func (NodeConfigSoleTenantConfigAttributes) NodeAffinity

type NodeConfigSoleTenantConfigNodeAffinity

type NodeConfigSoleTenantConfigNodeAffinity struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type NodeConfigSoleTenantConfigNodeAffinityAttributes

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

func (NodeConfigSoleTenantConfigNodeAffinityAttributes) InternalRef

func (NodeConfigSoleTenantConfigNodeAffinityAttributes) InternalTokens

func (NodeConfigSoleTenantConfigNodeAffinityAttributes) InternalWithRef

func (NodeConfigSoleTenantConfigNodeAffinityAttributes) Key

func (NodeConfigSoleTenantConfigNodeAffinityAttributes) Operator

func (NodeConfigSoleTenantConfigNodeAffinityAttributes) Values

type NodeConfigSoleTenantConfigNodeAffinityState

type NodeConfigSoleTenantConfigNodeAffinityState struct {
	Key      string   `json:"key"`
	Operator string   `json:"operator"`
	Values   []string `json:"values"`
}

type NodeConfigSoleTenantConfigState

type NodeConfigSoleTenantConfigState struct {
	NodeAffinity []NodeConfigSoleTenantConfigNodeAffinityState `json:"node_affinity"`
}

type NodeConfigState

type NodeConfigState struct {
	BootDiskKmsKey                 string                                          `json:"boot_disk_kms_key"`
	DiskSizeGb                     float64                                         `json:"disk_size_gb"`
	DiskType                       string                                          `json:"disk_type"`
	EnableConfidentialStorage      bool                                            `json:"enable_confidential_storage"`
	ImageType                      string                                          `json:"image_type"`
	Labels                         map[string]string                               `json:"labels"`
	LocalSsdCount                  float64                                         `json:"local_ssd_count"`
	LoggingVariant                 string                                          `json:"logging_variant"`
	MachineType                    string                                          `json:"machine_type"`
	Metadata                       map[string]string                               `json:"metadata"`
	MinCpuPlatform                 string                                          `json:"min_cpu_platform"`
	NodeGroup                      string                                          `json:"node_group"`
	OauthScopes                    []string                                        `json:"oauth_scopes"`
	Preemptible                    bool                                            `json:"preemptible"`
	ResourceLabels                 map[string]string                               `json:"resource_labels"`
	ResourceManagerTags            map[string]string                               `json:"resource_manager_tags"`
	ServiceAccount                 string                                          `json:"service_account"`
	Spot                           bool                                            `json:"spot"`
	Tags                           []string                                        `json:"tags"`
	EffectiveTaints                []NodeConfigEffectiveTaintsState                `json:"effective_taints"`
	GuestAccelerator               []NodeConfigGuestAcceleratorState               `json:"guest_accelerator"`
	AdvancedMachineFeatures        []NodeConfigAdvancedMachineFeaturesState        `json:"advanced_machine_features"`
	ConfidentialNodes              []NodeConfigConfidentialNodesState              `json:"confidential_nodes"`
	EphemeralStorageLocalSsdConfig []NodeConfigEphemeralStorageLocalSsdConfigState `json:"ephemeral_storage_local_ssd_config"`
	FastSocket                     []NodeConfigFastSocketState                     `json:"fast_socket"`
	GcfsConfig                     []NodeConfigGcfsConfigState                     `json:"gcfs_config"`
	Gvnic                          []NodeConfigGvnicState                          `json:"gvnic"`
	HostMaintenancePolicy          []NodeConfigHostMaintenancePolicyState          `json:"host_maintenance_policy"`
	KubeletConfig                  []NodeConfigKubeletConfigState                  `json:"kubelet_config"`
	LinuxNodeConfig                []NodeConfigLinuxNodeConfigState                `json:"linux_node_config"`
	LocalNvmeSsdBlockConfig        []NodeConfigLocalNvmeSsdBlockConfigState        `json:"local_nvme_ssd_block_config"`
	ReservationAffinity            []NodeConfigReservationAffinityState            `json:"reservation_affinity"`
	ShieldedInstanceConfig         []NodeConfigShieldedInstanceConfigState         `json:"shielded_instance_config"`
	SoleTenantConfig               []NodeConfigSoleTenantConfigState               `json:"sole_tenant_config"`
	Taint                          []NodeConfigTaintState                          `json:"taint"`
	WorkloadMetadataConfig         []NodeConfigWorkloadMetadataConfigState         `json:"workload_metadata_config"`
}

type NodeConfigTaint

type NodeConfigTaint struct {
	// Effect: string, required
	Effect terra.StringValue `hcl:"effect,attr" validate:"required"`
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type NodeConfigTaintAttributes

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

func (NodeConfigTaintAttributes) Effect

func (NodeConfigTaintAttributes) InternalRef

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

func (NodeConfigTaintAttributes) InternalTokens

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

func (NodeConfigTaintAttributes) InternalWithRef

func (NodeConfigTaintAttributes) Key

func (NodeConfigTaintAttributes) Value

type NodeConfigTaintState

type NodeConfigTaintState struct {
	Effect string `json:"effect"`
	Key    string `json:"key"`
	Value  string `json:"value"`
}

type NodeConfigWorkloadMetadataConfig

type NodeConfigWorkloadMetadataConfig struct {
	// Mode: string, required
	Mode terra.StringValue `hcl:"mode,attr" validate:"required"`
}

type NodeConfigWorkloadMetadataConfigAttributes

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

func (NodeConfigWorkloadMetadataConfigAttributes) InternalRef

func (NodeConfigWorkloadMetadataConfigAttributes) InternalTokens

func (NodeConfigWorkloadMetadataConfigAttributes) InternalWithRef

func (NodeConfigWorkloadMetadataConfigAttributes) Mode

type NodeConfigWorkloadMetadataConfigState

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

type PlacementPolicy

type PlacementPolicy struct {
	// PolicyName: string, optional
	PolicyName terra.StringValue `hcl:"policy_name,attr"`
	// TpuTopology: string, optional
	TpuTopology terra.StringValue `hcl:"tpu_topology,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type PlacementPolicyAttributes

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

func (PlacementPolicyAttributes) InternalRef

func (pp PlacementPolicyAttributes) InternalRef() (terra.Reference, error)

func (PlacementPolicyAttributes) InternalTokens

func (pp PlacementPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlacementPolicyAttributes) InternalWithRef

func (PlacementPolicyAttributes) PolicyName

func (PlacementPolicyAttributes) TpuTopology

func (pp PlacementPolicyAttributes) TpuTopology() terra.StringValue

func (PlacementPolicyAttributes) Type

type PlacementPolicyState

type PlacementPolicyState struct {
	PolicyName  string `json:"policy_name"`
	TpuTopology string `json:"tpu_topology"`
	Type        string `json:"type"`
}

type QueuedProvisioning

type QueuedProvisioning struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type QueuedProvisioningAttributes

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

func (QueuedProvisioningAttributes) Enabled

func (QueuedProvisioningAttributes) InternalRef

func (qp QueuedProvisioningAttributes) InternalRef() (terra.Reference, error)

func (QueuedProvisioningAttributes) InternalTokens

func (qp QueuedProvisioningAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QueuedProvisioningAttributes) InternalWithRef

type QueuedProvisioningState

type QueuedProvisioningState struct {
	Enabled bool `json:"enabled"`
}

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_container_node_pool.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gcnp *Resource) Attributes() googleContainerNodePoolAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcnp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcnp *Resource) State() (*googleContainerNodePoolState, bool)

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

func (*Resource) StateMust

func (gcnp *Resource) StateMust() *googleContainerNodePoolState

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

func (*Resource) Type

func (gcnp *Resource) Type() string

Type returns the Terraform object type for Resource.

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"`
}

type UpgradeSettings

type UpgradeSettings struct {
	// MaxSurge: number, optional
	MaxSurge terra.NumberValue `hcl:"max_surge,attr"`
	// MaxUnavailable: number, optional
	MaxUnavailable terra.NumberValue `hcl:"max_unavailable,attr"`
	// Strategy: string, optional
	Strategy terra.StringValue `hcl:"strategy,attr"`
	// UpgradeSettingsBlueGreenSettings: optional
	BlueGreenSettings *UpgradeSettingsBlueGreenSettings `hcl:"blue_green_settings,block"`
}

type UpgradeSettingsAttributes

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

func (UpgradeSettingsAttributes) BlueGreenSettings

func (UpgradeSettingsAttributes) InternalRef

func (us UpgradeSettingsAttributes) InternalRef() (terra.Reference, error)

func (UpgradeSettingsAttributes) InternalTokens

func (us UpgradeSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UpgradeSettingsAttributes) InternalWithRef

func (UpgradeSettingsAttributes) MaxSurge

func (UpgradeSettingsAttributes) MaxUnavailable

func (us UpgradeSettingsAttributes) MaxUnavailable() terra.NumberValue

func (UpgradeSettingsAttributes) Strategy

type UpgradeSettingsBlueGreenSettings

type UpgradeSettingsBlueGreenSettings struct {
	// NodePoolSoakDuration: string, optional
	NodePoolSoakDuration terra.StringValue `hcl:"node_pool_soak_duration,attr"`
	// UpgradeSettingsBlueGreenSettingsStandardRolloutPolicy: required
	StandardRolloutPolicy *UpgradeSettingsBlueGreenSettingsStandardRolloutPolicy `hcl:"standard_rollout_policy,block" validate:"required"`
}

type UpgradeSettingsBlueGreenSettingsAttributes

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

func (UpgradeSettingsBlueGreenSettingsAttributes) InternalRef

func (UpgradeSettingsBlueGreenSettingsAttributes) InternalTokens

func (UpgradeSettingsBlueGreenSettingsAttributes) InternalWithRef

func (UpgradeSettingsBlueGreenSettingsAttributes) NodePoolSoakDuration

type UpgradeSettingsBlueGreenSettingsStandardRolloutPolicy

type UpgradeSettingsBlueGreenSettingsStandardRolloutPolicy struct {
	// BatchNodeCount: number, optional
	BatchNodeCount terra.NumberValue `hcl:"batch_node_count,attr"`
	// BatchPercentage: number, optional
	BatchPercentage terra.NumberValue `hcl:"batch_percentage,attr"`
	// BatchSoakDuration: string, optional
	BatchSoakDuration terra.StringValue `hcl:"batch_soak_duration,attr"`
}

type UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyAttributes

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

func (UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyAttributes) BatchNodeCount

func (UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyAttributes) BatchPercentage

func (UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyAttributes) BatchSoakDuration

func (UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyAttributes) InternalRef

func (UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyAttributes) InternalTokens

func (UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyAttributes) InternalWithRef

type UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyState

type UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyState struct {
	BatchNodeCount    float64 `json:"batch_node_count"`
	BatchPercentage   float64 `json:"batch_percentage"`
	BatchSoakDuration string  `json:"batch_soak_duration"`
}

type UpgradeSettingsBlueGreenSettingsState

type UpgradeSettingsBlueGreenSettingsState struct {
	NodePoolSoakDuration  string                                                       `json:"node_pool_soak_duration"`
	StandardRolloutPolicy []UpgradeSettingsBlueGreenSettingsStandardRolloutPolicyState `json:"standard_rollout_policy"`
}

type UpgradeSettingsState

type UpgradeSettingsState struct {
	MaxSurge          float64                                 `json:"max_surge"`
	MaxUnavailable    float64                                 `json:"max_unavailable"`
	Strategy          string                                  `json:"strategy"`
	BlueGreenSettings []UpgradeSettingsBlueGreenSettingsState `json:"blue_green_settings"`
}

Jump to

Keyboard shortcuts

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