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 |
|---|---|
|
Package bandwidth represents the SiteHost `/bandwidth` API endpoint.
|
Package bandwidth represents the SiteHost `/bandwidth` API endpoint. |
|
cloud
|
|
|
db
Package db provides access to the `/cloud/db` API endpoint.
|
Package db provides access to the `/cloud/db` API endpoint. |
|
db/grant
Package grant is used for interacting with the SiteHost `/cloud/db/grant` API endpoint.
|
Package grant is used for interacting with the SiteHost `/cloud/db/grant` API endpoint. |
|
db/user
Package user represents the SiteHost `/cloud/db/user` API endpoint.
|
Package user represents the SiteHost `/cloud/db/user` API endpoint. |
|
image
Package image provides access to the `/cloud/image` API endpoint.
|
Package image provides access to the `/cloud/image` API endpoint. |
|
server
Package server provides access to the `/cloud/stack/server` API endpoint.
|
Package server provides access to the `/cloud/stack/server` API endpoint. |
|
ssh/user
Package user provides access to the `/cloud/ssh/user` API endpoint.
|
Package user provides access to the `/cloud/ssh/user` 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. |
|
stack/image
Package image provides access to the `/cloud/stack/image` API endpoint.
|
Package image provides access to the `/cloud/stack/image` 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.