Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyProvider ¶
type EmptyProvider struct{}
EmptyProvider is empty provider. It is used if all supported providers if not defined.
func (EmptyProvider) IsEmpty ¶
func (ep EmptyProvider) IsEmpty() bool
IsEmpty returns true if a structure is empty.
func (EmptyProvider) Pump ¶
func (ep EmptyProvider) Pump(name string) func()
Pump generate an job with empty function.
type File ¶
type File struct {
Path string `yaml:"path"`
}
File define available fields for file source.
type Http ¶
type Http struct { Endpoint string `yaml:"endpoint"` Method string `yaml:"method"` Auth Auth `yaml:"auth"` Header http.Header `yaml:"header"` Body string `yaml:"body"` }
Http define available fields for http source.
Click to show internal directories.
Click to hide internal directories.