runner

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: MIT Imports: 19 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) 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

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