Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matrix ¶
type Matrix struct { M map[string][]interface{} `yaml:",inline"` // contains filtered or unexported fields }
Matrix is holding slices of values for a number of (step/transaction) variables. It generates combinations of these values. It is not thread-safe.
func (Matrix) CurrentSet ¶
func (Matrix) MarshalJSON ¶ added in v0.3.3
func (*Matrix) UnmarshalJSON ¶ added in v0.3.3
type Transaction ¶
type Transaction struct { ID string `yaml:"id" json:"id" validate:"required"` Variables variables.Variables `yaml:"variables" json:"variables"` Steps []step.Step `yaml:"steps" json:"steps" validate:"required,unique=ID"` Matrix *Matrix `yaml:"matrix" json:"matrix"` }
Transaction is the definition of a transaction
type TransactionRunner ¶
type TransactionRunner struct {
// contains filtered or unexported fields
}
func (*TransactionRunner) Run ¶
func (r *TransactionRunner) Run(transactions []Transaction, vars variables.Variables) bool
Click to show internal directories.
Click to hide internal directories.