All URIs are relative to http://127.0.0.1:4646/v1
Method | HTTP request | Description |
---|---|---|
delete_operator_raft_peer | DELETE /operator/raft/peer | |
get_operator_autopilot_configuration | GET /operator/autopilot/configuration | |
get_operator_autopilot_health | GET /operator/autopilot/health | |
get_operator_raft_configuration | GET /operator/raft/configuration | |
get_operator_scheduler_configuration | GET /operator/scheduler/configuration | |
post_operator_scheduler_configuration | POST /operator/scheduler/configuration | |
put_operator_autopilot_configuration | PUT /operator/autopilot/configuration |
delete_operator_raft_peer(region, namespace, x_nomad_token, idempotency_token)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | Option<String> | Filters results based on the specified region. | ||
namespace | Option<String> | Filters results based on the specified namespace. | ||
x_nomad_token | Option<String> | A Nomad ACL token. | ||
idempotency_token | Option<String> | Can be used to ensure operations are only run once. |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::AutopilotConfiguration get_operator_autopilot_configuration(region, namespace, index, wait, stale, prefix, x_nomad_token, per_page, next_token)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | Option<String> | Filters results based on the specified region. | ||
namespace | Option<String> | Filters results based on the specified namespace. | ||
index | Option<i32> | If set, wait until query exceeds given index. Must be provided with WaitParam. | ||
wait | Option<String> | Provided with IndexParam to wait for change. | ||
stale | Option<String> | If present, results will include stale reads. | ||
prefix | Option<String> | Constrains results to jobs that start with the defined prefix | ||
x_nomad_token | Option<String> | A Nomad ACL token. | ||
per_page | Option<i32> | Maximum number of results to return. | ||
next_token | Option<String> | Indicates where to start paging for queries that support pagination. |
crate::models::AutopilotConfiguration
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::OperatorHealthReply get_operator_autopilot_health(region, namespace, index, wait, stale, prefix, x_nomad_token, per_page, next_token)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | Option<String> | Filters results based on the specified region. | ||
namespace | Option<String> | Filters results based on the specified namespace. | ||
index | Option<i32> | If set, wait until query exceeds given index. Must be provided with WaitParam. | ||
wait | Option<String> | Provided with IndexParam to wait for change. | ||
stale | Option<String> | If present, results will include stale reads. | ||
prefix | Option<String> | Constrains results to jobs that start with the defined prefix | ||
x_nomad_token | Option<String> | A Nomad ACL token. | ||
per_page | Option<i32> | Maximum number of results to return. | ||
next_token | Option<String> | Indicates where to start paging for queries that support pagination. |
crate::models::OperatorHealthReply
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::RaftConfiguration get_operator_raft_configuration(region, namespace, index, wait, stale, prefix, x_nomad_token, per_page, next_token)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | Option<String> | Filters results based on the specified region. | ||
namespace | Option<String> | Filters results based on the specified namespace. | ||
index | Option<i32> | If set, wait until query exceeds given index. Must be provided with WaitParam. | ||
wait | Option<String> | Provided with IndexParam to wait for change. | ||
stale | Option<String> | If present, results will include stale reads. | ||
prefix | Option<String> | Constrains results to jobs that start with the defined prefix | ||
x_nomad_token | Option<String> | A Nomad ACL token. | ||
per_page | Option<i32> | Maximum number of results to return. | ||
next_token | Option<String> | Indicates where to start paging for queries that support pagination. |
crate::models::RaftConfiguration
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SchedulerConfigurationResponse get_operator_scheduler_configuration(region, namespace, index, wait, stale, prefix, x_nomad_token, per_page, next_token)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | Option<String> | Filters results based on the specified region. | ||
namespace | Option<String> | Filters results based on the specified namespace. | ||
index | Option<i32> | If set, wait until query exceeds given index. Must be provided with WaitParam. | ||
wait | Option<String> | Provided with IndexParam to wait for change. | ||
stale | Option<String> | If present, results will include stale reads. | ||
prefix | Option<String> | Constrains results to jobs that start with the defined prefix | ||
x_nomad_token | Option<String> | A Nomad ACL token. | ||
per_page | Option<i32> | Maximum number of results to return. | ||
next_token | Option<String> | Indicates where to start paging for queries that support pagination. |
crate::models::SchedulerConfigurationResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SchedulerSetConfigurationResponse post_operator_scheduler_configuration(scheduler_configuration, region, namespace, x_nomad_token, idempotency_token)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
scheduler_configuration | SchedulerConfiguration | [required] | ||
region | Option<String> | Filters results based on the specified region. | ||
namespace | Option<String> | Filters results based on the specified namespace. | ||
x_nomad_token | Option<String> | A Nomad ACL token. | ||
idempotency_token | Option<String> | Can be used to ensure operations are only run once. |
crate::models::SchedulerSetConfigurationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool put_operator_autopilot_configuration(autopilot_configuration, region, namespace, x_nomad_token, idempotency_token)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
autopilot_configuration | AutopilotConfiguration | [required] | ||
region | Option<String> | Filters results based on the specified region. | ||
namespace | Option<String> | Filters results based on the specified namespace. | ||
x_nomad_token | Option<String> | A Nomad ACL token. | ||
idempotency_token | Option<String> | Can be used to ensure operations are only run once. |
bool
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]