Documentation ¶
Index ¶
- type HttpBind
- func (h *HttpBind) BasicAuth(username, password string) *HttpBind
- func (h *HttpBind) Delete(url string) (response HttpResponse)
- func (h *HttpBind) DigestAuth(username, password string) *HttpBind
- func (h *HttpBind) Download(uri string) (response HttpResponse)
- func (h *HttpBind) Get(url string) (response HttpResponse)
- func (h *HttpBind) Headers(headers []map[string]string) *HttpBind
- func (h *HttpBind) Post(url, data string) (response HttpResponse)
- func (h *HttpBind) Put(url, data string) (response HttpResponse)
- type HttpResponse
- type LogBind
- type Response
- type StorageBind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpBind ¶ added in v0.5.0
type HttpBind struct {
// contains filtered or unexported fields
}
HttpBind ...
func NewHttpBind ¶ added in v0.9.0
func NewHttpBind() *HttpBind
func (*HttpBind) Delete ¶ added in v0.9.4
func (h *HttpBind) Delete(url string) (response HttpResponse)
Delete ...
func (*HttpBind) DigestAuth ¶ added in v0.12.0
func (*HttpBind) Download ¶ added in v0.12.0
func (h *HttpBind) Download(uri string) (response HttpResponse)
func (*HttpBind) Get ¶ added in v0.5.0
func (h *HttpBind) Get(url string) (response HttpResponse)
Get ...
func (*HttpBind) Post ¶ added in v0.5.0
func (h *HttpBind) Post(url, data string) (response HttpResponse)
Post ...
func (*HttpBind) Put ¶ added in v0.9.4
func (h *HttpBind) Put(url, data string) (response HttpResponse)
Put ...
type HttpResponse ¶ added in v0.5.0
type HttpResponse struct { Body string `json:"body"` Error bool `json:"error"` ErrorMessage string `json:"errorMessage"` }
HttpResponse ...
type Response ¶
Response ...
func ExecuteSync ¶
ExecuteSync "sh", "-c", "echo stdout; echo 1>&2 stderr"
type StorageBind ¶ added in v0.4.0
type StorageBind struct {
// contains filtered or unexported fields
}
StorageBind ...
func NewStorageBind ¶ added in v0.4.0
func NewStorageBind( storage *storage.Storage) *StorageBind
NewStorageBind ...
func (*StorageBind) GetByName ¶ added in v0.4.0
func (s *StorageBind) GetByName(name string) string
GetByName ...
Click to show internal directories.
Click to hide internal directories.