google_gkeonprem_vmware_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 AntiAffinityGroups

type AntiAffinityGroups struct {
	// AagConfigDisabled: bool, required
	AagConfigDisabled terra.BoolValue `hcl:"aag_config_disabled,attr" validate:"required"`
}

type AntiAffinityGroupsAttributes

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

func (AntiAffinityGroupsAttributes) AagConfigDisabled

func (aag AntiAffinityGroupsAttributes) AagConfigDisabled() terra.BoolValue

func (AntiAffinityGroupsAttributes) InternalRef

func (aag AntiAffinityGroupsAttributes) InternalRef() (terra.Reference, error)

func (AntiAffinityGroupsAttributes) InternalTokens

func (aag AntiAffinityGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AntiAffinityGroupsAttributes) InternalWithRef

type AntiAffinityGroupsState

type AntiAffinityGroupsState struct {
	AagConfigDisabled bool `json:"aag_config_disabled"`
}

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"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DisableBundledIngress: bool, optional
	DisableBundledIngress terra.BoolValue `hcl:"disable_bundled_ingress,attr"`
	// EnableControlPlaneV2: bool, optional
	EnableControlPlaneV2 terra.BoolValue `hcl:"enable_control_plane_v2,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"`
	// OnPremVersion: string, required
	OnPremVersion terra.StringValue `hcl:"on_prem_version,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// VmTrackingEnabled: bool, optional
	VmTrackingEnabled terra.BoolValue `hcl:"vm_tracking_enabled,attr"`
	// AntiAffinityGroups: optional
	AntiAffinityGroups *AntiAffinityGroups `hcl:"anti_affinity_groups,block"`
	// Authorization: optional
	Authorization *Authorization `hcl:"authorization,block"`
	// AutoRepairConfig: optional
	AutoRepairConfig *AutoRepairConfig `hcl:"auto_repair_config,block"`
	// ControlPlaneNode: required
	ControlPlaneNode *ControlPlaneNode `hcl:"control_plane_node,block" validate:"required"`
	// DataplaneV2: optional
	DataplaneV2 *DataplaneV2 `hcl:"dataplane_v2,block"`
	// LoadBalancer: optional
	LoadBalancer *LoadBalancer `hcl:"load_balancer,block"`
	// NetworkConfig: optional
	NetworkConfig *NetworkConfig `hcl:"network_config,block"`
	// Storage: optional
	Storage *Storage `hcl:"storage,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// UpgradePolicy: optional
	UpgradePolicy *UpgradePolicy `hcl:"upgrade_policy,block"`
	// Vcenter: optional
	Vcenter *Vcenter `hcl:"vcenter,block"`
}

Args contains the configurations for google_gkeonprem_vmware_cluster.

type Authorization

type Authorization struct {
	// AuthorizationAdminUsers: min=0
	AdminUsers []AuthorizationAdminUsers `hcl:"admin_users,block" validate:"min=0"`
}

type AuthorizationAdminUsers

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

type AuthorizationAdminUsersAttributes

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

func (AuthorizationAdminUsersAttributes) InternalRef

func (AuthorizationAdminUsersAttributes) InternalTokens

func (au AuthorizationAdminUsersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AuthorizationAdminUsersAttributes) InternalWithRef

func (AuthorizationAdminUsersAttributes) Username

type AuthorizationAdminUsersState

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

type AuthorizationAttributes

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

func (AuthorizationAttributes) AdminUsers

func (AuthorizationAttributes) InternalRef

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

func (AuthorizationAttributes) InternalTokens

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

func (AuthorizationAttributes) InternalWithRef

type AuthorizationState

type AuthorizationState struct {
	AdminUsers []AuthorizationAdminUsersState `json:"admin_users"`
}

type AutoRepairConfig

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

type AutoRepairConfigAttributes

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

func (AutoRepairConfigAttributes) Enabled

func (AutoRepairConfigAttributes) InternalRef

func (arc AutoRepairConfigAttributes) InternalRef() (terra.Reference, error)

func (AutoRepairConfigAttributes) InternalTokens

func (arc AutoRepairConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoRepairConfigAttributes) InternalWithRef

type AutoRepairConfigState

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

type ControlPlaneNode

type ControlPlaneNode struct {
	// Cpus: number, optional
	Cpus terra.NumberValue `hcl:"cpus,attr"`
	// Memory: number, optional
	Memory terra.NumberValue `hcl:"memory,attr"`
	// Replicas: number, optional
	Replicas terra.NumberValue `hcl:"replicas,attr"`
	// ControlPlaneNodeAutoResizeConfig: optional
	AutoResizeConfig *ControlPlaneNodeAutoResizeConfig `hcl:"auto_resize_config,block"`
}

