spec

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpecAction

type SpecAction struct {
	ActionType string       `json:"type"`
	Args       []*SpecValue `json:"args"`
	ExportName string       `json:"field"`
	ModuleName string       `json:"module"`
}

type SpecCommand

type SpecCommand struct {
	Action      *SpecAction  `json:"action"`
	Alias       string       `json:"as"`
	CommandType string       `json:"type"`
	ErrorText   string       `json:"text"`
	Expected    []*SpecValue `json:"expected"`
	Filename    string       `json:"filename"`
	Line        uint         `json:"line"`
	ModuleType  string       `json:"module_type"`
	Name        string       `json:"name"`
}

type SpecSource

type SpecSource struct {
	Commands []*SpecCommand `json:"commands"`
	Filename string         `json:"source_filename"`
}

type SpecValue

type SpecValue struct {
	DataType string `json:"type"`
	Value    string `json:"value"`
}

Jump to

Keyboard shortcuts

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