Documentation
¶
Overview ¶
Package api provides the functions to work with SiteHost API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
models.ClientBase
// contains filtered or unexported fields
}
Client is a wrapper around the http client to manages communication with SiteHost API.
Directories
¶
| Path | Synopsis |
|---|---|
|
cloud
|
|
|
server
Package server provides access to the `/cloud/stack/server` API endpoint.
|
Package server provides access to the `/cloud/stack/server` API endpoint. |
|
stack
Package stack represents a cloud stack operations under the `/cloud/stack` API endpoint.
|
Package stack represents a cloud stack operations under the `/cloud/stack` API endpoint. |
|
stack/environment
Package environment represents a cloud stack environment operations under the `/cloud/stack/environment` API endpoint.
|
Package environment represents a cloud stack environment operations under the `/cloud/stack/environment` API endpoint. |
|
Package dns represents our SiteHost `/dns` API endpoint.
|
Package dns represents our SiteHost `/dns` API endpoint. |
|
Package info represents our SiteHost `/api` API endpoint.
|
Package info represents our SiteHost `/api` API endpoint. |
|
Package job represents our SiteHost `/job` endpoint
|
Package job represents our SiteHost `/job` endpoint |
|
Package server represents our SiteHost `/server` API endpoint.
|
Package server represents our SiteHost `/server` API endpoint. |
|
ssh
|
|
|
key
Package key represents our SiteHost `/ssh/key` API endpoint.
|
Package key represents our SiteHost `/ssh/key` API endpoint. |
Click to show internal directories.
Click to hide internal directories.