type ControlPlaneNodeAttributes

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

func (ControlPlaneNodeAttributes) AutoResizeConfig

func (ControlPlaneNodeAttributes) Cpus

func (ControlPlaneNodeAttributes) InternalRef

func (cpn ControlPlaneNodeAttributes) InternalRef() (terra.Reference, error)

func (ControlPlaneNodeAttributes) InternalTokens

func (cpn ControlPlaneNodeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ControlPlaneNodeAttributes) InternalWithRef

func (ControlPlaneNodeAttributes) Memory

func (ControlPlaneNodeAttributes) Replicas

func (ControlPlaneNodeAttributes) VsphereConfig

type ControlPlaneNodeAutoResizeConfig

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

type ControlPlaneNodeAutoResizeConfigAttributes

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

func (ControlPlaneNodeAutoResizeConfigAttributes) Enabled

func (ControlPlaneNodeAutoResizeConfigAttributes) InternalRef

func (ControlPlaneNodeAutoResizeConfigAttributes) InternalTokens

func (ControlPlaneNodeAutoResizeConfigAttributes) InternalWithRef

type ControlPlaneNodeAutoResizeConfigState

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

type ControlPlaneNodeState

type ControlPlaneNodeState struct {
	Cpus             float64                                 `json:"cpus"`
	Memory           float64                                 `json:"memory"`
	Replicas         float64                                 `json:"replicas"`
	VsphereConfig    []ControlPlaneNodeVsphereConfigState    `json:"vsphere_config"`
	AutoResizeConfig []ControlPlaneNodeAutoResizeConfigState `json:"auto_resize_config"`
}

type ControlPlaneNodeVsphereConfigAttributes

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

func (ControlPlaneNodeVsphereConfigAttributes) Datastore

func (ControlPlaneNodeVsphereConfigAttributes) InternalRef

func (ControlPlaneNodeVsphereConfigAttributes) InternalTokens

func (ControlPlaneNodeVsphereConfigAttributes) InternalWithRef

func (ControlPlaneNodeVsphereConfigAttributes) StoragePolicyName

type ControlPlaneNodeVsphereConfigState

type ControlPlaneNodeVsphereConfigState struct {
	Datastore         string `json:"datastore"`
	StoragePolicyName string `json:"storage_policy_name"`
}

type DataplaneV2

type DataplaneV2 struct {
	// AdvancedNetworking: bool, optional
	AdvancedNetworking terra.BoolValue `hcl:"advanced_networking,attr"`
	// DataplaneV2Enabled: bool, optional
	DataplaneV2Enabled terra.BoolValue `hcl:"dataplane_v2_enabled,attr"`
	// WindowsDataplaneV2Enabled: bool, optional
	WindowsDataplaneV2Enabled terra.BoolValue `hcl:"windows_dataplane_v2_enabled,attr"`
}

type DataplaneV2Attributes

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

func (DataplaneV2Attributes) AdvancedNetworking

func (dv DataplaneV2Attributes) AdvancedNetworking() terra.BoolValue

func (DataplaneV2Attributes) DataplaneV2Enabled

func (dv DataplaneV2Attributes) DataplaneV2Enabled() terra.BoolValue

func (DataplaneV2Attributes) InternalRef

func (dv DataplaneV2Attributes) InternalRef() (terra.Reference, error)

func (DataplaneV2Attributes) InternalTokens

func (dv DataplaneV2Attributes) InternalTokens() (hclwrite.Tokens, error)

func (DataplaneV2Attributes) InternalWithRef

func (DataplaneV2Attributes) WindowsDataplaneV2Enabled

func (dv DataplaneV2Attributes) WindowsDataplaneV2Enabled() terra.BoolValue

type DataplaneV2State

type DataplaneV2State struct {
	AdvancedNetworking        bool `json:"advanced_networking"`
	DataplaneV2Enabled        bool `json:"dataplane_v2_enabled"`
	WindowsDataplaneV2Enabled bool `json:"windows_dataplane_v2_enabled"`
}

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 {
	// LoadBalancerF5Config: optional
	F5Config *LoadBalancerF5Config `hcl:"f5_config,block"`
	// LoadBalancerManualLbConfig: optional
	ManualLbConfig *LoadBalancerManualLbConfig `hcl:"manual_lb_config,block"`
	// LoadBalancerMetalLbConfig: optional
	MetalLbConfig *LoadBalancerMetalLbConfig `hcl:"metal_lb_config,block"`
	// LoadBalancerVipConfig: optional
	VipConfig *LoadBalancerVipConfig `hcl:"vip_config,block"`
}

