Documentation ¶
Index ¶
Constants ¶
View Source
const ( OptionDatabase = "adbc.snowflake.sql.db" OptionSchema = "adbc.snowflake.sql.schema" OptionWarehouse = "adbc.snowflake.sql.warehouse" OptionRole = "adbc.snowflake.sql.role" OptionRegion = "adbc.snowflake.sql.region" OptionAccount = "adbc.snowflake.sql.account" OptionProtocol = "adbc.snowflake.sql.uri.protocol" OptionPort = "adbc.snowflake.sql.uri.port" OptionHost = "adbc.snowflake.sql.uri.host" // Specify auth type to use for snowflake connection based on // what is supported by the snowflake driver. Default is // "auth_snowflake" (use OptionValueAuth* consts to specify desired // authentication type). OptionAuthType = "adbc.snowflake.sql.auth_type" // Login retry timeout EXCLUDING network roundtrip and reading http response // use format like http://pkg.go.dev/time#ParseDuration such as // "300ms", "1.5s" or "1m30s". ParseDuration accepts negative values // but the absolute value will be used. OptionLoginTimeout = "adbc.snowflake.sql.client_option.login_timeout" // request retry timeout EXCLUDING network roundtrip and reading http response // use format like http://pkg.go.dev/time#ParseDuration such as // "300ms", "1.5s" or "1m30s". ParseDuration accepts negative values // but the absolute value will be used. OptionRequestTimeout = "adbc.snowflake.sql.client_option.request_timeout" // JWT expiration after timeout // use format like http://pkg.go.dev/time#ParseDuration such as // "300ms", "1.5s" or "1m30s". ParseDuration accepts negative values // but the absolute value will be used. OptionJwtExpireTimeout = "adbc.snowflake.sql.client_option.jwt_expire_timeout" // Timeout for network round trip + reading http response // use format like http://pkg.go.dev/time#ParseDuration such as // "300ms", "1.5s" or "1m30s". ParseDuration accepts negative values // but the absolute value will be used. OptionClientTimeout = "adbc.snowflake.sql.client_option.client_timeout" OptionApplicationName = "adbc.snowflake.sql.client_option.app_name" OptionSSLSkipVerify = "adbc.snowflake.sql.client_option.tls_skip_verify" OptionOCSPFailOpenMode = "adbc.snowflake.sql.client_option.ocsp_fail_open_mode" // specify the token to use for OAuth or other forms of authentication OptionAuthToken = "adbc.snowflake.sql.client_option.auth_token" // specify the OKTAUrl to use for OKTA Authentication OptionAuthOktaUrl = "adbc.snowflake.sql.client_option.okta_url" // enable the session to persist even after the connection is closed OptionKeepSessionAlive = "adbc.snowflake.sql.client_option.keep_session_alive" // specify the RSA private key to use to sign the JWT // this should point to a file containing a PKCS1 private key to be // loaded. Commonly encoded in PEM blocks of type "RSA PRIVATE KEY" OptionJwtPrivateKey = "adbc.snowflake.sql.client_option.jwt_private_key" OptionDisableTelemetry = "adbc.snowflake.sql.client_option.disable_telemetry" // snowflake driver logging level OptionLogTracing = "adbc.snowflake.sql.client_option.tracing" // When true, the MFA token is cached in the credential manager. True by default // on Windows/OSX, false for Linux OptionClientRequestMFAToken = "adbc.snowflake.sql.client_option.cache_mfa_token" // When true, the ID token is cached in the credential manager. True by default // on Windows/OSX, false for Linux OptionClientStoreTempCred = "adbc.snowflake.sql.client_option.store_temp_creds" // auth types are implemented by the Snowflake driver in gosnowflake // general username password authentication OptionValueAuthSnowflake = "auth_snowflake" // use OAuth authentication for snowflake connection OptionValueAuthOAuth = "auth_oauth" // use an external browser to access a FED and perform SSO auth OptionValueAuthExternalBrowser = "auth_ext_browser" // use a native OKTA URL to perform SSO authentication on Okta OptionValueAuthOkta = "auth_okta" // use a JWT to perform authentication OptionValueAuthJwt = "auth_jwt" // use a username and password with mfa OptionValueAuthUserPassMFA = "auth_mfa" )
View Source
const (
OptionStatementQueueSize = "adbc.rpc.result_queue_size"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.