Documentation ¶
Index ¶
Constants ¶
View Source
const (
ResourceName = "tanzu-mission-control_cluster_node_pool"
)
Variables ¶
View Source
var NodePoolTkgAWS = &schema.Schema{ Type: schema.TypeList, Description: "TKGAWSNodepool is the nodepool spec for TKG AWS cluster", Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ classKey: { Type: schema.TypeString, Description: "Nodepool instance type", Optional: true, }, storageClassKey: { Type: schema.TypeString, Description: "Storage Class to be used for storage of the disks which store the root filesystem of the nodes", Optional: true, }, }, }, }
View Source
var NodePoolTkgServiceVsphere = &schema.Schema{ Type: schema.TypeList, Description: "TKGServiceVsphereNodepool is the nodepool spec for TKG service vsphere cluster", Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ classKey: { Type: schema.TypeString, Description: "Nodepool instance type", Required: true, }, storageClassKey: { Type: schema.TypeString, Description: "Storage Class to be used for storage of the disks which store the root filesystem of the nodes", Required: true, }, }, }, }
View Source
var NodePoolTkgVsphere = &schema.Schema{ Type: schema.TypeList, Description: "TkgVsphereNodepool is the nodepool config for the TKG vsphere cluster", Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ vmConfigKey: { Type: schema.TypeList, Description: "VM specific configuration", Required: true, MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ cpuKey: { Type: schema.TypeString, Description: "Number of CPUs per node", Optional: true, }, diskKey: { Type: schema.TypeString, Description: "Root disk size in gigabytes for the VM", Optional: true, }, memoryKey: { Type: schema.TypeString, Description: "Memory associated with the node in megabytes", Optional: true, }, }, }, }, }, }, }
Functions ¶
func ResourceNodePool ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.