type LoadBalancerAttributes

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

func (LoadBalancerAttributes) F5Config

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) VipConfig

type LoadBalancerF5Config

type LoadBalancerF5Config struct {
	// Address: string, optional
	Address terra.StringValue `hcl:"address,attr"`
	// Partition: string, optional
	Partition terra.StringValue `hcl:"partition,attr"`
	// SnatPool: string, optional
	SnatPool terra.StringValue `hcl:"snat_pool,attr"`
}

type LoadBalancerF5ConfigAttributes

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

func (LoadBalancerF5ConfigAttributes) Address

func (LoadBalancerF5ConfigAttributes) InternalRef

func (LoadBalancerF5ConfigAttributes) InternalTokens

func (fc LoadBalancerF5ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBalancerF5ConfigAttributes) InternalWithRef

func (LoadBalancerF5ConfigAttributes) Partition

func (LoadBalancerF5ConfigAttributes) SnatPool

type LoadBalancerF5ConfigState

type LoadBalancerF5ConfigState struct {
	Address   string `json:"address"`
	Partition string `json:"partition"`
	SnatPool  string `json:"snat_pool"`
}

type LoadBalancerManualLbConfig

type LoadBalancerManualLbConfig struct {
	// ControlPlaneNodePort: number, optional
	ControlPlaneNodePort terra.NumberValue `hcl:"control_plane_node_port,attr"`
	// IngressHttpNodePort: number, optional
	IngressHttpNodePort terra.NumberValue `hcl:"ingress_http_node_port,attr"`
	// IngressHttpsNodePort: number, optional
	IngressHttpsNodePort terra.NumberValue `hcl:"ingress_https_node_port,attr"`
	// KonnectivityServerNodePort: number, optional
	KonnectivityServerNodePort terra.NumberValue `hcl:"konnectivity_server_node_port,attr"`
}

type LoadBalancerManualLbConfigAttributes

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

func (LoadBalancerManualLbConfigAttributes) ControlPlaneNodePort

func (mlc LoadBalancerManualLbConfigAttributes) ControlPlaneNodePort() terra.NumberValue

func (LoadBalancerManualLbConfigAttributes) IngressHttpNodePort

func (mlc LoadBalancerManualLbConfigAttributes) IngressHttpNodePort() terra.NumberValue

func (LoadBalancerManualLbConfigAttributes) IngressHttpsNodePort

func (mlc LoadBalancerManualLbConfigAttributes) IngressHttpsNodePort() terra.NumberValue

func (LoadBalancerManualLbConfigAttributes) InternalRef

func (LoadBalancerManualLbConfigAttributes) InternalTokens

func (LoadBalancerManualLbConfigAttributes) InternalWithRef

func (LoadBalancerManualLbConfigAttributes) KonnectivityServerNodePort

func (mlc LoadBalancerManualLbConfigAttributes) KonnectivityServerNodePort() terra.NumberValue

type LoadBalancerManualLbConfigState

type LoadBalancerManualLbConfigState struct {
	ControlPlaneNodePort       float64 `json:"control_plane_node_port"`
	IngressHttpNodePort        float64 `json:"ingress_http_node_port"`
	IngressHttpsNodePort       float64 `json:"ingress_https_node_port"`
	KonnectivityServerNodePort float64 `json:"konnectivity_server_node_port"`
}

type LoadBalancerMetalLbConfig

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

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 LoadBalancerMetalLbConfigState

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

type LoadBalancerState

type LoadBalancerState struct {
	F5Config       []LoadBalancerF5ConfigState       `json:"f5_config"`
	ManualLbConfig []LoadBalancerManualLbConfigState `json:"manual_lb_config"`
	MetalLbConfig  []LoadBalancerMetalLbConfigState  `json:"metal_lb_config"`
	VipConfig      []LoadBalancerVipConfigState      `json:"vip_config"`
}

type LoadBalancerVipConfig

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

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 NetworkConfig

