Skip to content

Commit

Permalink
[OpenAPI] Update RunResultState (#37)
Browse files Browse the repository at this point in the history
* add MAXIMUM_CONCURRENT_RUNS_REACHED

* bump version

* bump chart version
  • Loading branch information
mach-kernel authored Nov 15, 2023
1 parent 2eee840 commit b747d72
Show file tree
Hide file tree
Showing 138 changed files with 1,249 additions and 958 deletions.
83 changes: 78 additions & 5 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions charts/databricks-kube-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 0.5.0
appVersion: 0.5.1
name: databricks-kube-operator
description: A kube-rs operator for managing Databricks API resources
version: 0.5.3
version: 0.5.4

home: https://github.com/mach-kernel/databricks-kube-operator
sources:
Expand Down
2 changes: 1 addition & 1 deletion databricks-kube/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ path = "src/crdgen.rs"
[package]
name = "databricks_kube"
default-run = "databricks_kube"
version = "0.5.0"
version = "0.5.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion databricks-rust-jobs/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.5.0
7.0.1
3 changes: 2 additions & 1 deletion databricks-rust-jobs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ edition = "2018"
schemars = "0.8.11"
serde = "^1.0"
serde_derive = "^1.0"
serde_with = "^2.0"
serde_json = "^1.0"
url = "^2.2"
uuid = { version = "^1.0", features = ["serde"] }
uuid = { version = "^1.0", features = ["serde", "v4"] }
[dependencies.reqwest]
version = "^0.11"
features = ["json", "multipart"]
2 changes: 1 addition & 1 deletion databricks-rust-jobs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ databricks_rust_jobs = { path = "./databricks_rust_jobs" }

## Documentation for API Endpoints

All URIs are relative to *http://localhost*
All URIs are relative to *https://<databricks-instance>/api*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion databricks-rust-jobs/docs/DefaultApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \DefaultApi

All URIs are relative to *http://localhost*
All URIs are relative to *https://<databricks-instance>/api*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
8 changes: 6 additions & 2 deletions databricks-rust-jobs/src/apis/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
* The Jobs API allows you to create, edit, and delete jobs. You should never hard code secrets or store them in plain text. Use the [Secrets API](https://docs.databricks.com/dev-tools/api/latest/secrets.html) to manage secrets in the [Databricks CLI](https://docs.databricks.com/dev-tools/cli/index.html). Use the [Secrets utility](https://docs.databricks.com/dev-tools/databricks-utils.html#dbutils-secrets) to reference secrets in notebooks and jobs.
*
* The version of the OpenAPI document: 2.1
*
*
* Generated by: https://openapi-generator.tech
*/



#[derive(Debug, Clone)]
pub struct Configuration {
pub base_path: String,
Expand All @@ -28,6 +30,7 @@ pub struct ApiKey {
pub key: String,
}


impl Configuration {
pub fn new() -> Configuration {
Configuration::default()
Expand All @@ -37,13 +40,14 @@ impl Configuration {
impl Default for Configuration {
fn default() -> Self {
Configuration {
base_path: "http://localhost".to_owned(),
base_path: "https://<databricks-instance>/api".to_owned(),
user_agent: Some("OpenAPI-Generator/2.1/rust".to_owned()),
client: reqwest::Client::new(),
basic_auth: None,
oauth_access_token: None,
bearer_access_token: None,
api_key: None,

}
}
}
Loading

0 comments on commit b747d72

Please sign in to comment.