Go to file
2019-10-23 15:37:30 +11:00
.devcontainer add dev container, add deep_copy binary 2019-10-23 15:37:30 +11:00
.vscode add dev container, add deep_copy binary 2019-10-23 15:37:30 +11:00
aws add instancepool models 2019-07-19 14:39:30 +10:00
azure add dev container, add deep_copy binary 2019-10-23 15:37:30 +11:00
cmd add dev container, add deep_copy binary 2019-10-23 15:37:30 +11:00
hack adding deepcopy 2019-06-25 11:28:26 +10:00
.gitmodules remove submodule 2019-05-27 10:26:47 +10:00
databricks.go updated jobs 2019-05-28 14:23:24 +10:00
deepcopy_generated.go adding deepcopy to root 2019-07-10 15:07:11 +10:00
doc.go adding deepcopy to root 2019-07-10 15:07:11 +10:00
go.mod add dev container, add deep_copy binary 2019-10-23 15:37:30 +11:00
go.sum add dev container, add deep_copy binary 2019-10-23 15:37:30 +11:00
LICENSE update license 2019-05-28 13:48:01 +10:00
Makefile add dev container, add deep_copy binary 2019-10-23 15:37:30 +11:00
query.go updated jobs 2019-05-28 14:23:24 +10:00
README.md fix typo 2019-07-19 13:48:59 +10:00
version.go formatted options 2019-05-28 06:34:35 +10:00

databricks-sdk-golang

This is a Golang SDK for DataBricks REST API 2.0 and Azure DataBricks REST API 2.0.

WARNING: The SDK is unstable and under development. More testing needed!

Usage

import (
  databricks "github.com/xinsnake/databricks-sdk-golang"
  dbAzure "github.com/xinsnake/databricks-sdk-golang/azure"
  // dbAws "github.com/xinsnake/databricks-sdk-golang/aws"
)

var o databricks.DBClientOption
o.Host = os.Getenv("DATABRICKS_HOST")
o.Token = os.Getenv("DATABRICKS_TOKEN")

var c dbAzure.DBClient
c.Init(o)

jobs, err := c.Jobs().List()

Implementation Progress

Everything except SCIM API are implemented. Please refer to the progress below:

API AWS Azure
Clusters API
DBFS API
Groups API
Instance Pools API (preview)
Instance Profiles API N/A
Jobs API
Libraries API
MLflow API
SCIM API (preview)
Secrets API
Token API
Workspace API

Notes

  • Deepcopy is generated shall you need it.