Documentation ¶
Overview ¶
Package manager is used for interacting with the cloudery.
Index ¶
- type APIClient
- func (c *APIClient) Delete(url string) error
- func (c *APIClient) Do(method, url string, body io.Reader) (*http.Response, error)
- func (c *APIClient) Get(url string) (map[string]interface{}, error)
- func (c *APIClient) Post(url string, body io.Reader) error
- func (c *APIClient) Put(url string, params map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient is an http client that can be used to query the API of the manager.
func NewAPIClient ¶
NewAPIClient builds a new client for the manager API
Click to show internal directories.
Click to hide internal directories.