Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "grpc"
Name for test exec
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor struct { URL string `json:"url" yaml:"url"` Service string `json:"service" yaml:"service"` Method string `json:"method" yaml:"method"` Plaintext bool `json:"plaintext,omitempty" yaml:"plaintext,omitempty"` JSONDefaultFields bool `json:"default_fields" yaml:"default_fields"` IncludeTextSeparator bool `json:"include_text_separator" yaml:"include_text_separator"` Data map[string]interface{} `json:"data" yaml:"data"` Headers map[string]string `json:"headers" yaml:"headers"` ConnectTimeout *int64 `json:"connect_timeout" yaml:"connect_timeout"` }
Executor represents a Test Exec
func (Executor) GetDefaultAssertions ¶
func (Executor) GetDefaultAssertions() *venom.StepAssertions
GetDefaultAssertions return default assertions for type exec
func (Executor) ZeroValueResult ¶
func (Executor) ZeroValueResult() interface{}
ZeroValueResult return an empty implementation of this executor result
type Result ¶
type Result struct { Systemout string `json:"systemout,omitempty" yaml:"systemout,omitempty"` SystemoutJSON interface{} `json:"systemoutjson,omitempty" yaml:"systemoutjson,omitempty"` Systemerr string `json:"systemerr,omitempty" yaml:"systemerr,omitempty"` SystemerrJSON interface{} `json:"systemerrjson,omitempty" yaml:"systemerrjson,omitempty"` Err string `json:"err,omitempty" yaml:"err,omitempty"` Code string `json:"code,omitempty" yaml:"code,omitempty"` TimeSeconds float64 `json:"timeseconds,omitempty" yaml:"timeseconds,omitempty"` }
Result represents a step result
Click to show internal directories.
Click to hide internal directories.