Versions in this module Expand all Collapse all v0 v0.6.0 Jan 22, 2017 Changes in this version + func GetLoginedRegion() (result []regions.Region, err error) v0.5.5 Jan 2, 2017 Changes in this version + type LogPrinter func(*Log) error v0.5.4 Dec 4, 2016 v0.5.3 Nov 30, 2016 Changes in this version type GetAppInfoResult + HookKey string v0.5.2 Nov 25, 2016 v0.5.1 Nov 23, 2016 v0.5.0 Nov 21, 2016 Changes in this version + func PutEnvironments(appID string, envs map[string]string) error + type GetEngineInfoResult struct + AppID string + Environments map[string]string + InstanceLimit int + Mode string + Version string + func GetEngineInfo(appID string) (*GetEngineInfoResult, error) v0.4.1 Nov 3, 2016 v0.4.0 Oct 31, 2016 Changes in this version + type ExecuteCQLResult struct + ClassName string + Count int + Results []map[string]interface{} + func ExecuteCQL(appID string, masterKey string, region regions.Region, cql string) (*ExecuteCQLResult, error) type GetUserInfoResult + func LoginTABRegion(token string) (*GetUserInfoResult, error) v0.3.0 Sep 27, 2016 Changes in this version + func NewErrorFromResponse(resp *grequests.Response) error + func PrintLogs(writer io.Writer, appID string, masterKey string, follow bool, isProd bool, ...) error + type ExecuteCacheCommandResult struct + Result interface{} + func ExecuteCacheCommand(appID string, instance string, db int, command string) (*ExecuteCacheCommandResult, error) + type GetCacheListResult struct + Info struct{ ... } + Instance string + InstanceID string + MaxMemory int + func GetCacheList(appID string) ([]*GetCacheListResult, error) + type Log struct + Content string + GroupName string + Instance string + InstanceName string + Level string + OID string + Production int + Time string + Type string v0.2.1 Sep 8, 2016 v0.2.0 Aug 23, 2016 Changes in this version + var ErrNotLogined = errors.New("not logined") + func DeleteFile(appID string, objectID string) error + func DeployAppFromFile(appID string, projectPath string, groupName string, fileURL string) (string, error) + func DeployAppFromGit(appID string, projectPath string, groupName string) (string, error) + func DeployImage(appID string, groupName string, imageTag string) (string, error) + func GetAppRegion(appID string) (regions.Region, error) + func LoginUSRegion() error + func NewErrorFromBody(body string) error + func PollEvents(appID string, tok string, writer io.Writer) (bool, error) + type Client struct + CookieJar *cookiejar.Jar + Region regions.Region + func NewClient(region regions.Region) *Client + type Error struct + Code int + Content string + ErrorEventID string + func (err Error) Error() string + type GetAppInfoResult struct + AppDomain string + AppID string + AppKey string + AppName string + LeanEngineMode string + MasterKey string + func GetAppInfo(appID string) (*GetAppInfoResult, error) + type GetAppListResult struct + AppDomain string + AppID string + AppKey string + AppName string + MasterKey string + func GetAppList(region regions.Region) ([]*GetAppListResult, error) + type GetGroupsResult struct + CurrentImage struct{ ... } + GroupName string + Instances []struct{ ... } + Prod int + func GetGroups(appID string) ([]*GetGroupsResult, error) + type GetUserInfoResult struct + Email string + UserName string + func GetUserInfo() (*GetUserInfoResult, error) + func Login(email string, password string) (*GetUserInfoResult, error) + type UploadFileResult struct + ObjectID string + URL string + func UploadFile(appID string, filePath string) (*UploadFileResult, error)