All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
FleetCreate | Post /v1/fleet | Create a Fleet |
FleetDelete | Delete /v1/fleet/{fleet_name} | Delete a Fleet |
FleetGet | Get /v1/fleet/{fleet_name} | Get a Fleet |
FleetLinkAppVersion | Put /v1/fleet/{fleet_name}/app/{app_name}/version/{version_name} | Link an Application Version to a Fleet |
FleetPoliciesCreate | Post /v1/fleet/{fleet_name}/policies | Create a Fleet Policy |
FleetPoliciesDelete | Delete /v1/fleet/{fleet_name}/policies/{policy_name} | Delete a Policy |
FleetPoliciesGet | Get /v1/fleet/{fleet_name}/policies/{policy_name} | Get a Policy |
FleetPoliciesList | Get /v1/fleet/{fleet_name}/policies | List All Policies of a Fleet |
FleetPoliciesUpdate | Patch /v1/fleet/{fleet_name}/policies/{policy_name} | Update a Policy |
FleetUnlinkAppVersion | Delete /v1/fleet/{fleet_name}/app/{app_name}/version/{version_name} | Unlink an Application Version From a Fleet |
FleetUpdate | Patch /v1/fleet/{fleet_name} | Update a Fleet |
Fleets | Get /v1/fleets | List All Fleets |
FleetPostResponse FleetCreate(ctx, payload) Create a Fleet
Create a fleet. A fleet is a top-level object; you must create child resources to work properly.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
payload | FleetPostPayload |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FleetDeleteResponse FleetDelete(ctx, fleetName) Delete a Fleet
Delete a fleet, its policies and links between the application versions.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FleetGetResponse FleetGet(ctx, fleetName) Get a Fleet
Retrieve a fleet with its details.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HorizontalScalerAppVersionLink FleetLinkAppVersion(ctx, fleetName, appName, versionName) Link an Application Version to a Fleet
Link an application version to a fleet. By linking this version, the fleet will automatically create deployments of this version according to the fleet policies.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet | |
appName | string | The name of the application to link | |
versionName | string | The name of the application version to link |
HorizontalScalerAppVersionLink
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FleetPoliciesPostResponse FleetPoliciesCreate(ctx, fleetName, payload) Create a Fleet Policy
Create a fleet policy. Policies are conditions that the fleet must respect.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet | |
payload | FleetPoliciesPostPayload |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FleetPoliciesDelete(ctx, fleetName, policyName) Delete a Policy
Delete a policy. It will not delete the fleet.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet | |
policyName | string | The name of the policy to delete |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FleetPoliciesGetResponse FleetPoliciesGet(ctx, fleetName, policyName) Get a Policy
Retrieve a specific policy of a fleet.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet | |
policyName | string | The name of the policy |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HorizontalScalerConstraintList FleetPoliciesList(ctx, fleetName, optional) List All Policies of a Fleet
List all the policies of a fleet.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet | |
optional | *FleetsApiFleetPoliciesListOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a FleetsApiFleetPoliciesListOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Page number for pagination | [default to 1] limit | optional.Int32| Limit of Fleet for each page | [default to 10] xFields | optional.String| An optional fields mask |
HorizontalScalerConstraintList
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FleetPoliciesPatchPayload FleetPoliciesUpdate(ctx, fleetName, policyName, payload) Update a Policy
Update a policy with new specifications.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet | |
policyName | string | The name of the policy | |
payload | FleetPoliciesPatchPayload |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FleetUnlinkAppVersion(ctx, fleetName, appName, versionName) Unlink an Application Version From a Fleet
Unlink an application version from a fleet. It will not delete the application version or the fleet
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet | |
appName | string | The name of the application to link | |
versionName | string | The name of the application version to link |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FleetPatchResponse FleetUpdate(ctx, fleetName, payload) Update a Fleet
Update a fleet with new specifications.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
fleetName | string | The name of the fleet | |
payload | FleetPatchPayload |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FleetList Fleets(ctx, optional) List All Fleets
List all the fleets you own.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *FleetsApiFleetsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a FleetsApiFleetsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
page | optional.Int32 | Page number for pagination | [default to 1] |
limit | optional.Int32 | Limit of Fleet for each page | [default to 10] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]