Apps¶
Generated from the gateway schema. Do not edit.
Queries¶
allApps¶
query { allApps: AppListResult! }
Requires: an authenticated member of the tenant
Returns: AppListResult!
app¶
query { app(clusterId: ID, name: String!, namespace: String): App }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
clusterId |
ID |
Optional. Leave it out: the platform uses the cluster of your region. |
name |
String! |
|
namespace |
String |
Returns: App
appLogs¶
query { appLogs(clusterId: ID, name: String!, namespace: String, pod: String, container: String, tailLines: Int, sinceSeconds: Int, previous: Boolean): AppLogs! }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
clusterId |
ID |
Optional. Leave it out: the platform uses the cluster of your region. |
name |
String! |
|
namespace |
String |
|
pod |
String |
|
container |
String |
|
tailLines |
Int |
|
sinceSeconds |
Int |
|
previous |
Boolean |
Returns: AppLogs!
apps¶
query { apps(clusterId: ID, namespace: String): AppListResult! }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
clusterId |
ID |
Optional. Leave it out: the platform uses the cluster of your region. |
namespace |
String |
Returns: AppListResult!
deploymentByCluster¶
query { deploymentByCluster(clusterId: ID, name: String!, namespace: String): Deployment }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
clusterId |
ID |
Optional. Leave it out: the platform uses the cluster of your region. |
name |
String! |
|
namespace |
String |
Returns: Deployment
deploymentsByCluster¶
query { deploymentsByCluster(clusterId: ID, namespace: String): DeploymentListResult! }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
clusterId |
ID |
Optional. Leave it out: the platform uses the cluster of your region. |
namespace |
String |
Returns: DeploymentListResult!
Mutations¶
createApp¶
mutation { createApp(clusterId: ID, input: AppInput!): App! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
clusterId |
ID |
Optional. Leave it out: the platform uses the cluster of your region. |
input |
AppInput! |
Returns: App!
deleteApp¶
mutation { deleteApp(clusterId: ID, name: String!, namespace: String): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
clusterId |
ID |
Optional. Leave it out: the platform uses the cluster of your region. |
name |
String! |
|
namespace |
String |
Optional. Leave it out: the platform uses your tenant's own namespace. |
Returns: Boolean!
updateApp¶
mutation { updateApp(clusterId: ID, input: AppInput!): App! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
clusterId |
ID |
Optional. Leave it out: the platform uses the cluster of your region. |
input |
AppInput! |
Returns: App!