Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Commit 73a3f0e

Browse files
NeutrollizedDerekStricklandjonasvinther
authored
Operator api (#85)
* Operator api (#85) * Status api (#76) Co-authored-by: Derek Strickland <[email protected]> Co-authored-by: Jonas Vinther <[email protected]> Co-authored-by: Derek Strickland <[email protected]>
1 parent efc7e82 commit 73a3f0e

File tree

235 files changed

+33131
-580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+33131
-580
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
.vscode
23
# Binaries for programs and plugins
34
*.exe
45
*.exe~
@@ -17,4 +18,3 @@
1718

1819
generator/bin
1920
generator/*.yaml
20-

clients/go/v1/.openapi-generator/FILES

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ api_jobs.go
1010
api_metrics.go
1111
api_namespaces.go
1212
api_nodes.go
13+
api_operator.go
1314
api_plugins.go
1415
api_regions.go
1516
api_scaling.go
@@ -37,6 +38,7 @@ docs/AllocationListStub.md
3738
docs/AllocationMetric.md
3839
docs/AllocationsApi.md
3940
docs/Attribute.md
41+
docs/AutopilotConfiguration.md
4042
docs/CSIControllerInfo.md
4143
docs/CSIInfo.md
4244
docs/CSIMountOptions.md
@@ -158,6 +160,8 @@ docs/NodesApi.md
158160
docs/ObjectDiff.md
159161
docs/OneTimeToken.md
160162
docs/OneTimeTokenExchangeRequest.md
163+
docs/OperatorApi.md
164+
docs/OperatorHealthReply.md
161165
docs/ParameterizedJobConfig.md
162166
docs/PeriodicConfig.md
163167
docs/PeriodicForceResponse.md
@@ -166,8 +170,11 @@ docs/PluginsApi.md
166170
docs/PointValue.md
167171
docs/Port.md
168172
docs/PortMapping.md
173+
docs/PreemptionConfig.md
169174
docs/QuotaLimit.md
170175
docs/QuotaSpec.md
176+
docs/RaftConfiguration.md
177+
docs/RaftServer.md
171178
docs/RegionsApi.md
172179
docs/RequestedDevice.md
173180
docs/RescheduleEvent.md
@@ -181,9 +188,13 @@ docs/ScalingEvent.md
181188
docs/ScalingPolicy.md
182189
docs/ScalingPolicyListStub.md
183190
docs/ScalingRequest.md
191+
docs/SchedulerConfiguration.md
192+
docs/SchedulerConfigurationResponse.md
193+
docs/SchedulerSetConfigurationResponse.md
184194
docs/SearchApi.md
185195
docs/SearchRequest.md
186196
docs/SearchResponse.md
197+
docs/ServerHealth.md
187198
docs/Service.md
188199
docs/ServiceCheck.md
189200
docs/SidecarTask.md
@@ -225,6 +236,7 @@ model_allocation.go
225236
model_allocation_list_stub.go
226237
model_allocation_metric.go
227238
model_attribute.go
239+
model_autopilot_configuration.go
228240
model_check_restart.go
229241
model_constraint.go
230242
model_consul.go
@@ -339,15 +351,19 @@ model_node_update_eligibility_request.go
339351
model_object_diff.go
340352
model_one_time_token.go
341353
model_one_time_token_exchange_request.go
354+
model_operator_health_reply.go
342355
model_parameterized_job_config.go
343356
model_periodic_config.go
344357
model_periodic_force_response.go
345358
model_plan_annotations.go
346359
model_point_value.go
347360
model_port.go
348361
model_port_mapping.go
362+
model_preemption_config.go
349363
model_quota_limit.go
350364
model_quota_spec.go
365+
model_raft_configuration.go
366+
model_raft_server.go
351367
model_requested_device.go
352368
model_reschedule_event.go
353369
model_reschedule_policy.go
@@ -359,8 +375,12 @@ model_scaling_event.go
359375
model_scaling_policy.go
360376
model_scaling_policy_list_stub.go
361377
model_scaling_request.go
378+
model_scheduler_configuration.go
379+
model_scheduler_configuration_response.go
380+
model_scheduler_set_configuration_response.go
362381
model_search_request.go
363382
model_search_response.go
383+
model_server_health.go
364384
model_service.go
365385
model_service_check.go
366386
model_sidecar_task.go

clients/go/v1/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,13 @@ Class | Method | HTTP request | Description
140140
*NodesApi* | [**UpdateNodeDrain**](docs/NodesApi.md#updatenodedrain) | **Post** /node/{nodeId}/drain |
141141
*NodesApi* | [**UpdateNodeEligibility**](docs/NodesApi.md#updatenodeeligibility) | **Post** /node/{nodeId}/eligibility |
142142
*NodesApi* | [**UpdateNodePurge**](docs/NodesApi.md#updatenodepurge) | **Post** /node/{nodeId}/purge |
143+
*OperatorApi* | [**DeleteOperatorRaftPeer**](docs/OperatorApi.md#deleteoperatorraftpeer) | **Delete** /operator/raft/peer |
144+
*OperatorApi* | [**GetOperatorAutopilotConfiguration**](docs/OperatorApi.md#getoperatorautopilotconfiguration) | **Get** /operator/autopilot/configuration |
145+
*OperatorApi* | [**GetOperatorAutopilotHealth**](docs/OperatorApi.md#getoperatorautopilothealth) | **Get** /operator/autopilot/health |
146+
*OperatorApi* | [**GetOperatorRaftConfiguration**](docs/OperatorApi.md#getoperatorraftconfiguration) | **Get** /operator/raft/configuration |
147+
*OperatorApi* | [**GetOperatorSchedulerConfiguration**](docs/OperatorApi.md#getoperatorschedulerconfiguration) | **Get** /operator/scheduler/configuration |
148+
*OperatorApi* | [**PostOperatorSchedulerConfiguration**](docs/OperatorApi.md#postoperatorschedulerconfiguration) | **Post** /operator/scheduler/configuration |
149+
*OperatorApi* | [**PutOperatorAutopilotConfiguration**](docs/OperatorApi.md#putoperatorautopilotconfiguration) | **Put** /operator/autopilot/configuration |
143150
*PluginsApi* | [**GetPluginCSI**](docs/PluginsApi.md#getplugincsi) | **Get** /plugin/csi/{pluginID} |
144151
*PluginsApi* | [**GetPlugins**](docs/PluginsApi.md#getplugins) | **Get** /plugins |
145152
*RegionsApi* | [**GetRegions**](docs/RegionsApi.md#getregions) | **Get** /regions |
@@ -182,6 +189,7 @@ Class | Method | HTTP request | Description
182189
- [AllocationListStub](docs/AllocationListStub.md)
183190
- [AllocationMetric](docs/AllocationMetric.md)
184191
- [Attribute](docs/Attribute.md)
192+
- [AutopilotConfiguration](docs/AutopilotConfiguration.md)
185193
- [CSIControllerInfo](docs/CSIControllerInfo.md)
186194
- [CSIInfo](docs/CSIInfo.md)
187195
- [CSIMountOptions](docs/CSIMountOptions.md)
@@ -296,15 +304,19 @@ Class | Method | HTTP request | Description
296304
- [ObjectDiff](docs/ObjectDiff.md)
297305
- [OneTimeToken](docs/OneTimeToken.md)
298306
- [OneTimeTokenExchangeRequest](docs/OneTimeTokenExchangeRequest.md)
307+
- [OperatorHealthReply](docs/OperatorHealthReply.md)
299308
- [ParameterizedJobConfig](docs/ParameterizedJobConfig.md)
300309
- [PeriodicConfig](docs/PeriodicConfig.md)
301310
- [PeriodicForceResponse](docs/PeriodicForceResponse.md)
302311
- [PlanAnnotations](docs/PlanAnnotations.md)
303312
- [PointValue](docs/PointValue.md)
304313
- [Port](docs/Port.md)
305314
- [PortMapping](docs/PortMapping.md)
315+
- [PreemptionConfig](docs/PreemptionConfig.md)
306316
- [QuotaLimit](docs/QuotaLimit.md)
307317
- [QuotaSpec](docs/QuotaSpec.md)
318+
- [RaftConfiguration](docs/RaftConfiguration.md)
319+
- [RaftServer](docs/RaftServer.md)
308320
- [RequestedDevice](docs/RequestedDevice.md)
309321
- [RescheduleEvent](docs/RescheduleEvent.md)
310322
- [ReschedulePolicy](docs/ReschedulePolicy.md)
@@ -316,8 +328,12 @@ Class | Method | HTTP request | Description
316328
- [ScalingPolicy](docs/ScalingPolicy.md)
317329
- [ScalingPolicyListStub](docs/ScalingPolicyListStub.md)
318330
- [ScalingRequest](docs/ScalingRequest.md)
331+
- [SchedulerConfiguration](docs/SchedulerConfiguration.md)
332+
- [SchedulerConfigurationResponse](docs/SchedulerConfigurationResponse.md)
333+
- [SchedulerSetConfigurationResponse](docs/SchedulerSetConfigurationResponse.md)
319334
- [SearchRequest](docs/SearchRequest.md)
320335
- [SearchResponse](docs/SearchResponse.md)
336+
- [ServerHealth](docs/ServerHealth.md)
321337
- [Service](docs/Service.md)
322338
- [ServiceCheck](docs/ServiceCheck.md)
323339
- [SidecarTask](docs/SidecarTask.md)

0 commit comments

Comments
 (0)