Documentation
¶
Index ¶
Constants ¶
View Source
const ( // APIVersion is the version of the RESTful API of DataBricks APIVersion = "2.0" // SdkVersion is the version of this library SdkVersion = "0.1.3" )
Variables ¶
This section is empty.
Functions ¶
func PerformQuery ¶
func PerformQuery(option DBClientOption, method, path string, data interface{}, headers map[string]string) ([]byte, error)
PerformQuery can be used in a client or directly
Types ¶
type DBClientOption ¶
type DBClientOption struct {
User string
Password string
Host string
Token string
DefaultHeaders map[string]string
InsecureSkipVerify bool
TimeoutSeconds int
// contains filtered or unexported fields
}
DBClientOption is used to configure the DataBricks Client
func NewDBClientOption ¶
func NewDBClientOption(user, password, host, token string, defaultHeaders map[string]string, insecureSkipVerify bool, timeoutSeconds int) *DBClientOption
NewDBClientOption retruns the new DBClientOption
Click to show internal directories.
Click to hide internal directories.