Skip to content

Commit 6b3fd12

Browse files
authored
[Feature] Scheduler CronJob Integration Definition (#1635)
1 parent 2f98760 commit 6b3fd12

File tree

6 files changed

+1450
-86
lines changed

6 files changed

+1450
-86
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- (Feature) Scheduler CLI
1616
- (Feature) Parametrize ForceDelete timeout
1717
- (Feature) Scheduler BatchJob Integration Definition
18+
- (Feature) Scheduler CronJob Integration Definition
1819

1920
## [1.2.39](https://github.com/arangodb/kube-arangodb/tree/1.2.39) (2024-03-11)
2021
- (Feature) Extract Scheduler API

integrations/scheduler/v1/definition/cronjob.pb.go

+255
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
//
2+
// DISCLAIMER
3+
//
4+
// Copyright 2024 ArangoDB GmbH, Cologne, Germany
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
// Copyright holder is ArangoDB GmbH, Cologne, Germany
19+
//
20+
21+
syntax = "proto3";
22+
23+
package scheduler;
24+
25+
import "integrations/scheduler/v1/definition/batchjob.proto";
26+
27+
option go_package = "github.com/arangodb/kube-arangodb/integrations/scheduler/v1/definition";
28+
29+
// Keeps information about Kubernetes Batch/V1 CronJob
30+
message CronJob {
31+
// Keeps BatchJob settings
32+
BatchJobSpec job = 1;
33+
34+
// Keeps the CronJob Settings
35+
CronJobSpec spec = 2;
36+
}
37+
38+
// Information about CronJob run settings
39+
message CronJobSpec {
40+
// Schedule definition
41+
string schedule = 1;
42+
}

0 commit comments

Comments
 (0)