Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPProvider ¶
type HTTPProvider struct {
// contains filtered or unexported fields
}
HTTPProvider
func NewHTTPProvider ¶
NewHTTPProvider
func (*HTTPProvider) Unmarshal ¶
func (h *HTTPProvider) Unmarshal(rawData []map[string]interface{}) error
Unmarshal
type TypeProvider ¶
type TypeProvider interface { // Unmarshal is a parse Unmarshal([]map[string]interface{}) error // Send Send() error // Validate validation.Validatable }
TypeProvider
func Factory ¶
func Factory( webhook *webhook.WebHook, lgr *logrus.Entry, scenarioNumber int, ) (TypeProvider, error)
Factory represents a pattern factory to select right provider by web hook type parameter which can be included to a description for a scenario file by example file examples/rest/create-user.yaml include the section webhook with all fields
Click to show internal directories.
Click to hide internal directories.