runner

package
v0.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2018 License: MIT Imports: 18 Imported by: 0

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) 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) Run

func (cli *CLIProvisioner) Run() error

Run will provision a cluster using the azure cli

type Ginkgo

type Ginkgo struct {
	GinkgoNodes string `envconfig:"GINKGO_NODES" default:"6"`
	Config      *config.Config
	Point       *metrics.Point
}

Ginkgo contains all of the information needed to run the ginkgo suite of tests

func BuildGinkgoRunner

func BuildGinkgoRunner(cfg *config.Config, pt *metrics.Point) (*Ginkgo, error)

BuildGinkgoRunner creates a new Ginkgo object

func (*Ginkgo) Run

func (g *Ginkgo) Run() error

Run will execute an orchestrator suite of tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL