Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expect ¶
type Expect struct { Code string `yaml:"code"` Body interface{} `yaml:"body"` Status ExpectStatus `yaml:"status"` Header yaml.MapSlice `yaml:"header"` Trailer yaml.MapSlice `yaml:"trailer"` }
Expect represents expected response values.
type ExpectStatus ¶
type ExpectStatus struct { Code string `yaml:"code"` Message string `yaml:"message"` Details []map[string]yaml.MapSlice `yaml:"details"` }
ExpectStatus represents expected gRPC status.
type GRPC ¶
type GRPC struct{}
GRPC is a protocol type for the scenarigo step.
func (*GRPC) UnmarshalExpect ¶
func (p *GRPC) UnmarshalExpect(b []byte) (protocol.AssertionBuilder, error)
UnmarshalExpect implements protocol.Protocol interface.
Click to show internal directories.
Click to hide internal directories.