runner

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: MIT Imports: 16 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    `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

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