Go to file
2020-12-10 12:26:47 +09:00
.devcontainer Remove commented out lines 2020-03-13 10:48:32 +00:00
.vscode add dev container, add deep_copy binary 2019-10-23 15:37:30 +11:00
aws Remove unused file 2020-02-14 15:24:39 +00:00
azure add cluster models 2020-12-10 12:26:47 +09: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 Use global httpclient 2020-01-09 10:12:41 +00:00
deepcopy_generated.go update version 2020-01-10 04:58:00 +00:00
doc.go adding deepcopy to root 2019-07-10 15:07:11 +10:00
go.mod clean up 2019-11-13 15:52:01 +11:00
go.sum clean up 2019-11-13 15:52:01 +11:00
LICENSE update license 2019-05-28 13:48:01 +10:00
Makefile Pin tooling versions 2020-03-12 20:43:03 +00:00
query.go Fix formating, linting and build errors 2020-02-14 14:55:03 +00:00
README.md fix typo 2019-07-19 13:48:59 +10:00
version.go update version 2020-01-10 04:58:00 +00: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.