Move cli/azure to cli/internal/azure

This commit is contained in:
katexochen 2022-06-07 16:30:41 +02:00
parent 180d7872dd
commit 064151a956
27 changed files with 11 additions and 11 deletions

View file

@ -0,0 +1,8 @@
package azure
import "fmt"
// AutoscalingNodeGroup converts an azure scale set into a node group used by the k8s cluster-autoscaler.
func AutoscalingNodeGroup(scaleSet string, min int, max int) string {
return fmt.Sprintf("%d:%d:%s", min, max, scaleSet)
}