type NetworkConfig 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"`
	// VcenterNetwork: string, optional
	VcenterNetwork terra.StringValue `hcl:"vcenter_network,attr"`
	// NetworkConfigControlPlaneV2Config: optional
	ControlPlaneV2Config *NetworkConfigControlPlaneV2Config `hcl:"control_plane_v2_config,block"`
	// NetworkConfigDhcpIpConfig: optional
	DhcpIpConfig *NetworkConfigDhcpIpConfig `hcl:"dhcp_ip_config,block"`
	// NetworkConfigHostConfig: optional
	HostConfig *NetworkConfigHostConfig `hcl:"host_config,block"`
	// NetworkConfigStaticIpConfig: optional
	StaticIpConfig *NetworkConfigStaticIpConfig `hcl:"static_ip_config,block"`
}

type NetworkConfigAttributes

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

func (NetworkConfigAttributes) ControlPlaneV2Config

func (NetworkConfigAttributes) DhcpIpConfig

func (NetworkConfigAttributes) HostConfig

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) PodAddressCidrBlocks

func (nc NetworkConfigAttributes) PodAddressCidrBlocks() terra.ListValue[terra.StringValue]

func (NetworkConfigAttributes) ServiceAddressCidrBlocks

func (nc NetworkConfigAttributes) ServiceAddressCidrBlocks() terra.ListValue[terra.StringValue]

func (NetworkConfigAttributes) StaticIpConfig

func (NetworkConfigAttributes) VcenterNetwork

func (nc NetworkConfigAttributes) VcenterNetwork() terra.StringValue

type NetworkConfigControlPlaneV2Config

type NetworkConfigControlPlaneV2Config struct {
	// NetworkConfigControlPlaneV2ConfigControlPlaneIpBlock: optional
	ControlPlaneIpBlock *NetworkConfigControlPlaneV2ConfigControlPlaneIpBlock `hcl:"control_plane_ip_block,block"`
}

type NetworkConfigControlPlaneV2ConfigAttributes

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

func (NetworkConfigControlPlaneV2ConfigAttributes) InternalRef

func (NetworkConfigControlPlaneV2ConfigAttributes) InternalTokens

func (NetworkConfigControlPlaneV2ConfigAttributes) InternalWithRef

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlock

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlock struct {
	// Gateway: string, optional
	Gateway terra.StringValue `hcl:"gateway,attr"`
	// Netmask: string, optional
	Netmask terra.StringValue `hcl:"netmask,attr"`
	// NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIps: min=0
	Ips []NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIps `hcl:"ips,block" validate:"min=0"`
}

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockAttributes

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

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockAttributes) Gateway

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockAttributes) InternalRef

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockAttributes) InternalTokens

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockAttributes) InternalWithRef

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockAttributes) Netmask

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIps

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIps struct {
	// Hostname: string, optional
	Hostname terra.StringValue `hcl:"hostname,attr"`
	// Ip: string, optional
	Ip terra.StringValue `hcl:"ip,attr"`
}

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpsAttributes

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

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpsAttributes) Hostname

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpsAttributes) InternalRef

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpsAttributes) InternalTokens

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpsAttributes) InternalWithRef

func (NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpsAttributes) Ip

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpsState

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpsState struct {
	Hostname string `json:"hostname"`
	Ip       string `json:"ip"`
}

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockState

type NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockState struct {
	Gateway string                                                         `json:"gateway"`
	Netmask string                                                         `json:"netmask"`
	Ips     []NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockIpsState `json:"ips"`
}

type NetworkConfigControlPlaneV2ConfigState

type NetworkConfigControlPlaneV2ConfigState struct {
	ControlPlaneIpBlock []NetworkConfigControlPlaneV2ConfigControlPlaneIpBlockState `json:"control_plane_ip_block"`
}

type NetworkConfigDhcpIpConfig

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

type NetworkConfigDhcpIpConfigAttributes

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

func (NetworkConfigDhcpIpConfigAttributes) Enabled

func (NetworkConfigDhcpIpConfigAttributes) InternalRef

func (NetworkConfigDhcpIpConfigAttributes) InternalTokens

func (dic NetworkConfigDhcpIpConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigDhcpIpConfigAttributes) InternalWithRef

type NetworkConfigDhcpIpConfigState

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

type NetworkConfigHostConfig

type NetworkConfigHostConfig struct {
	// DnsSearchDomains: list of string, optional
	DnsSearchDomains terra.ListValue[terra.StringValue] `hcl:"dns_search_domains,attr"`
	// DnsServers: list of string, optional
	DnsServers terra.ListValue[terra.StringValue] `hcl:"dns_servers,attr"`
	// NtpServers: list of string, optional
	NtpServers terra.ListValue[terra.StringValue] `hcl:"ntp_servers,attr"`
}

type NetworkConfigHostConfigAttributes

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

func (NetworkConfigHostConfigAttributes) DnsSearchDomains

func (NetworkConfigHostConfigAttributes) DnsServers

func (NetworkConfigHostConfigAttributes) InternalRef

func (NetworkConfigHostConfigAttributes) InternalTokens

func (hc NetworkConfigHostConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigHostConfigAttributes) InternalWithRef

func (NetworkConfigHostConfigAttributes) NtpServers

type NetworkConfigHostConfigState

type NetworkConfigHostConfigState struct {
	DnsSearchDomains []string `json:"dns_search_domains"`
	DnsServers       []string `json:"dns_servers"`
	NtpServers       []string `json:"ntp_servers"`
}

type NetworkConfigState

type NetworkConfigState struct {
	PodAddressCidrBlocks     []string                                 `json:"pod_address_cidr_blocks"`
	ServiceAddressCidrBlocks []string                                 `json:"service_address_cidr_blocks"`
	VcenterNetwork           string                                   `json:"vcenter_network"`
	ControlPlaneV2Config     []NetworkConfigControlPlaneV2ConfigState `json:"control_plane_v2_config"`
	DhcpIpConfig             []NetworkConfigDhcpIpConfigState         `json:"dhcp_ip_config"`
	HostConfig               []NetworkConfigHostConfigState           `json:"host_config"`
	StaticIpConfig           []NetworkConfigStaticIpConfigState       `json:"static_ip_config"`
}

type NetworkConfigStaticIpConfig

type NetworkConfigStaticIpConfig struct {
	// NetworkConfigStaticIpConfigIpBlocks: min=1
	IpBlocks []NetworkConfigStaticIpConfigIpBlocks `hcl:"ip_blocks,block" validate:"min=1"`
}

type NetworkConfigStaticIpConfigAttributes

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

func (NetworkConfigStaticIpConfigAttributes) InternalRef

func (NetworkConfigStaticIpConfigAttributes) InternalTokens

func (NetworkConfigStaticIpConfigAttributes) InternalWithRef

func (NetworkConfigStaticIpConfigAttributes) IpBlocks

type NetworkConfigStaticIpConfigIpBlocks

type NetworkConfigStaticIpConfigIpBlocks struct {
	// Gateway: string, required
	Gateway terra.StringValue `hcl:"gateway,attr" validate:"required"`
	// Netmask: string, required
	Netmask terra.StringValue `hcl:"netmask,attr" validate:"required"`
	// NetworkConfigStaticIpConfigIpBlocksIps: min=1
	Ips []NetworkConfigStaticIpConfigIpBlocksIps `hcl:"ips,block" validate:"min=1"`
}

type NetworkConfigStaticIpConfigIpBlocksAttributes

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

func (NetworkConfigStaticIpConfigIpBlocksAttributes) Gateway

func (NetworkConfigStaticIpConfigIpBlocksAttributes) InternalRef

func (NetworkConfigStaticIpConfigIpBlocksAttributes) InternalTokens

func (NetworkConfigStaticIpConfigIpBlocksAttributes) InternalWithRef

func (NetworkConfigStaticIpConfigIpBlocksAttributes) Ips

func (NetworkConfigStaticIpConfigIpBlocksAttributes) Netmask

type NetworkConfigStaticIpConfigIpBlocksIps

type NetworkConfigStaticIpConfigIpBlocksIps struct {
	// Hostname: string, optional
	Hostname terra.StringValue `hcl:"hostname,attr"`
	// Ip: string, required
	Ip terra.StringValue `hcl:"ip,attr" validate:"required"`
}

type NetworkConfigStaticIpConfigIpBlocksIpsAttributes

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

func (NetworkConfigStaticIpConfigIpBlocksIpsAttributes) Hostname

func (NetworkConfigStaticIpConfigIpBlocksIpsAttributes) InternalRef

func (NetworkConfigStaticIpConfigIpBlocksIpsAttributes) InternalTokens

func (NetworkConfigStaticIpConfigIpBlocksIpsAttributes) InternalWithRef

func (NetworkConfigStaticIpConfigIpBlocksIpsAttributes) Ip

type NetworkConfigStaticIpConfigIpBlocksIpsState

type NetworkConfigStaticIpConfigIpBlocksIpsState struct {
	Hostname string `json:"hostname"`
	Ip       string `json:"ip"`
}

