Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct { // OSImage is the vm OS image object. OSImage NodeOSImage `json:"osImage" yaml:"osImage"` // VMSize is the master vm size (e.g. Standard_A1) VMSize string `json:"vmSize" yaml:"vmSize"` // Size of the Disk mounted in /var/lib/docker DockerVolumeSizeGB int `json:"dockerVolumeSizeGB" yaml:"dockerVolumeSizeGB"` // Size of the Disk mounted in /var/lib/kubelet KubeletVolumeSizeGB int `json:"kubeletVolumeSizeGB" yaml:"kubeletVolumeSizeGB"` }
func GetMasterNodesConfiguration ¶
func GetMasterNodesConfiguration(obj providerv1alpha1.AzureConfig, distroVersion string) []Node
func GetWorkerNodesConfiguration ¶
func GetWorkerNodesConfiguration(obj providerv1alpha1.AzureConfig, distroVersion string) []Node
type NodeOSImage ¶
type NodeOSImage struct { // Offer is the image offered by the publisher (e.g. CoreOS). Offer string `json:"offer" yaml:"offer"` // Publisher is the image publisher (e.g GiantSwarm). Publisher string `json:"publisher" yaml:"publisher"` // SKU is the image SKU (e.g. Alpha). SKU string `json:"sku" yaml:"sku"` // Version is the image version (e.g. 1465.7.0). Version string `json:"version" yaml:"version"` }
nodeOSImage provides OS information for Microsoft.Compute/virtualMachines templates. Official documentation for can be found here https://docs.microsoft.com/en-us/azure/templates/microsoft.compute/virtualmachines#ImageReference.
Click to show internal directories.
Click to hide internal directories.