package
0.0.0-20141201150311-74d02862e11d
Repository: https://github.com/fern4lvarez/gocclib.git
Documentation: pkg.go.dev
# Functions
NewAPI creates a default new API instance.
NewAPIToken creates an API instance from a token.
NewCustomAPI create a new API instance with custom values.
New request creates a new api request having:
* User email
* User password
* User token
Returns a new request pointer.
NewToken returns a pointer to a Token given a string token and a expiring time.
Version of the library.
# Structs
Add contains the information about an add-on.
AddonOption contains information about an add-on option.
Alias contains information about a deployment alias.
An API is the entity that make calls and manage the cloudControl programming interface.
Application contains information about an application.
ApplicationType contains the type of the application:.
BilledAddon contains information about the billing of an add-on.
BillingAccount contains information about a billing account.
Boxes contains information about the billing of a deployment.
Cronjob contains information about a cronjob.
Deployment contains information about a deployment.
Key contains the information about a user public key.
Log contains the information about a log entry.
Owner contains information about an application owner.
Request contains the API request basic information.
Stack contains information about the stack version.
SupportPlan contains information about a support plan.
Token is the generated security and temporal token which contains the Key and the date when it Expires.
User contains information about an application user.
Worker contains information about a worker.
# Interfaces
Api is an interface than defines basic HTTP methods for a REST API compatible with the cloudControl platform.
# Type aliases
Setting contains the settings or options to create or update some of the add-on.