All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
PlatformAdd | Post /1.0/platforms | |
PlatformDelete | Delete /1.0/platforms/{platform} | |
PlatformInfo | Get /1.6/platforms/{platform} | |
PlatformList | Get /1.0/platforms | |
PlatformRollback | Post /1.6/platforms/{platform}/rollback | |
PlatformUpdate | Put /1.0/platforms/{platform} |
PlatformAdd(ctx, name, dockerfileContent)
Add new platform.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | ||
dockerfileContent | os.Fileos.File |
(empty response body)
- Content-Type: multipart/form-data
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlatformDelete(ctx, platform)
Delete platform.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
platform | string | Platform name. |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlatformInfo PlatformInfo(ctx, platform)
Platform info.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
platform | string | Platform info. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Platform PlatformList(ctx, )
List platforms.
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlatformRollback(ctx, platform, image)
Platform rollback.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
platform | string | Platform name. | |
image | string |
(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]
PlatformUpdate(ctx, platform, dockerfileContent)
Update platform.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
platform | string | Platform name. | |
dockerfileContent | os.Fileos.File |
(empty response body)
- Content-Type: multipart/form-data
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]