Documentation ¶
Index ¶
- func AskForConfirmation() bool
- func CheckResourceGroup(rgroupName string) bool
- func CreateCluster(clusterName string, resourceGroupName string, extraflags []string)
- func CreateDisk(diskName string, diskResourcegroup string, diskLocation string, ...)
- func CreateNodePool(clusterName string, nodePoolName string, rgroupName string)
- func CreateResourceGroup(rgroupName string, rgroupRegion string)
- func CreateVNet(vNetName string, rgroupName string)
- func DeleteCluster(clusterName string, resourceGroupName string)
- func DeleteDisk(diskName string, diskResourceGroup string)
- func DeleteNodePool(clusterName string, nodePoolName string, rgroupName string)
- func DeleteResourceGroup(rgroupName string)
- func DeleteVNet(vNetName string, rgroupName string)
- func GetCluster(resourceGroupName string)
- func GetClusterCredentials(clusterName string, resourceGroupName string)
- func GetDisk(diskResourceGroup string)
- func GetNodePool(clusterName string, rgroupName string)
- func GetResourceGroup()
- func ScaleNodePool(clusterName string, nodePoolName string, rgroupName string)
- func UpdateCluster(clusterName string, resourceGroupName string)
- func UpdateDisk(diskName string, diskResourceGroup string, diskSize string)
- func UpdateNodePool(clusterName string, nodePoolName string, rgroupName string)
- func UpdateResourceGroup(rgroupName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskForConfirmation ¶
func AskForConfirmation() bool
askForConfirmation uses Scanln to parse user input. A user must type in "yes" or "no" and then press enter. It has fuzzy matching, so "y", "Y", "yes", "YES", and "Yes" all count as confirmations. If the input is not recognized, it will ask again. The function does not return until it gets a valid response from the user. Typically, you should use fmt to print out a question before calling askForConfirmation. E.g. fmt.Println("WARNING: Are you sure? (yes/no)")
func CheckResourceGroup ¶
func CreateCluster ¶
func CreateDisk ¶
func CreateNodePool ¶
func CreateResourceGroup ¶
func CreateVNet ¶
func DeleteCluster ¶
func DeleteDisk ¶
func DeleteNodePool ¶
func DeleteResourceGroup ¶
func DeleteResourceGroup(rgroupName string)
func DeleteVNet ¶
func GetCluster ¶
func GetCluster(resourceGroupName string)
func GetClusterCredentials ¶
func GetNodePool ¶
func GetResourceGroup ¶
func GetResourceGroup()
func ScaleNodePool ¶
func UpdateCluster ¶
func UpdateDisk ¶
func UpdateNodePool ¶
func UpdateResourceGroup ¶
func UpdateResourceGroup(rgroupName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.