Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conditions ¶
type Conditions struct {
Tcs []TransCon
}
Conditions is a collection of state transition conditions
type IntEqual ¶
type IntEqual struct { UsingProperty string `mapstructure:"using_property"` ToEqual int `mapstructure:"to_equal"` Type string }
IntEqual contains fields to compare as integers
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry contains a map of string identifiers to initializer functions
func NewRegistry ¶
NewRegistry creates a registry of all available assertions
type StringEqual ¶
type StringEqual struct { UsingProperty string `mapstructure:"using_property"` ToEqual string `mapstructure:"to_equal"` Type string }
StringEqual stores property and value to assert on
type Subprocess ¶
type Subprocess struct { UsingProperty string `mapstructure:"using_property"` ToEqual string `mapstructure:"to_equal"` CommandName string `mapstructure:"command_name"` Args []string Type string }
Subprocess assertion
type TransCon ¶
TransCon interface for evaluating state transition conditions
func NewIntEqualFromMap ¶
NewIntEqualFromMap initializes a IntEqual struct from generic map
func NewStringEqualFromMap ¶
NewStringEqualFromMap initializes StringEqual from generic map
func NewSubprocessFromMap ¶
NewSubprocessFromMap initializes a subprocess from a generica map
Click to show internal directories.
Click to hide internal directories.