Documentation ¶
Index ¶
- func GetDynoState(appName string, dynoName string) (string, error)
- func ParseItem(item interface{}) string
- func RestartDyno(appName string, dynoName string) error
- func StreamLogs(appName string, logsBuffer chan string, signal chan bool) error
- func UpdateFormationQuantity(appName string, formationType string, quantity int) (string, error)
- func UpdateFormationSize(appName string, formationType string, size string) (string, error)
- type Addon
- type App
- type Dyno
- type Formation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestartDyno ¶
func UpdateFormationQuantity ¶
Types ¶
type Addon ¶
type Addon struct { ID string `json:"id"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` ConfigVars []interface{} `json:"config_vars"` Name string `json:"name"` ProviderID string `json:"provider_id"` State string `json:"state"` WebURL string `json:"web_url"` Actions []struct { ID string `json:"id"` Label string `json:"label"` Action string `json:"action"` URL string `json:"url"` RequiresOwner bool `json:"requires_owner"` } `json:"actions"` AddonService struct { ID string `json:"id"` Name string `json:"name"` } `json:"addon_service"` BillingEntity struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` } `json:"billing_entity"` App struct { ID string `json:"id"` Name string `json:"name"` } `json:"app"` BilledPrice struct { Cents float64 `json:"cents"` Contract bool `json:"contract"` Unit string `json:"unit"` } `json:"billed_price"` Plan struct { ID string `json:"id"` Name string `json:"name"` } `json:"plan"` }
func GetAddonInfo ¶
type App ¶
type App struct { Acm bool `json:"acm"` ArchivedAt string `json:"archived_at"` BuildpackProvidedDescription string `json:"buildpack_provided_description"` BuildStack struct { ID string `json:"id"` Name string `json:"name"` } `json:"build_stack"` CreatedAt string `json:"created_at"` GitURL string `json:"git_url"` ID string `json:"id"` InternalRouting bool `json:"internal_routing"` Maintenance bool `json:"maintenance"` Name string `json:"name"` Owner struct { Email string `json:"email"` ID string `json:"id"` } `json:"owner"` Organization struct { ID string `json:"id"` Name string `json:"name"` } `json:"organization"` Team struct { ID string `json:"id"` Name string `json:"name"` } `json:"team"` Region struct { ID string `json:"id"` Name string `json:"name"` } `json:"region"` ReleasedAt string `json:"released_at"` RepoSize int `json:"repo_size"` SlugSize int `json:"slug_size"` Space struct { ID string `json:"id"` Name string `json:"name"` Shield bool `json:"shield"` } `json:"space"` Stack struct { ID string `json:"id"` Name string `json:"name"` } `json:"stack"` UpdatedAt string `json:"updated_at"` WebURL string `json:"web_url"` }
func GetAppInfo ¶
type Dyno ¶
type Dyno struct { Id string `json:"id"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updatedAt"` Command string `json:"command"` Name string `json:"name"` Size string `json:"size"` State string `json:"state"` Type string `json:"type"` }
func GetAppDynos ¶
type Formation ¶
type Formation struct { Id string `json:"id"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updatedAt"` Command string `json:"command"` Size string `json:"size"` Quantity float64 `json:"quantity"` Type string `json:"type"` App struct { Name string `json:"name"` Id string `json:"id"` } `json:"app"` }
func GetAppFormation ¶
Click to show internal directories.
Click to hide internal directories.