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 `envconfig:"PROVISION_RETRIES" default:"0"` CreateVNET bool `envconfig:"CREATE_VNET" default:"false"` Config *config.Config Account *azure.Account Point *metrics.Point ResourceGroups []string Engine *engine.Engine Masters []azure.VM Agents []azure.VM }
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) FetchOpenShiftInfraLogs ¶ added in v0.17.0
func (cli *CLIProvisioner) FetchOpenShiftInfraLogs(logPath string) error
FetchOpenShiftInfraLogs returns logs for Openshift infra components.
func (*CLIProvisioner) FetchProvisioningMetrics ¶ added in v0.13.0
func (cli *CLIProvisioner) FetchProvisioningMetrics(path string, cfg *config.Config, acct *azure.Account) error
FetchProvisioningMetrics gets provisioning files from all hosts in a cluster
func (*CLIProvisioner) IsPrivate ¶ added in v0.15.0
func (cli *CLIProvisioner) IsPrivate() bool
IsPrivate will return true if the cluster has no public IPs
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.