Versions in this module Expand all Collapse all v1 v1.202605.0 Jan 27, 2026 Changes in this version + const APIVersion + const DefaultHTTPTimeout + var DefaultUserAgent = fmt.Sprintf("Deis Go SDK V%s", APIVersion) + var ErrAPIMismatch = errors.New("API Version Mismatch between server and deis") + var ErrCancellationFailed = errors.New(...) + var ErrConflict = errors.New("This action could not be completed due to a conflict.") + var ErrDuplicateApp = errors.New(duplicateIDMsg) + var ErrDuplicateDomain = errors.New(duplicateDomainMsg) + var ErrDuplicateKey = errors.New(duplicateKeyMsg) + var ErrDuplicateUsername = errors.New(duplicateUserMsg) + var ErrForbidden = errors.New("You do not have permission to perform this action.") + var ErrInvalidAppName = errors.New(invalidAppNameMsg) + var ErrInvalidCertificate = errors.New(invalidCertMsg) + var ErrInvalidDomain = errors.New(invalidDomainMsg) + var ErrInvalidEmail = errors.New(invalidEmailMsg) + var ErrInvalidImage = errors.New("The given image is invalid") + var ErrInvalidName = errors.New(fmt.Sprintf("Name %s", strings.ToLower(invalidNameMsg))) + var ErrInvalidUsername = errors.New(invalidUserMsg) + var ErrInvalidVersion = errors.New("The given version is invalid") + var ErrLogin = errors.New(failedLoginMsg) + var ErrMethodNotAllowed = errors.New("Method Not Allowed") + var ErrMissingID = errors.New("An id is required") + var ErrMissingKey = errors.New("A key is required") + var ErrMissingPassword = errors.New("A Password is required") + var ErrPodNotFound = errors.New("Pod not found in application") + var ErrServerError = errors.New("Internal Server Error") + var ErrTagNotFound = errors.New(invalidTagMsg) + var ErrUnauthorized = errors.New("Unauthorized: Missing or Invalid Token") + func IsErrAPIMismatch(err error) bool + type Client struct + ControllerAPIVersion string + ControllerURL *url.URL + ControllerVersion string + HTTPClient *http.Client + HooksToken string + Token string + UserAgent string + VerifySSL bool + func New(verifySSL bool, controllerURL string, token string) (*Client, error) + func (c *Client) CheckConnection() error + func (c *Client) Healthcheck() error + func (c *Client) LimitedRequest(path string, results int) (string, int, error) + func (c *Client) Request(method string, path string, body []byte) (*http.Response, error) + type ErrNotFound struct + func (e ErrNotFound) Error() string + type ErrUnprocessable struct + func (e ErrUnprocessable) Error() string