runner

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Name                     string
	KubeConfigPath           string
	KubeConfigFromDockerPath string
}

type Runner

type Runner struct {
	Viper *viper.Viper
}

func NewRunner

func NewRunner() *Runner

func (*Runner) RunSync

func (r *Runner) RunSync() error

type Test

type Test struct {
	Cluster     TestCluster `yaml:"cluster"`
	Databases   []string    `yaml:"databases"`
	Connections []string    `yaml:"connections"`
	Steps       []*TestStep `yaml:"steps"`
}

type TestCluster

type TestCluster struct {
	Name        string `yaml:"name"`
	SkipCleanup bool   `yaml:"skipCleanup"`
}

type TestExec

type TestExec struct {
	Pod     string   `yaml:"pod"`
	Command string   `yaml:"command"`
	Args    []string `yaml:"args"`
}

type TestStep

type TestStep struct {
	Name         string            `yaml:"name"`
	Table        *TestStepTable    `yaml:"table"`
	Verification *TestVerification `yaml:"verification"`
}

type TestStepTable

type TestStepTable struct {
	Source string `yaml:"source"`
}

type TestVerification

type TestVerification struct {
	Exec TestExec `yaml:"exec"`
}

Jump to

Keyboard shortcuts

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