All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
AppCnameAdd | Post /1.0/apps/{app}/cname | |
AppCnameDelete | Delete /1.0/apps/{app}/cname | |
AppCreate | Post /1.0/apps | |
AppDelete | Delete /1.0/apps/{app} | |
AppDeploy | Post /1.0/apps/{app}/deploy | |
AppGet | Get /1.0/apps/{app} | |
AppList | Get /1.0/apps | |
AppQuotaChange | Put /1.0/apps/{app}/quota | |
AppQuotaGet | Get /1.0/apps/{app}/quota | |
AppRestart | Post /1.0/apps/{app}/restart | |
AppRouterAdd | Post /1.5/apps/{app}/routers | |
AppRouterDelete | Delete /1.5/apps/{app}/routers/{router} | |
AppRouterList | Get /1.5/apps/{app}/routers | |
AppRouterUpdate | Put /1.5/apps/{app}/routers/{router} | |
AppSetRoutable | Post /1.8/apps/{app}/routable | |
AppStart | Post /1.0/apps/{app}/start | |
AppStop | Post /1.0/apps/{app}/stop | |
AppTeamGrant | Put /1.0/apps/{app}/teams/{team} | |
AppTeamRevoke | Delete /1.0/apps/{app}/teams/{team} | |
AppUpdate | Put /1.0/apps/{app} | |
AutoScaleAdd | Post /1.9/apps/{app}/units/autoscale | |
AutoScaleInfo | Get /1.9/apps/{app}/units/autoscale | |
AutoScaleRemove | Delete /1.9/apps/{app}/units/autoscale | |
CertificatUnset | Delete /1.0/apps/{app}/certificate | |
CertificateSet | Put /1.0/apps/{app}/certificate | |
EnvGet | Get /1.0/apps/{app}/env | |
EnvSet | Post /1.0/apps/{app}/env | |
EnvUnset | Delete /1.0/apps/{app}/env | |
UnitsAdd | Put /1.0/apps/{app}/units | |
UnitsRemove | Delete /1.0/apps/{app}/units |
AppCnameAdd(ctx, app, appCName)
adds a cname to app
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
appCName | AppCName |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppCnameDelete(ctx, app, appCName)
remove cname from app
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
appCName | AppCName |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppCreateResponse AppCreate(ctx, inputApp)
Create a new app.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
inputApp | InputApp |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppDelete(ctx, app)
Delete a tsuru app.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. |
(empty response body)
- Content-Type: Not defined
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppDeploy(ctx, app, appDeployOptions)
deploy a app
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
appDeployOptions | AppDeployOptions |
(empty response body)
- Content-Type: application/json
- Accept: text
[Back to top] [Back to API list] [Back to Model list] [Back to README]
App AppGet(ctx, app)
Get info about a tsuru app.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]MiniApp AppList(ctx, optional)
List apps.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *AppListOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AppListOpts struct
Name | Type | Description | Notes |
---|---|---|---|
locked | optional.Bool | Filter applications by lock status. | |
name | optional.String | Filter applications by name. | |
owner | optional.String | Filter applications by owner. | |
platform | optional.String | Filter applications by platform. | |
pool | optional.String | Filter applications by pool. | |
status | optional.String | Filter applications by unit status. | |
tag | optional.Interface of []string | Filter applications by tag. | |
teamOwner | optional.String | Filter applications by team owner. | |
simplified | optional.Bool | Returns applications without units list. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppQuotaChange(ctx, app, limit)
Changes the maximum limit of units allowed for use.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
limit | float32 | Number of units allowed for use by the current app. Negative number indicates unlimited. |
(empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Quota AppQuotaGet(ctx, app)
Shows app usage info and its quota limit.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppRestart(ctx, app, appStartStop)
Restart App.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
appStartStop | AppStartStop |
(empty response body)
- Content-Type: application/json
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppRouterAdd(ctx, app, appRouter)
adds a router to app
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
appRouter | AppRouter |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppRouterDelete(ctx, app, router)
Delete a tsuru app.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
router | string | Router name |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]AppRouter AppRouterList(ctx, app)
list routers from an app
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppRouterUpdate(ctx, app, router, appRouter)
update a router
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
router | string | Router name | |
appRouter | AppRouter |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppSetRoutable(ctx, app, setRoutableArgs)
Sets a version as routable.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
setRoutableArgs | SetRoutableArgs |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppStart(ctx, app, appStartStop)
Start App.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
appStartStop | AppStartStop |
(empty response body)
- Content-Type: application/json
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppStop(ctx, app, appStartStop)
Stop App.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
appStartStop | AppStartStop |
(empty response body)
- Content-Type: application/json
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppTeamGrant(ctx, app, team)
grant access to a team
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
team | string | Team name |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppTeamRevoke(ctx, app, team)
grant access to a team
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
team | string | Team name |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppUpdate(ctx, app, updateApp)
Update a tsuru app.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
updateApp | UpdateApp |
(empty response body)
- Content-Type: application/json
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AutoScaleAdd(ctx, app, autoScaleSpec)
Add new unit autoscale spec.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
autoScaleSpec | AutoScaleSpec |
(empty response body)
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]AutoScaleSpec AutoScaleInfo(ctx, app)
List autoscales for app.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AutoScaleRemove(ctx, app, process)
Remove unit autoscale spec.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
process | string |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificatUnset(ctx, app)
Unset app certificate.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CertificateSet(ctx, app, certificateSetData)
Create a certificate
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
certificateSetData | CertificateSetData |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]EnvVar EnvGet(ctx, app, optional)
Get app environment variables.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
optional | *EnvGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a EnvGetOpts struct
Name | Type | Description | Notes |
---|
env | optional.String| Environment variable name. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EnvSet(ctx, app, envSetData)
Set new environment variable.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
envSetData | EnvSetData | Environment variables. |
(empty response body)
- Content-Type: application/json
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EnvUnset(ctx, app, env, norestart)
Unset app environment variables.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
env | []string | ||
norestart | bool |
(empty response body)
- Content-Type: Not defined
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UnitsAdd(ctx, app, unitsDelta)
Add units to app
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
unitsDelta | UnitsDelta | number of units to add |
(empty response body)
- Content-Type: application/json
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UnitsRemove(ctx, app, unitsDelta)
Remove units from app
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
app | string | App name. | |
unitsDelta | UnitsDelta | number of units to remove |
(empty response body)
- Content-Type: application/json
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]