google_gkeonprem_bare_metal_cluster

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 {
	// AdminClusterMembership: string, required
	AdminClusterMembership terra.StringValue `hcl:"admin_cluster_membership,attr" validate:"required"`
	// Annotations: map of string, optional
	Annotations terra.MapValue[terra.StringValue] `hcl:"annotations,attr"`
	// BareMetalVersion: string, required
	BareMetalVersion terra.StringValue `hcl:"bare_metal_version,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// BinaryAuthorization: optional
	BinaryAuthorization *BinaryAuthorization `hcl:"binary_authorization,block"`
	// ClusterOperations: optional
	ClusterOperations *ClusterOperations `hcl:"cluster_operations,block"`
	// ControlPlane: required
	ControlPlane *ControlPlane `hcl:"control_plane,block" validate:"required"`
	// LoadBalancer: required
	LoadBalancer *LoadBalancer `hcl:"load_balancer,block" validate:"required"`
	// MaintenanceConfig: optional
	MaintenanceConfig *MaintenanceConfig `hcl:"maintenance_config,block"`
	// NetworkConfig: required
	NetworkConfig *NetworkConfig `hcl:"network_config,block" validate:"required"`
	// NodeAccessConfig: optional
	NodeAccessConfig *NodeAccessConfig `hcl:"node_access_config,block"`
	// NodeConfig: optional
	NodeConfig *NodeConfig `hcl:"node_config,block"`
	// OsEnvironmentConfig: optional
	OsEnvironmentConfig *OsEnvironmentConfig `hcl:"os_environment_config,block"`
	// Proxy: optional
	Proxy *Proxy `hcl:"proxy,block"`
	// SecurityConfig: optional
	SecurityConfig *SecurityConfig `hcl:"security_config,block"`
	// Storage: required
	Storage *Storage `hcl:"storage,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// UpgradePolicy: optional
	UpgradePolicy *UpgradePolicy `hcl:"upgrade_policy,block"`
}

Args contains the configurations for google_gkeonprem_bare_metal_cluster.

type BinaryAuthorization

type BinaryAuthorization struct {
	// EvaluationMode: string, optional
	EvaluationMode terra.StringValue `hcl:"evaluation_mode,attr"`
}

type BinaryAuthorizationAttributes

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

func (BinaryAuthorizationAttributes) EvaluationMode

func (ba BinaryAuthorizationAttributes) EvaluationMode() terra.StringValue

func (BinaryAuthorizationAttributes) InternalRef

func (ba BinaryAuthorizationAttributes) InternalRef() (terra.Reference, error)

func (BinaryAuthorizationAttributes) InternalTokens

func (ba BinaryAuthorizationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BinaryAuthorizationAttributes) InternalWithRef

type BinaryAuthorizationState

type BinaryAuthorizationState struct {
	EvaluationMode string `json:"evaluation_mode"`
}

type ClusterOperations

type ClusterOperations struct {
	// EnableApplicationLogs: bool, optional
	EnableApplicationLogs terra.BoolValue `hcl:"enable_application_logs,attr"`
}

type ClusterOperationsAttributes

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

func (ClusterOperationsAttributes) EnableApplicationLogs

func (co ClusterOperationsAttributes) EnableApplicationLogs() terra.BoolValue

func (ClusterOperationsAttributes) InternalRef

func (co ClusterOperationsAttributes) InternalRef() (terra.Reference, error)

func (ClusterOperationsAttributes) InternalTokens

func (co ClusterOperationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClusterOperationsAttributes) InternalWithRef

type ClusterOperationsState

type ClusterOperationsState struct {
	EnableApplicationLogs bool `json:"enable_application_logs"`
}

type ControlPlane

type ControlPlane struct {
	// ControlPlaneApiServerArgs: min=0
	ApiServerArgs []ControlPlaneApiServerArgs `hcl:"api_server_args,block" validate:"min=0"`
	// ControlPlaneControlPlaneNodePoolConfig: required
	ControlPlaneNodePoolConfig *ControlPlaneControlPlaneNodePoolConfig `hcl:"control_plane_node_pool_config,block" validate:"required"`
}

type ControlPlaneApiServerArgs

