Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CliExpect ¶
type CliExpect struct { ExitCode *IntAssert `json:"exitCode,omitempty"` Stdout *StringAssert `json:"stdout,omitempty"` Stderr *StringAssert `json:"stderr,omitempty"` }
type Condition ¶
type Condition struct {
FailuresSoFar *IntAssert `json:"failuresSoFar,omitempty"`
}
type GcpAction ¶
type GcpAction struct {
SetRuntimeConfigVar *SetRuntimeConfigVarGcpAction `json:"setRuntimeConfigVar,omitempty"`
}
type HtmlAssert ¶
type HtmlAssert struct {
Title *StringAssert `json:"title,omitempty"`
}
type HttpExpect ¶
type HttpExpect struct { StatusCode *IntAssert `json:"statusCode,omitempty"` StatusText *StringAssert `json:"statusText,omitempty"` BodyText *TextContentAssert `json:"bodyText,omitempty"` }
type HttpTest ¶
type HttpTest struct { Url string `json:"url"` Method *string `json:"method,omitempty"` Headers map[string]string `json:"headers,omitempty"` Expect HttpExpect `json:"expect"` }
type StringAssert ¶
type Suite ¶
type Suite struct {
Actions []Action `json:"actions,omitempty"`
}
func LoadSuite ¶
func LoadSuite(path string, templateSpec TemplateSpec) *Suite
type TextContentAssert ¶
type TextContentAssert struct {
Html *HtmlAssert `json:"html,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.