Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPRequestHandler ¶
type HTTPRequestHandler interface {
HTTPRequest(ctx context.Context, dryrun bool, p *HTTPRequestParams) 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) HTTPRequest ¶
func (f HTTPRequestHandlerFunc) HTTPRequest(ctx context.Context, dryrun bool, p *HTTPRequestParams) error
type HTTPRequestParams ¶
func (*HTTPRequestParams) String ¶
func (p *HTTPRequestParams) String() string
Click to show internal directories.
Click to hide internal directories.