type ControlPlaneApiServerArgs struct {
	// Argument: string, required
	Argument terra.StringValue `hcl:"argument,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ControlPlaneApiServerArgsAttributes

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

func (ControlPlaneApiServerArgsAttributes) Argument

func (ControlPlaneApiServerArgsAttributes) InternalRef

func (ControlPlaneApiServerArgsAttributes) InternalTokens

func (asa ControlPlaneApiServerArgsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ControlPlaneApiServerArgsAttributes) InternalWithRef

func (ControlPlaneApiServerArgsAttributes) Value

type ControlPlaneApiServerArgsState

type ControlPlaneApiServerArgsState struct {
	Argument string `json:"argument"`
	Value    string `json:"value"`
}

type ControlPlaneAttributes

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

func (ControlPlaneAttributes) ApiServerArgs

func (ControlPlaneAttributes) ControlPlaneNodePoolConfig

func (ControlPlaneAttributes) InternalRef

func (cp ControlPlaneAttributes) InternalRef() (terra.Reference, error)

func (ControlPlaneAttributes) InternalTokens

func (cp ControlPlaneAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ControlPlaneAttributes) InternalWithRef

type ControlPlaneControlPlaneNodePoolConfig

type ControlPlaneControlPlaneNodePoolConfig struct {
	// ControlPlaneControlPlaneNodePoolConfigNodePoolConfig: required
	NodePoolConfig *ControlPlaneControlPlaneNodePoolConfigNodePoolConfig `hcl:"node_pool_config,block" validate:"required"`
}

type ControlPlaneControlPlaneNodePoolConfigAttributes

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

func (ControlPlaneControlPlaneNodePoolConfigAttributes) InternalRef

func (ControlPlaneControlPlaneNodePoolConfigAttributes) InternalTokens

func (ControlPlaneControlPlaneNodePoolConfigAttributes) InternalWithRef

func (ControlPlaneControlPlaneNodePoolConfigAttributes) NodePoolConfig

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfig

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfig struct {
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// OperatingSystem: string, optional
	OperatingSystem terra.StringValue `hcl:"operating_system,attr"`
	// ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigs: min=0
	NodeConfigs []ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigs `hcl:"node_configs,block" validate:"min=0"`
	// ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaints: min=0
	Taints []ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaints `hcl:"taints,block" validate:"min=0"`
}

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigAttributes

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

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigAttributes) InternalRef

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigAttributes) InternalTokens

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigAttributes) InternalWithRef

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigAttributes) Labels

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigAttributes) OperatingSystem

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigs

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigs struct {
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// NodeIp: string, optional
	NodeIp terra.StringValue `hcl:"node_ip,attr"`
}

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigsAttributes

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

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigsAttributes) InternalRef

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigsAttributes) InternalTokens

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigsAttributes) InternalWithRef

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigsAttributes) Labels

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigsAttributes) NodeIp

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigsState

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigsState struct {
	Labels map[string]string `json:"labels"`
	NodeIp string            `json:"node_ip"`
}

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigState

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigState struct {
	Labels          map[string]string                                                      `json:"labels"`
	OperatingSystem string                                                                 `json:"operating_system"`
	NodeConfigs     []ControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigsState `json:"node_configs"`
	Taints          []ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintsState      `json:"taints"`
}

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaints

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

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintsAttributes

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

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintsAttributes) Effect

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintsAttributes) InternalRef

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintsAttributes) InternalTokens

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintsAttributes) InternalWithRef

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintsAttributes) Key

func (ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintsAttributes) Value

type ControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintsState

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

type ControlPlaneControlPlaneNodePoolConfigState

type ControlPlaneControlPlaneNodePoolConfigState struct {
	NodePoolConfig []ControlPlaneControlPlaneNodePoolConfigNodePoolConfigState `json:"node_pool_config"`
}

type ControlPlaneState

type ControlPlaneState struct {
	ApiServerArgs              []ControlPlaneApiServerArgsState              `json:"api_server_args"`
	ControlPlaneNodePoolConfig []ControlPlaneControlPlaneNodePoolConfigState `json:"control_plane_node_pool_config"`
}

type FleetAttributes

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

func (FleetAttributes) InternalRef

func (f FleetAttributes) InternalRef() (terra.Reference, error)

func (FleetAttributes) InternalTokens

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

func (FleetAttributes) InternalWithRef

func (f FleetAttributes) InternalWithRef(ref terra.Reference) FleetAttributes

func (FleetAttributes) Membership

func (f FleetAttributes) Membership() terra.StringValue

type FleetState

type FleetState struct {
	Membership string `json:"membership"`
}

type LoadBalancer

type LoadBalancer struct {
	// LoadBalancerBgpLbConfig: optional
	BgpLbConfig *LoadBalancerBgpLbConfig `hcl:"bgp_lb_config,block"`
	// LoadBalancerManualLbConfig: optional
	ManualLbConfig *LoadBalancerManualLbConfig `hcl:"manual_lb_config,block"`
	// LoadBalancerMetalLbConfig: optional
	MetalLbConfig *LoadBalancerMetalLbConfig `hcl:"metal_lb_config,block"`
	// LoadBalancerPortConfig: required
	PortConfig *LoadBalancerPortConfig `hcl:"port_config,block" validate:"required"`
	// LoadBalancerVipConfig: required
	VipConfig *LoadBalancerVipConfig `hcl:"vip_config,block" validate:"required"`
}

type LoadBalancerAttributes

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

func (LoadBalancerAttributes) BgpLbConfig

func (LoadBalancerAttributes) InternalRef

func (lb LoadBalancerAttributes) InternalRef() (terra.Reference, error)

func (LoadBalancerAttributes) InternalTokens

func (lb LoadBalancerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBalancerAttributes) InternalWithRef

func (LoadBalancerAttributes) ManualLbConfig

func (LoadBalancerAttributes) MetalLbConfig

func (LoadBalancerAttributes) PortConfig

func (LoadBalancerAttributes) VipConfig

type LoadBalancerBgpLbConfig

type LoadBalancerBgpLbConfig struct {
	// Asn: number, required
	Asn terra.NumberValue `hcl:"asn,attr" validate:"required"`
	// LoadBalancerBgpLbConfigAddressPools: min=1
	AddressPools []LoadBalancerBgpLbConfigAddressPools `hcl:"address_pools,block" validate:"min=1"`
	// LoadBalancerBgpLbConfigBgpPeerConfigs: min=1
	BgpPeerConfigs []LoadBalancerBgpLbConfigBgpPeerConfigs `hcl:"bgp_peer_configs,block" validate:"min=1"`
	// LoadBalancerBgpLbConfigLoadBalancerNodePoolConfig: optional
	LoadBalancerNodePoolConfig *LoadBalancerBgpLbConfigLoadBalancerNodePoolConfig `hcl:"load_balancer_node_pool_config,block"`
}

type LoadBalancerBgpLbConfig2Af619Ee

type LoadBalancerBgpLbConfig2Af619Ee struct {
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// NodeIp: string, optional
	NodeIp terra.StringValue `hcl:"node_ip,attr"`
}

type LoadBalancerBgpLbConfig2Af619EeAttributes

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

func (LoadBalancerBgpLbConfig2Af619EeAttributes) InternalRef

func (LoadBalancerBgpLbConfig2Af619EeAttributes) InternalTokens

func (LoadBalancerBgpLbConfig2Af619EeAttributes) InternalWithRef

func (LoadBalancerBgpLbConfig2Af619EeAttributes) Labels

func (LoadBalancerBgpLbConfig2Af619EeAttributes) NodeIp

type LoadBalancerBgpLbConfig2Af619EeState

type LoadBalancerBgpLbConfig2Af619EeState struct {
	Labels map[string]string `json:"labels"`
	NodeIp string            `json:"node_ip"`
}

type LoadBalancerBgpLbConfig95F9C67B

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

type LoadBalancerBgpLbConfig95F9C67BAttributes

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

func (LoadBalancerBgpLbConfig95F9C67BAttributes) Effect

func (LoadBalancerBgpLbConfig95F9C67BAttributes) InternalRef

func (LoadBalancerBgpLbConfig95F9C67BAttributes) InternalTokens

func (LoadBalancerBgpLbConfig95F9C67BAttributes) InternalWithRef

func (LoadBalancerBgpLbConfig95F9C67BAttributes) Key

func (LoadBalancerBgpLbConfig95F9C67BAttributes) Value

type LoadBalancerBgpLbConfig95F9C67BState

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

type LoadBalancerBgpLbConfig9B65Ed98

type LoadBalancerBgpLbConfig9B65Ed98 struct {
	// RegistryBurst: number, optional
	RegistryBurst terra.NumberValue `hcl:"registry_burst,attr"`
	// RegistryPullQps: number, optional
	RegistryPullQps terra.NumberValue `hcl:"registry_pull_qps,attr"`
	// SerializeImagePullsDisabled: bool, optional
	SerializeImagePullsDisabled terra.BoolValue `hcl:"serialize_image_pulls_disabled,attr"`
}

type LoadBalancerBgpLbConfig9B65Ed98Attributes

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

func (LoadBalancerBgpLbConfig9B65Ed98Attributes) InternalRef

func (LoadBalancerBgpLbConfig9B65Ed98Attributes) InternalTokens

func (LoadBalancerBgpLbConfig9B65Ed98Attributes) InternalWithRef

func (LoadBalancerBgpLbConfig9B65Ed98Attributes) RegistryBurst

func (LoadBalancerBgpLbConfig9B65Ed98Attributes) RegistryPullQps

func (LoadBalancerBgpLbConfig9B65Ed98Attributes) SerializeImagePullsDisabled

func (kc LoadBalancerBgpLbConfig9B65Ed98Attributes) SerializeImagePullsDisabled() terra.BoolValue

type LoadBalancerBgpLbConfig9B65Ed98State

type LoadBalancerBgpLbConfig9B65Ed98State struct {
	RegistryBurst               float64 `json:"registry_burst"`
	RegistryPullQps             float64 `json:"registry_pull_qps"`
	SerializeImagePullsDisabled bool    `json:"serialize_image_pulls_disabled"`
}

type LoadBalancerBgpLbConfigAddressPools

type LoadBalancerBgpLbConfigAddressPools struct {
	// Addresses: list of string, required
	Addresses terra.ListValue[terra.StringValue] `hcl:"addresses,attr" validate:"required"`
	// AvoidBuggyIps: bool, optional
	AvoidBuggyIps terra.BoolValue `hcl:"avoid_buggy_ips,attr"`
	// ManualAssign: string, optional
	ManualAssign terra.StringValue `hcl:"manual_assign,attr"`
	// Pool: string, required
	Pool terra.StringValue `hcl:"pool,attr" validate:"required"`
}

type LoadBalancerBgpLbConfigAddressPoolsAttributes

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

func (LoadBalancerBgpLbConfigAddressPoolsAttributes) Addresses

func (LoadBalancerBgpLbConfigAddressPoolsAttributes) AvoidBuggyIps

func (LoadBalancerBgpLbConfigAddressPoolsAttributes) InternalRef

func (LoadBalancerBgpLbConfigAddressPoolsAttributes) InternalTokens

func (LoadBalancerBgpLbConfigAddressPoolsAttributes) InternalWithRef

func (LoadBalancerBgpLbConfigAddressPoolsAttributes) ManualAssign

func (LoadBalancerBgpLbConfigAddressPoolsAttributes) Pool

type LoadBalancerBgpLbConfigAddressPoolsState

type LoadBalancerBgpLbConfigAddressPoolsState struct {
	Addresses     []string `json:"addresses"`
	AvoidBuggyIps bool     `json:"avoid_buggy_ips"`
	ManualAssign  string   `json:"manual_assign"`
	Pool          string   `json:"pool"`
}

type LoadBalancerBgpLbConfigAttributes

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

func (LoadBalancerBgpLbConfigAttributes) AddressPools

func (LoadBalancerBgpLbConfigAttributes) Asn

func (LoadBalancerBgpLbConfigAttributes) BgpPeerConfigs

func (LoadBalancerBgpLbConfigAttributes) InternalRef

func (LoadBalancerBgpLbConfigAttributes) InternalTokens

func (blc LoadBalancerBgpLbConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBalancerBgpLbConfigAttributes) InternalWithRef

type LoadBalancerBgpLbConfigBgpPeerConfigs

type LoadBalancerBgpLbConfigBgpPeerConfigs struct {
	// Asn: number, required
	Asn terra.NumberValue `hcl:"asn,attr" validate:"required"`
	// ControlPlaneNodes: list of string, optional
	ControlPlaneNodes terra.ListValue[terra.StringValue] `hcl:"control_plane_nodes,attr"`
	// IpAddress: string, required
	IpAddress terra.StringValue `hcl:"ip_address,attr" validate:"required"`
}

type LoadBalancerBgpLbConfigBgpPeerConfigsAttributes

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

func (LoadBalancerBgpLbConfigBgpPeerConfigsAttributes) Asn

func (LoadBalancerBgpLbConfigBgpPeerConfigsAttributes) ControlPlaneNodes

func (LoadBalancerBgpLbConfigBgpPeerConfigsAttributes) InternalRef

func (LoadBalancerBgpLbConfigBgpPeerConfigsAttributes) InternalTokens

func (LoadBalancerBgpLbConfigBgpPeerConfigsAttributes) InternalWithRef

func (LoadBalancerBgpLbConfigBgpPeerConfigsAttributes) IpAddress

type LoadBalancerBgpLbConfigBgpPeerConfigsState

type LoadBalancerBgpLbConfigBgpPeerConfigsState struct {
	Asn               float64  `json:"asn"`
	ControlPlaneNodes []string `json:"control_plane_nodes"`
	IpAddress         string   `json:"ip_address"`
}

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfig

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfig struct {
	// LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfig: optional
	NodePoolConfig *LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfig `hcl:"node_pool_config,block"`
}

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigAttributes

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

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigAttributes) InternalRef

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigAttributes) InternalTokens

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigAttributes) InternalWithRef

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfig

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfig struct {
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// OperatingSystem: string, optional
	OperatingSystem terra.StringValue `hcl:"operating_system,attr"`
	// LoadBalancerBgpLbConfig9B65Ed98: optional
	KubeletConfig *LoadBalancerBgpLbConfig9B65Ed98 `hcl:"kubelet_config,block"`
	// LoadBalancerBgpLbConfig2Af619Ee: min=0
	NodeConfigs []LoadBalancerBgpLbConfig2Af619Ee `hcl:"node_configs,block" validate:"min=0"`
	// LoadBalancerBgpLbConfig95F9C67B: min=0
	Taints []LoadBalancerBgpLbConfig95F9C67B `hcl:"taints,block" validate:"min=0"`
}

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes

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

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) InternalRef

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) InternalTokens

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) InternalWithRef

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) KubeletConfig

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) Labels

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) NodeConfigs

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) OperatingSystem

func (LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) Taints

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigState

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigState struct {
	Labels          map[string]string                      `json:"labels"`
	OperatingSystem string                                 `json:"operating_system"`
	KubeletConfig   []LoadBalancerBgpLbConfig9B65Ed98State `json:"kubelet_config"`
	NodeConfigs     []LoadBalancerBgpLbConfig2Af619EeState `json:"node_configs"`
	Taints          []LoadBalancerBgpLbConfig95F9C67BState `json:"taints"`
}

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigState

type LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigState struct {
	NodePoolConfig []LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigState `json:"node_pool_config"`
}

type LoadBalancerBgpLbConfigState

type LoadBalancerBgpLbConfigState struct {
	Asn                        float64                                                  `json:"asn"`
	AddressPools               []LoadBalancerBgpLbConfigAddressPoolsState               `json:"address_pools"`
	BgpPeerConfigs             []LoadBalancerBgpLbConfigBgpPeerConfigsState             `json:"bgp_peer_configs"`
	LoadBalancerNodePoolConfig []LoadBalancerBgpLbConfigLoadBalancerNodePoolConfigState `json:"load_balancer_node_pool_config"`
}

type LoadBalancerManualLbConfig

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

type LoadBalancerManualLbConfigAttributes

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

func (LoadBalancerManualLbConfigAttributes) Enabled

func (LoadBalancerManualLbConfigAttributes) InternalRef

func (LoadBalancerManualLbConfigAttributes) InternalTokens

func (LoadBalancerManualLbConfigAttributes) InternalWithRef

type LoadBalancerManualLbConfigState

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

type LoadBalancerMetalLbConfig

type LoadBalancerMetalLbConfig struct {
	// LoadBalancerMetalLbConfigAddressPools: min=1
	AddressPools []LoadBalancerMetalLbConfigAddressPools `hcl:"address_pools,block" validate:"min=1"`
	// LoadBalancerMetalLbConfigLoadBalancerNodePoolConfig: optional
	LoadBalancerNodePoolConfig *LoadBalancerMetalLbConfigLoadBalancerNodePoolConfig `hcl:"load_balancer_node_pool_config,block"`
}

type LoadBalancerMetalLbConfig2Af619Ee

type LoadBalancerMetalLbConfig2Af619Ee struct {
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// NodeIp: string, optional
	NodeIp terra.StringValue `hcl:"node_ip,attr"`
}

type LoadBalancerMetalLbConfig2Af619EeAttributes

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

func (LoadBalancerMetalLbConfig2Af619EeAttributes) InternalRef

func (LoadBalancerMetalLbConfig2Af619EeAttributes) InternalTokens

func (LoadBalancerMetalLbConfig2Af619EeAttributes) InternalWithRef

func (LoadBalancerMetalLbConfig2Af619EeAttributes) Labels

func (LoadBalancerMetalLbConfig2Af619EeAttributes) NodeIp

type LoadBalancerMetalLbConfig2Af619EeState

type LoadBalancerMetalLbConfig2Af619EeState struct {
	Labels map[string]string `json:"labels"`
	NodeIp string            `json:"node_ip"`
}

type LoadBalancerMetalLbConfig95F9C67B

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

type LoadBalancerMetalLbConfig95F9C67BAttributes

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

func (LoadBalancerMetalLbConfig95F9C67BAttributes) Effect

func (LoadBalancerMetalLbConfig95F9C67BAttributes) InternalRef

func (LoadBalancerMetalLbConfig95F9C67BAttributes) InternalTokens

func (LoadBalancerMetalLbConfig95F9C67BAttributes) InternalWithRef

func (LoadBalancerMetalLbConfig95F9C67BAttributes) Key

func (LoadBalancerMetalLbConfig95F9C67BAttributes) Value

type LoadBalancerMetalLbConfig95F9C67BState

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

type LoadBalancerMetalLbConfigAddressPools

type LoadBalancerMetalLbConfigAddressPools struct {
	// Addresses: list of string, required
	Addresses terra.ListValue[terra.StringValue] `hcl:"addresses,attr" validate:"required"`
	// AvoidBuggyIps: bool, optional
	AvoidBuggyIps terra.BoolValue `hcl:"avoid_buggy_ips,attr"`
	// ManualAssign: bool, optional
	ManualAssign terra.BoolValue `hcl:"manual_assign,attr"`
	// Pool: string, required
	Pool terra.StringValue `hcl:"pool,attr" validate:"required"`
}

type LoadBalancerMetalLbConfigAddressPoolsAttributes

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

func (LoadBalancerMetalLbConfigAddressPoolsAttributes) Addresses

func (LoadBalancerMetalLbConfigAddressPoolsAttributes) AvoidBuggyIps

func (LoadBalancerMetalLbConfigAddressPoolsAttributes) InternalRef

func (LoadBalancerMetalLbConfigAddressPoolsAttributes) InternalTokens

func (LoadBalancerMetalLbConfigAddressPoolsAttributes) InternalWithRef

func (LoadBalancerMetalLbConfigAddressPoolsAttributes) ManualAssign

func (LoadBalancerMetalLbConfigAddressPoolsAttributes) Pool

type LoadBalancerMetalLbConfigAddressPoolsState

type LoadBalancerMetalLbConfigAddressPoolsState struct {
	Addresses     []string `json:"addresses"`
	AvoidBuggyIps bool     `json:"avoid_buggy_ips"`
	ManualAssign  bool     `json:"manual_assign"`
	Pool          string   `json:"pool"`
}

type LoadBalancerMetalLbConfigAttributes

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

func (LoadBalancerMetalLbConfigAttributes) AddressPools

func (LoadBalancerMetalLbConfigAttributes) InternalRef

func (LoadBalancerMetalLbConfigAttributes) InternalTokens

func (mlc LoadBalancerMetalLbConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBalancerMetalLbConfigAttributes) InternalWithRef

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfig

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfig struct {
	// LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfig: optional
	NodePoolConfig *LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfig `hcl:"node_pool_config,block"`
}

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigAttributes

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

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigAttributes) InternalRef

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigAttributes) InternalTokens

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigAttributes) InternalWithRef

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfig

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfig struct {
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// OperatingSystem: string, optional
	OperatingSystem terra.StringValue `hcl:"operating_system,attr"`
	// LoadBalancerMetalLbConfig2Af619Ee: min=0
	NodeConfigs []LoadBalancerMetalLbConfig2Af619Ee `hcl:"node_configs,block" validate:"min=0"`
	// LoadBalancerMetalLbConfig95F9C67B: min=0
	Taints []LoadBalancerMetalLbConfig95F9C67B `hcl:"taints,block" validate:"min=0"`
}

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes

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

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) InternalRef

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) InternalTokens

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) InternalWithRef

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) Labels

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) NodeConfigs

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) OperatingSystem

func (LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigAttributes) Taints

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigState

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigState struct {
	Labels          map[string]string                        `json:"labels"`
	OperatingSystem string                                   `json:"operating_system"`
	NodeConfigs     []LoadBalancerMetalLbConfig2Af619EeState `json:"node_configs"`
	Taints          []LoadBalancerMetalLbConfig95F9C67BState `json:"taints"`
}

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigState

type LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigState struct {
	NodePoolConfig []LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigNodePoolConfigState `json:"node_pool_config"`
}

type LoadBalancerMetalLbConfigState

type LoadBalancerMetalLbConfigState struct {
	AddressPools               []LoadBalancerMetalLbConfigAddressPoolsState               `json:"address_pools"`
	LoadBalancerNodePoolConfig []LoadBalancerMetalLbConfigLoadBalancerNodePoolConfigState `json:"load_balancer_node_pool_config"`
}

type LoadBalancerPortConfig

type LoadBalancerPortConfig struct {
	// ControlPlaneLoadBalancerPort: number, required
	ControlPlaneLoadBalancerPort terra.NumberValue `hcl:"control_plane_load_balancer_port,attr" validate:"required"`
}

type LoadBalancerPortConfigAttributes

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

func (LoadBalancerPortConfigAttributes) ControlPlaneLoadBalancerPort

func (pc LoadBalancerPortConfigAttributes) ControlPlaneLoadBalancerPort() terra.NumberValue

func (LoadBalancerPortConfigAttributes) InternalRef

func (LoadBalancerPortConfigAttributes) InternalTokens

func (pc LoadBalancerPortConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBalancerPortConfigAttributes) InternalWithRef

type LoadBalancerPortConfigState

type LoadBalancerPortConfigState struct {
	ControlPlaneLoadBalancerPort float64 `json:"control_plane_load_balancer_port"`
}

type LoadBalancerState

type LoadBalancerState struct {
	BgpLbConfig    []LoadBalancerBgpLbConfigState    `json:"bgp_lb_config"`
	ManualLbConfig []LoadBalancerManualLbConfigState `json:"manual_lb_config"`
	MetalLbConfig  []LoadBalancerMetalLbConfigState  `json:"metal_lb_config"`
	PortConfig     []LoadBalancerPortConfigState     `json:"port_config"`
	VipConfig      []LoadBalancerVipConfigState      `json:"vip_config"`
}

type LoadBalancerVipConfig

type LoadBalancerVipConfig struct {
	// ControlPlaneVip: string, required
	ControlPlaneVip terra.StringValue `hcl:"control_plane_vip,attr" validate:"required"`
	// IngressVip: string, required
	IngressVip terra.StringValue `hcl:"ingress_vip,attr" validate:"required"`
}

type LoadBalancerVipConfigAttributes

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

func (LoadBalancerVipConfigAttributes) ControlPlaneVip

func (vc LoadBalancerVipConfigAttributes) ControlPlaneVip() terra.StringValue

func (LoadBalancerVipConfigAttributes) IngressVip

func (LoadBalancerVipConfigAttributes) InternalRef

func (LoadBalancerVipConfigAttributes) InternalTokens

func (vc LoadBalancerVipConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBalancerVipConfigAttributes) InternalWithRef

type LoadBalancerVipConfigState

type LoadBalancerVipConfigState struct {
	ControlPlaneVip string `json:"control_plane_vip"`
	IngressVip      string `json:"ingress_vip"`
}

type MaintenanceConfig

type MaintenanceConfig struct {
	// MaintenanceAddressCidrBlocks: list of string, required
	MaintenanceAddressCidrBlocks terra.ListValue[terra.StringValue] `hcl:"maintenance_address_cidr_blocks,attr" validate:"required"`
}

type MaintenanceConfigAttributes

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

func (MaintenanceConfigAttributes) InternalRef

func (mc MaintenanceConfigAttributes) InternalRef() (terra.Reference, error)

func (MaintenanceConfigAttributes) InternalTokens

func (mc MaintenanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MaintenanceConfigAttributes) InternalWithRef

func (MaintenanceConfigAttributes) MaintenanceAddressCidrBlocks

func (mc MaintenanceConfigAttributes) MaintenanceAddressCidrBlocks() terra.ListValue[terra.StringValue]

type MaintenanceConfigState

type MaintenanceConfigState struct {
	MaintenanceAddressCidrBlocks []string `json:"maintenance_address_cidr_blocks"`
}

type NetworkConfig

type NetworkConfig struct {
	// AdvancedNetworking: bool, optional
	AdvancedNetworking terra.BoolValue `hcl:"advanced_networking,attr"`
	// NetworkConfigIslandModeCidr: optional
	IslandModeCidr *NetworkConfigIslandModeCidr `hcl:"island_mode_cidr,block"`
	// NetworkConfigMultipleNetworkInterfacesConfig: optional
	MultipleNetworkInterfacesConfig *NetworkConfigMultipleNetworkInterfacesConfig `hcl:"multiple_network_interfaces_config,block"`
	// NetworkConfigSrIovConfig: optional
	SrIovConfig *NetworkConfigSrIovConfig `hcl:"sr_iov_config,block"`
}

type NetworkConfigAttributes

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

func (NetworkConfigAttributes) AdvancedNetworking

func (nc NetworkConfigAttributes) AdvancedNetworking() 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) IslandModeCidr

func (NetworkConfigAttributes) MultipleNetworkInterfacesConfig

func (NetworkConfigAttributes) SrIovConfig

type NetworkConfigIslandModeCidr

type NetworkConfigIslandModeCidr struct {
	// PodAddressCidrBlocks: list of string, required
	PodAddressCidrBlocks terra.ListValue[terra.StringValue] `hcl:"pod_address_cidr_blocks,attr" validate:"required"`
	// ServiceAddressCidrBlocks: list of string, required
	ServiceAddressCidrBlocks terra.ListValue[terra.StringValue] `hcl:"service_address_cidr_blocks,attr" validate:"required"`
}

type NetworkConfigIslandModeCidrAttributes

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

func (NetworkConfigIslandModeCidrAttributes) InternalRef

func (NetworkConfigIslandModeCidrAttributes) InternalTokens

func (NetworkConfigIslandModeCidrAttributes) InternalWithRef

func (NetworkConfigIslandModeCidrAttributes) PodAddressCidrBlocks

func (NetworkConfigIslandModeCidrAttributes) ServiceAddressCidrBlocks

func (imc NetworkConfigIslandModeCidrAttributes) ServiceAddressCidrBlocks() terra.ListValue[terra.StringValue]

type NetworkConfigIslandModeCidrState

type NetworkConfigIslandModeCidrState struct {
	PodAddressCidrBlocks     []string `json:"pod_address_cidr_blocks"`
	ServiceAddressCidrBlocks []string `json:"service_address_cidr_blocks"`
}

type NetworkConfigMultipleNetworkInterfacesConfig

type NetworkConfigMultipleNetworkInterfacesConfig struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type NetworkConfigMultipleNetworkInterfacesConfigAttributes

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

func (NetworkConfigMultipleNetworkInterfacesConfigAttributes) Enabled

func (NetworkConfigMultipleNetworkInterfacesConfigAttributes) InternalRef

func (NetworkConfigMultipleNetworkInterfacesConfigAttributes) InternalTokens

func (NetworkConfigMultipleNetworkInterfacesConfigAttributes) InternalWithRef

type NetworkConfigMultipleNetworkInterfacesConfigState

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

type NetworkConfigSrIovConfig

type NetworkConfigSrIovConfig struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type NetworkConfigSrIovConfigAttributes

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

func (NetworkConfigSrIovConfigAttributes) Enabled

func (NetworkConfigSrIovConfigAttributes) InternalRef

func (NetworkConfigSrIovConfigAttributes) InternalTokens

func (sic NetworkConfigSrIovConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigSrIovConfigAttributes) InternalWithRef

type NetworkConfigSrIovConfigState

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

type NetworkConfigState

type NetworkConfigState struct {
	AdvancedNetworking              bool                                                `json:"advanced_networking"`
	IslandModeCidr                  []NetworkConfigIslandModeCidrState                  `json:"island_mode_cidr"`
	MultipleNetworkInterfacesConfig []NetworkConfigMultipleNetworkInterfacesConfigState `json:"multiple_network_interfaces_config"`
	SrIovConfig                     []NetworkConfigSrIovConfigState                     `json:"sr_iov_config"`
}

type NodeAccessConfig

type NodeAccessConfig struct {
	// LoginUser: string, optional
	LoginUser terra.StringValue `hcl:"login_user,attr"`
}

type NodeAccessConfigAttributes

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

func (NodeAccessConfigAttributes) InternalRef

func (nac NodeAccessConfigAttributes) InternalRef() (terra.Reference, error)

func (NodeAccessConfigAttributes) InternalTokens

func (nac NodeAccessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeAccessConfigAttributes) InternalWithRef

func (NodeAccessConfigAttributes) LoginUser

type NodeAccessConfigState

type NodeAccessConfigState struct {
	LoginUser string `json:"login_user"`
}

type NodeConfig

type NodeConfig struct {
	// ContainerRuntime: string, optional
	ContainerRuntime terra.StringValue `hcl:"container_runtime,attr"`
	// MaxPodsPerNode: number, optional
	MaxPodsPerNode terra.NumberValue `hcl:"max_pods_per_node,attr"`
}

type NodeConfigAttributes

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

func (NodeConfigAttributes) ContainerRuntime

func (nc NodeConfigAttributes) ContainerRuntime() 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) MaxPodsPerNode

func (nc NodeConfigAttributes) MaxPodsPerNode() terra.NumberValue

type NodeConfigState

type NodeConfigState struct {
	ContainerRuntime string  `json:"container_runtime"`
	MaxPodsPerNode   float64 `json:"max_pods_per_node"`
}

type OsEnvironmentConfig

type OsEnvironmentConfig struct {
	// PackageRepoExcluded: bool, required
	PackageRepoExcluded terra.BoolValue `hcl:"package_repo_excluded,attr" validate:"required"`
}

type OsEnvironmentConfigAttributes

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

func (OsEnvironmentConfigAttributes) InternalRef

func (oec OsEnvironmentConfigAttributes) InternalRef() (terra.Reference, error)

func (OsEnvironmentConfigAttributes) InternalTokens

func (oec OsEnvironmentConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OsEnvironmentConfigAttributes) InternalWithRef

func (OsEnvironmentConfigAttributes) PackageRepoExcluded

func (oec OsEnvironmentConfigAttributes) PackageRepoExcluded() terra.BoolValue

type OsEnvironmentConfigState

type OsEnvironmentConfigState struct {
	PackageRepoExcluded bool `json:"package_repo_excluded"`
}

type Proxy

type Proxy struct {
	// NoProxy: list of string, optional
	NoProxy terra.ListValue[terra.StringValue] `hcl:"no_proxy,attr"`
	// Uri: string, required
	Uri terra.StringValue `hcl:"uri,attr" validate:"required"`
}

type ProxyAttributes

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

func (ProxyAttributes) InternalRef

func (p ProxyAttributes) InternalRef() (terra.Reference, error)

func (ProxyAttributes) InternalTokens

func (p ProxyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProxyAttributes) InternalWithRef

func (p ProxyAttributes) InternalWithRef(ref terra.Reference) ProxyAttributes

func (ProxyAttributes) NoProxy

func (ProxyAttributes) Uri

type ProxyState

type ProxyState struct {
	NoProxy []string `json:"no_proxy"`
	Uri     string   `json:"uri"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ggbmc *Resource) Attributes() googleGkeonpremBareMetalClusterAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ggbmc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ggbmc *Resource) State() (*googleGkeonpremBareMetalClusterState, bool)

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

