8000 [Feature] [Integration] SchedulerV2 Definition by ajanikow · Pull Request #1745 · arangodb/kube-arangodb · GitHub
[go: up one dir, main page]

Skip to content

[Feature] [Integration] SchedulerV2 Definition< 8000 /bdi> #1745

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
8000
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- (Maintenance) Kubernetes 1.31.1 libraries
- (Feature) Helm Client Support
- (Feature) Helm Client Extension
- (Feature) (Integration) SchedulerV2 Definition

## [1.2.43](https://github.com/arangodb/kube-arangodb/tree/1.2.43) (2024-10-14)
- (Feature) ArangoRoute CRD
Expand Down
25 changes: 25 additions & 0 deletions integrations/scheduler/v2/definition/consts.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// DISCLAIMER
//
// Copyright 2024 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Copyright holder is ArangoDB GmbH, Cologne, Germany
//

package definition

const (
Name = "scheduler.v2"
)
214 changes: 214 additions & 0 deletions integrations/scheduler/v2/definition/definition.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 61 additions & 0 deletions integrations/scheduler/v2/definition/definition.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
//
// DISCLAIMER
//
// Copyright 2024 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Copyright holder is ArangoDB GmbH, Cologne, Germany
//

syntax = "proto3";

package scheduler;

import "integrations/scheduler/v2/definition/helm.proto";
import "integrations/scheduler/v2/definition/kubernetes.proto";
import "integrations/shared/v1/definition/empty.proto";

option go_package = "github.com/arangodb/kube-arangodb/integrations/scheduler/v2/definition";

// Integration Service
service SchedulerV2 {
// Invalidates local ServiceDiscover cache
rpc InvalidateCache(shared.Empty) returns (shared.Empty);
// Ensure that Helm Client is able to communicate with Kubernetes
rpc Alive(shared.Empty) returns (shared.Empty);

// Executes Helm List Action
rpc List(SchedulerV2ListRequest) returns (SchedulerV2ListResponse);
// Executes Helm Status Action
rpc Status(SchedulerV2StatusRequest) returns (SchedulerV2StatusResponse);
// Executes Helm Status Action and fetch Resources from Kubernetes API
rpc StatusObjects(SchedulerV2StatusObjectsRequest) returns (SchedulerV2StatusObjectsResponse);
// Executes Helm Install Action
rpc Install(SchedulerV2InstallRequest) returns (SchedulerV2InstallResponse);
// Executes Helm Upgrade Action
rpc Upgrade(SchedulerV2UpgradeRequest) returns (SchedulerV2UpgradeResponse);
// Executes Helm Uninstall Action
rpc Uninstall(SchedulerV2UninstallRequest) returns (SchedulerV2UninstallResponse);
// Executes Helm Test Action
rpc Test(SchedulerV2TestRequest) returns (SchedulerV2TestResponse);

// Discovers Kubernetes API Resources for Group
rpc DiscoverAPIResources(SchedulerV2DiscoverAPIResourcesRequest) returns (SchedulerV2DiscoverAPIResourcesResponse);
// Discovers Kubernetes API Resources for Kind
rpc DiscoverAPIResource(SchedulerV2DiscoverAPIResourceRequest) returns (SchedulerV2DiscoverAPIResourceResponse);

// Gets Kubernetes objects from the API
rpc KubernetesGet(SchedulerV2KubernetesGetRequest) returns (SchedulerV2KubernetesGetResponse);
}

Loading
0