Documentation ¶
Overview ¶
Package reflect is an SDK wrapper around the reflect HTTP API
Index ¶
- type CookieOverride
- type CreateTagExecutionOutput
- type ExecuteSuiteOptions
- type ExecuteSuiteOutput
- type GetStatusOutput
- type ListSuiteOutput
- type NewReflectInput
- type Overrides
- type Reflect
- func (r *Reflect) CreateTagExecution(tag string, options *TestExecutionOptions) (*CreateTagExecutionOutput, error)
- func (r *Reflect) ExecuteSuite(id string, options *ExecuteSuiteOptions) (*ExecuteSuiteOutput, error)
- func (r *Reflect) GetStatus(id string) (*GetStatusOutput, error)
- func (r *Reflect) ListSuites() (*ListSuiteOutput, error)
- func (r *Reflect) URL() string
- type SuiteCookieOverride
- type SuiteData
- type SuiteOverrides
- type Suites
- type Test
- type TestExecutionOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CookieOverride ¶
type CookieOverride struct { Name string `mapstructure:"name" json:"name"` Value string `mapstructure:"value" json:"value"` Domain string `mapstructure:"domain" json:"domain"` Expires int32 `mapstructure:"expires" json:"expires"` HTTPOnly bool `mapstructure:"httpOnly" json:"httpOnly"` MaxAge int32 `mapstructure:"maxAge" json:"maxAge"` Path string `mapstructure:"path" json:"path"` Secure bool `mapstructure:"secure" json:"secure"` }
type ExecuteSuiteOptions ¶
type ExecuteSuiteOptions struct {
Overrides *SuiteOverrides `json:"overrides"`
}
type ExecuteSuiteOutput ¶
type ExecuteSuiteOutput struct {
ExecutionID int `json:"executionId"`
}
type GetStatusOutput ¶
type ListSuiteOutput ¶
type ListSuiteOutput struct {
Suites Suites
}
type NewReflectInput ¶
type NewReflectInput struct {
APIKey string
}
type Overrides ¶
type Overrides struct {
Cookies []CookieOverride `mapstructure:"cookies" json:"cookies"`
}
type Reflect ¶
func NewReflect ¶
func NewReflect(p *NewReflectInput) *Reflect
func (*Reflect) CreateTagExecution ¶
func (r *Reflect) CreateTagExecution(tag string, options *TestExecutionOptions) (*CreateTagExecutionOutput, error)
func (*Reflect) ExecuteSuite ¶
func (r *Reflect) ExecuteSuite(id string, options *ExecuteSuiteOptions) (*ExecuteSuiteOutput, error)
func (*Reflect) ListSuites ¶
func (r *Reflect) ListSuites() (*ListSuiteOutput, error)
type SuiteCookieOverride ¶
type SuiteCookieOverride struct { Name string `mapstructure:"name" json:"name"` Value string `mapstructure:"value" json:"value"` Domain string `mapstructure:"domain" json:"domain"` Expires int32 `mapstructure:"expires" json:"expires"` HTTPOnly bool `mapstructure:"httpOnly" json:"httpOnly"` MaxAge int32 `mapstructure:"maxAge" json:"maxAge"` Path string `mapstructure:"path" json:"path"` Secure bool `mapstructure:"secure" json:"secure"` }
type SuiteOverrides ¶
type SuiteOverrides struct {
Cookies []CookieOverride `mapstructure:"cookies" json:"cookies"`
}
type TestExecutionOptions ¶
type TestExecutionOptions struct {
Overrides *Overrides `json:"overrides"`
}
Click to show internal directories.
Click to hide internal directories.