Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPRequestHandler ¶
type HTTPRequestHandler interface {
Run(ctx context.Context, dryrun bool, p *HTTPRequestParams) (err error)
}
func NewHTTPRequest ¶
func NewHTTPRequest(client *http.Client, fs afero.Fs) HTTPRequestHandler
type HTTPRequestHandlerFunc ¶
type HTTPRequestHandlerFunc func(ctx context.Context, dryrun bool, p *HTTPRequestParams) error
func (HTTPRequestHandlerFunc) Run ¶ added in v0.0.20
func (f HTTPRequestHandlerFunc) Run(ctx context.Context, dryrun bool, p *HTTPRequestParams) error
type HTTPRequestParams ¶
Click to show internal directories.
Click to hide internal directories.