Documentation ¶
Index ¶
- func ConfigureProvider(s *schema.ResourceData) (interface{}, error)
- func DSN(account string, user string, password string, browserAuth bool, ...) (string, error)
- func GetDatabaseHandleFromEnv() (db *sql.DB, err error)
- func GetGrantResources() resources.TerraformGrantResources
- func GetOauthAccessToken(endPoint, clientID, clientSecret string, data url.Values) (string, error)
- func GetOauthData(refreshToken, redirectURL string) url.Values
- func GetOauthRequest(dataContent io.Reader, endPoint, clientID, clientSecret string) (*http.Request, error)
- func ParsePrivateKey(privateKeyBytes []byte, passhrase []byte) (*rsa.PrivateKey, error)
- func Provider() *schema.Provider
- func ReadPrivateKeyFile(privateKeyPath string) ([]byte, error)
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureProvider ¶
func ConfigureProvider(s *schema.ResourceData) (interface{}, error)
func DSN ¶
func DSN( account string, user string, password string, browserAuth bool, privateKeyPath string, privateKey string, privateKeyPassphrase string, oauthAccessToken string, region string, role string, host string, protocol string, port int, warehouse string, insecureMode bool, profile string, params map[string]*string, passcode string, passcodeInPassword bool, authenticator string, ) (string, error)
func GetDatabaseHandleFromEnv ¶ added in v0.43.1
func GetGrantResources ¶ added in v0.34.0
func GetGrantResources() resources.TerraformGrantResources
func GetOauthAccessToken ¶ added in v0.34.0
func GetOauthData ¶ added in v0.34.0
func GetOauthRequest ¶ added in v0.34.0
func ParsePrivateKey ¶ added in v0.34.0
func ParsePrivateKey(privateKeyBytes []byte, passhrase []byte) (*rsa.PrivateKey, error)
func ReadPrivateKeyFile ¶ added in v0.34.0
Types ¶
Click to show internal directories.
Click to hide internal directories.