provider

package
v0.0.0-...-84cee3c Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

Types

type Credentials

type Credentials struct {
	Account  string
	User     string
	Password string
	Region   string
}

type PrivatelinkConfig

type PrivatelinkConfig struct {
	Privatelink_account_name           string `json:"privatelink-account-name"`
	Privatelink_internal_stage         string `json:"privatelink-internal-stage"`
	Privatelink_vpce_id                string `json:"privatelink-vpce-id"`
	Privatelink_account_url            string `json:"privatelink-account-url"`
	Regionless_privatelink_account_url string `json:"regionless-privatelink-account-url"`
	Privatelink_ocsp_url               string `json:"privatelink_ocsp-url"`
	Privatelink_connection_urls        any    `json:"privatelink-connection-urls"`
}

type SnowflakeClient

type SnowflakeClient struct {
	Database          *sql.DB
	AWSId             string
	AWSFederatedToken string
}
func (c *SnowflakeClient) AuthorizePrivatelink() error
func (c *SnowflakeClient) EnableInternalStagesForPrivatelink(enableInternalStage bool) error
func (c *SnowflakeClient) GetPrivatelink() (string, error)

func (*SnowflakeClient) GetPrivatelinkConfig

func (c *SnowflakeClient) GetPrivatelinkConfig() (*PrivatelinkConfig, error)

func (*SnowflakeClient) NewSnowflakeClient

func (c *SnowflakeClient) NewSnowflakeClient(cred Credentials) (*SnowflakeClient, error)
func (c *SnowflakeClient) RevokePrivatelink() error

Jump to

Keyboard shortcuts

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