func (*Resource) StateMust

func (ggbmc *Resource) StateMust() *googleGkeonpremBareMetalClusterState

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

func (*Resource) Type

func (ggbmc *Resource) Type() string

Type returns the Terraform object type for Resource.

type SecurityConfig

type SecurityConfig struct {
	// SecurityConfigAuthorization: optional
	Authorization *SecurityConfigAuthorization `hcl:"authorization,block"`
}

type SecurityConfigAttributes

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

func (SecurityConfigAttributes) Authorization

func (SecurityConfigAttributes) InternalRef

func (sc SecurityConfigAttributes) InternalRef() (terra.Reference, error)

func (SecurityConfigAttributes) InternalTokens

func (sc SecurityConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecurityConfigAttributes) InternalWithRef

type SecurityConfigAuthorization

type SecurityConfigAuthorization struct {
	// SecurityConfigAuthorizationAdminUsers: min=1
	AdminUsers []SecurityConfigAuthorizationAdminUsers `hcl:"admin_users,block" validate:"min=1"`
}

type SecurityConfigAuthorizationAdminUsers

type SecurityConfigAuthorizationAdminUsers struct {
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type SecurityConfigAuthorizationAdminUsersAttributes

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

func (SecurityConfigAuthorizationAdminUsersAttributes) InternalRef

func (SecurityConfigAuthorizationAdminUsersAttributes) InternalTokens

func (SecurityConfigAuthorizationAdminUsersAttributes) InternalWithRef

func (SecurityConfigAuthorizationAdminUsersAttributes) Username

type SecurityConfigAuthorizationAdminUsersState

type SecurityConfigAuthorizationAdminUsersState struct {
	Username string `json:"username"`
}

type SecurityConfigAuthorizationAttributes

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

func (SecurityConfigAuthorizationAttributes) AdminUsers

func (SecurityConfigAuthorizationAttributes) InternalRef

func (SecurityConfigAuthorizationAttributes) InternalTokens

func (SecurityConfigAuthorizationAttributes) InternalWithRef

type SecurityConfigAuthorizationState

type SecurityConfigAuthorizationState struct {
	AdminUsers []SecurityConfigAuthorizationAdminUsersState `json:"admin_users"`
}

type SecurityConfigState

type SecurityConfigState struct {
	Authorization []SecurityConfigAuthorizationState `json:"authorization"`
}

type StatusAttributes

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

func (StatusAttributes) Conditions

func (StatusAttributes) ErrorMessage

func (s StatusAttributes) ErrorMessage() terra.StringValue

func (StatusAttributes) InternalRef

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

func (StatusAttributes) InternalTokens

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

func (StatusAttributes) InternalWithRef

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

type StatusConditionsAttributes

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

func (StatusConditionsAttributes) InternalRef

func (c StatusConditionsAttributes) InternalRef() (terra.Reference, error)

func (StatusConditionsAttributes) InternalTokens

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

func (StatusConditionsAttributes) InternalWithRef

func (StatusConditionsAttributes) LastTransitionTime

func (c StatusConditionsAttributes) LastTransitionTime() terra.StringValue

func (StatusConditionsAttributes) Message

func (StatusConditionsAttributes) Reason

func (StatusConditionsAttributes) State

func (StatusConditionsAttributes) Type

type StatusConditionsState

type StatusConditionsState struct {
	LastTransitionTime string `json:"last_transition_time"`
	Message            string `json:"message"`
	Reason             string `json:"reason"`
	State              string `json:"state"`
	Type               string `json:"type"`
}

type StatusState

type StatusState struct {
	ErrorMessage string                  `json:"error_message"`
	Conditions   []StatusConditionsState `json:"conditions"`
}

type Storage

type Storage struct {
	// StorageLvpNodeMountsConfig: required
	LvpNodeMountsConfig *StorageLvpNodeMountsConfig `hcl:"lvp_node_mounts_config,block" validate:"required"`
	// StorageLvpShareConfig: required
	LvpShareConfig *StorageLvpShareConfig `hcl:"lvp_share_config,block" validate:"required"`
}

type StorageAttributes

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

func (StorageAttributes) InternalRef

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

func (StorageAttributes) InternalTokens

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

func (StorageAttributes) InternalWithRef

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

func (StorageAttributes) LvpNodeMountsConfig

func (StorageAttributes) LvpShareConfig

type StorageLvpNodeMountsConfig

type StorageLvpNodeMountsConfig struct {
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// StorageClass: string, required
	StorageClass terra.StringValue `hcl:"storage_class,attr" validate:"required"`
}

type StorageLvpNodeMountsConfigAttributes

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

func (StorageLvpNodeMountsConfigAttributes) InternalRef

func (StorageLvpNodeMountsConfigAttributes) InternalTokens

func (lnmc StorageLvpNodeMountsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageLvpNodeMountsConfigAttributes) InternalWithRef

func (StorageLvpNodeMountsConfigAttributes) Path

func (StorageLvpNodeMountsConfigAttributes) StorageClass

type StorageLvpNodeMountsConfigState

type StorageLvpNodeMountsConfigState struct {
	Path         string `json:"path"`
	StorageClass string `json:"storage_class"`
}

type StorageLvpShareConfig

type StorageLvpShareConfig struct {
	// SharedPathPvCount: number, optional
	SharedPathPvCount terra.NumberValue `hcl:"shared_path_pv_count,attr"`
	// StorageLvpShareConfigLvpConfig: required
	LvpConfig *StorageLvpShareConfigLvpConfig `hcl:"lvp_config,block" validate:"required"`
}

type StorageLvpShareConfigAttributes

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

func (StorageLvpShareConfigAttributes) InternalRef

func (StorageLvpShareConfigAttributes) InternalTokens

func (lsc StorageLvpShareConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageLvpShareConfigAttributes) InternalWithRef

func (StorageLvpShareConfigAttributes) LvpConfig

func (StorageLvpShareConfigAttributes) SharedPathPvCount

func (lsc StorageLvpShareConfigAttributes) SharedPathPvCount() terra.NumberValue

type StorageLvpShareConfigLvpConfig

type StorageLvpShareConfigLvpConfig struct {
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// StorageClass: string, required
	StorageClass terra.StringValue `hcl:"storage_class,attr" validate:"required"`
}

type StorageLvpShareConfigLvpConfigAttributes

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

func (StorageLvpShareConfigLvpConfigAttributes) InternalRef

func (StorageLvpShareConfigLvpConfigAttributes) InternalTokens

func (StorageLvpShareConfigLvpConfigAttributes) InternalWithRef

func (StorageLvpShareConfigLvpConfigAttributes) Path

func (StorageLvpShareConfigLvpConfigAttributes) StorageClass

type StorageLvpShareConfigLvpConfigState

type StorageLvpShareConfigLvpConfigState struct {
	Path         string `json:"path"`
	StorageClass string `json:"storage_class"`
}

type StorageLvpShareConfigState

type StorageLvpShareConfigState struct {
	SharedPathPvCount float64                               `json:"shared_path_pv_count"`
	LvpConfig         []StorageLvpShareConfigLvpConfigState `json:"lvp_config"`
}

type StorageState

type StorageState struct {
	LvpNodeMountsConfig []StorageLvpNodeMountsConfigState `json:"lvp_node_mounts_config"`
	LvpShareConfig      []StorageLvpShareConfigState      `json:"lvp_share_config"`
}

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 UpgradePolicy

type UpgradePolicy struct {
	// Policy: string, optional
	Policy terra.StringValue `hcl:"policy,attr"`
}

type UpgradePolicyAttributes

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

func (UpgradePolicyAttributes) InternalRef

func (up UpgradePolicyAttributes) InternalRef() (terra.Reference, error)

func (UpgradePolicyAttributes) InternalTokens

func (up UpgradePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UpgradePolicyAttributes) InternalWithRef

func (UpgradePolicyAttributes) Policy

type UpgradePolicyState

type UpgradePolicyState struct {
	Policy string `json:"policy"`
}

type ValidationCheckAttributes

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

func (ValidationCheckAttributes) InternalRef

func (vc ValidationCheckAttributes) InternalRef() (terra.Reference, error)

func (ValidationCheckAttributes) InternalTokens

func (vc ValidationCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ValidationCheckAttributes) InternalWithRef

func (ValidationCheckAttributes) Options

func (ValidationCheckAttributes) Scenario

func (ValidationCheckAttributes) Status

type ValidationCheckState

type ValidationCheckState struct {
	Options  string                       `json:"options"`
	Scenario string                       `json:"scenario"`
	Status   []ValidationCheckStatusState `json:"status"`
}

type ValidationCheckStatusAttributes

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

func (ValidationCheckStatusAttributes) InternalRef

func (ValidationCheckStatusAttributes) InternalTokens

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

func (ValidationCheckStatusAttributes) InternalWithRef

func (ValidationCheckStatusAttributes) Result

type ValidationCheckStatusResultAttributes

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

func (ValidationCheckStatusResultAttributes) Category

func (ValidationCheckStatusResultAttributes) Description

func (ValidationCheckStatusResultAttributes) Details

func (ValidationCheckStatusResultAttributes) InternalRef

func (ValidationCheckStatusResultAttributes) InternalTokens

func (ValidationCheckStatusResultAttributes) InternalWithRef

func (ValidationCheckStatusResultAttributes) Options

func (ValidationCheckStatusResultAttributes) Reason

type ValidationCheckStatusResultState

type ValidationCheckStatusResultState struct {
	Category    string `json:"category"`
	Description string `json:"description"`
	Details     string `json:"details"`
	Options     string `json:"options"`
	Reason      string `json:"reason"`
}

type ValidationCheckStatusState

type ValidationCheckStatusState struct {
	Result []ValidationCheckStatusResultState `json:"result"`
}

Jump to

Keyboard shortcuts

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