Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
type HTTPClient interface { Post(endpoint string, payload []byte) (*http.Response, error) Put(endpoint string, payload []byte) (*http.Response, error) Get(endpoint string) (*http.Response, error) Delete(endpoint string) (*http.Response, error) }
func NewHTTPClient ¶
func NewHTTPClient(client http.Client, logger boshlog.Logger) HTTPClient
Click to show internal directories.
Click to hide internal directories.