type NetworkConfigStaticIpConfigIpBlocksState

type NetworkConfigStaticIpConfigIpBlocksState struct {
	Gateway string                                        `json:"gateway"`
	Netmask string                                        `json:"netmask"`
	Ips     []NetworkConfigStaticIpConfigIpBlocksIpsState `json:"ips"`
}

type NetworkConfigStaticIpConfigState

type NetworkConfigStaticIpConfigState struct {
	IpBlocks []NetworkConfigStaticIpConfigIpBlocksState `json:"ip_blocks"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ggvc *Resource) Attributes() googleGkeonpremVmwareClusterAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ggvc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ggvc *Resource) State() (*googleGkeonpremVmwareClusterState, bool)

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

func (*Resource) StateMust

func (ggvc *Resource) StateMust() *googleGkeonpremVmwareClusterState

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

func (*Resource) Type

func (ggvc *Resource) Type() string

Type returns the Terraform object type for Resource.

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 {
	// VsphereCsiDisabled: bool, required
	VsphereCsiDisabled terra.BoolValue `hcl:"vsphere_csi_disabled,attr" 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) VsphereCsiDisabled

func (s StorageAttributes) VsphereCsiDisabled() terra.BoolValue

type StorageState

type StorageState struct {
	VsphereCsiDisabled bool `json:"vsphere_csi_disabled"`
}

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 {
	// ControlPlaneOnly: bool, optional
	ControlPlaneOnly terra.BoolValue `hcl:"control_plane_only,attr"`
}

type UpgradePolicyAttributes

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

func (UpgradePolicyAttributes) ControlPlaneOnly

func (up UpgradePolicyAttributes) ControlPlaneOnly() terra.BoolValue

func (UpgradePolicyAttributes) InternalRef

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

func (UpgradePolicyAttributes) InternalTokens

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

func (UpgradePolicyAttributes) InternalWithRef

type UpgradePolicyState

type UpgradePolicyState struct {
	ControlPlaneOnly bool `json:"control_plane_only"`
}

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

type Vcenter

type Vcenter struct {
	// CaCertData: string, optional
	CaCertData terra.StringValue `hcl:"ca_cert_data,attr"`
	// Cluster: string, optional
	Cluster terra.StringValue `hcl:"cluster,attr"`
	// Datacenter: string, optional
	Datacenter terra.StringValue `hcl:"datacenter,attr"`
	// Datastore: string, optional
	Datastore terra.StringValue `hcl:"datastore,attr"`
	// Folder: string, optional
	Folder terra.StringValue `hcl:"folder,attr"`
	// ResourcePool: string, optional
	ResourcePool terra.StringValue `hcl:"resource_pool,attr"`
	// StoragePolicyName: string, optional
	StoragePolicyName terra.StringValue `hcl:"storage_policy_name,attr"`
}

type VcenterAttributes

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

func (VcenterAttributes) Address

func (v VcenterAttributes) Address() terra.StringValue

func (VcenterAttributes) CaCertData

func (v VcenterAttributes) CaCertData() terra.StringValue

func (VcenterAttributes) Cluster

func (v VcenterAttributes) Cluster() terra.StringValue

func (VcenterAttributes) Datacenter

func (v VcenterAttributes) Datacenter() terra.StringValue

func (VcenterAttributes) Datastore

func (v VcenterAttributes) Datastore() terra.StringValue

func (VcenterAttributes) Folder

func (v VcenterAttributes) Folder() terra.StringValue

func (VcenterAttributes) InternalRef

func (v VcenterAttributes) InternalRef() (terra.Reference, error)

func (VcenterAttributes) InternalTokens

func (v VcenterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VcenterAttributes) InternalWithRef

func (v VcenterAttributes) InternalWithRef(ref terra.Reference) VcenterAttributes

func (VcenterAttributes) ResourcePool

func (v VcenterAttributes) ResourcePool() terra.StringValue

func (VcenterAttributes) StoragePolicyName

func (v VcenterAttributes) StoragePolicyName() terra.StringValue

type VcenterState

type VcenterState struct {
	Address           string `json:"address"`
	CaCertData        string `json:"ca_cert_data"`
	Cluster           string `json:"cluster"`
	Datacenter        string `json:"datacenter"`
	Datastore         string `json:"datastore"`
	Folder            string `json:"folder"`
	ResourcePool      string `json:"resource_pool"`
	StoragePolicyName string `json:"storage_policy_name"`
}

Jump to

Keyboard shortcuts

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