func NewDefaultSpec() *Spec {
	return &Spec{
		Name:       "gke-cluster",
		K8SVersion: DefaultK8SVersion,
		NodePools: []NodePool{
			NodePool{
				Name:        "np-1",
				Size:        1,
				MachineType: DefaultMachineType,
				ImageType:   DefaultImageType,
			},
		},
	}
}
NewDefaultSpec returns a spec object which is complete enough to render a
valid GDM template.
package gke
import (
	"bytes"
	"html/template"
	"github.com/hasura/kubeformation/pkg/provider"
)
const (
	DefaultK8SVersion = "1.9"
	DefaultMachineType = "n1-standard-1"
	DefaultImageType = "cos"
)
var funcMap = template.FuncMap{
	"sub": func(i int) int {
		if i == 0 {
			return 0
		}
		return i - 1
	},
}
type Spec struct {
	Name string
	K8SVersion string
	NodePools []NodePool
	Volumes []Volume
}
type NodePool struct {
	Name string
	Labels map[string]string
	Size int64
	MachineType string
	ImageType string
}
type Volume struct {
	Name string
	SizeGB int
}