Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
Role: "ACCOUNTADMIN",
}
DefaultConfig is the default config for the snowflake integration
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
AccountName string `yaml:"account_name,omitempty"`
Username string `yaml:"username,omitempty"`
Password config_util.Secret `yaml:"password,omitempty"`
PrivateKeyPath string `yaml:"private_key_path,omitempty"`
PrivateKeyPassword config_util.Secret `yaml:"private_key_password,omitempty"`
Role string `yaml:"role,omitempty"`
Warehouse string `yaml:"warehouse,omitempty"`
ExcludeDeletedTables bool `yaml:"exclude_deleted_tables,omitempty"`
EnableDriverTraceLogs bool `yaml:"enable_tracing,omitempty"`
}
Config is the configuration for the snowflake integration
func (*Config) InstanceKey ¶
Identifier returns a string that identifies the integration.
func (*Config) NewIntegration ¶
func (c *Config) NewIntegration(l log.Logger) (integrations.Integration, error)
NewIntegration creates a new integration from the config.
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler for Config
Click to show internal directories.
Click to hide internal directories.