provider

package
v0.0.0-...-58b2192 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2021 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_ENDPOINT   = "https://console.hashdata.xyz"
	AUTH_PREFIX        = "Bearer "
	TOKEN_PATH         = "/account/oauth/token"
	DEFAULT_HEADER_KEY = "Authorization"
	MAX_RETRY_TIMES    = 2000

	JOB_SUCCESS          = "success"
	JOB_WAIT_PENDING     = "pending"
	JOB_WAIT_RUNNING     = "running"
	JOB_FAILED_FAILURE   = "failure"
	JOB_FAILED_ABANDONED = "abandoned"
	WAREHOUSE_ID         = "warehouse_id"
	CATALOG_ID           = "catalog_id"
	COMPUTING_ID         = "computing_id"
	SERVICE_STARTED      = "started"
	CATALOG_FDB          = "fdb"
	CATALOG_ETCD         = "etcd"
	CATALOG_CATALOG      = "catalog"
	OPERATE_START        = "start"
	OPERATE_STOP         = "stop"
	OPERATE_RESTART      = "restart"
)

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) *bool

func Int32

func Int32(v int) *int32

func New

func New(version string) func() *schema.Provider

func String

func String(v string) *string

Types

type Config

type Config struct {
	Username     string
	Password     string
	ClientId     string
	ClientSecret string
	EndPoint     string
}

func (*Config) Client

func (c *Config) Client() (interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL