Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIProvisioner ¶
type CLIProvisioner struct { ClusterDefinition string `envconfig:"CLUSTER_DEFINITION" required:"true" default:"examples/kubernetes.json"` // ClusterDefinition is the path on disk to the json template these are normally located in examples/ ProvisionRetries int `envcofnig:"PROVISION_RETRIES" default:"3"` CreateVNET bool `envconfig:"CREATE_VNET" default:"false"` Config *config.Config Account *azure.Account Point *metrics.Point ResourceGroups []string Engine *engine.Engine }
CLIProvisioner holds the configuration needed to provision a clusters
func BuildCLIProvisioner ¶
func BuildCLIProvisioner(cfg *config.Config, acct *azure.Account, pt *metrics.Point) (*CLIProvisioner, error)
BuildCLIProvisioner will return a ProvisionerConfig object which is used to run a provision
func (*CLIProvisioner) Run ¶
func (cli *CLIProvisioner) Run() error
Run will provision a cluster using the azure cli
Click to show internal directories.
Click to hide internal directories.