MCPcopy Create free account
hub / github.com/AdminTurnedDevOps/CapabilityPE / init

Function init

cmd/cluster-creation/deployakscluster.go:58–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func init() {
59 cmdd.RootCmd.AddCommand(addTerraformAKSCmd)
60
61 addTerraformAKSCmd.PersistentFlags().StringVarP(&name, "name", "n", "", "Name of the cluster")
62 addTerraformAKSCmd.PersistentFlags().StringVarP(&resource_group_name, "rg", "r", "", "Name of resource group that the cluster resides in")
63 addTerraformAKSCmd.PersistentFlags().StringVarP(&location, "region", "l", "", "Region that the cluster resides in")
64 addTerraformAKSCmd.PersistentFlags().StringVarP(&node_count, "nodecount", "c", "", "How many Worker Nodes in the cluster (default is 3)")
65 addTerraformAKSCmd.PersistentFlags().StringVarP(&k8s_version, "k8sversion", "v", "", "Kubernetes version (default is 1.29.4)")
66}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected