Documentation ¶
Index ¶
Constants ¶
View Source
const (
DatabaseType = "redshift"
)
View Source
const RedshiftDataConfigType = "redshift-data"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ClusterIdentifier string `json:"clusterIdentifier"` Database string `json:"database"` User string `json:"user"` Region string `json:"region"` WorkgroupName string `json:"workgroupName"` SecretsARN string `json:"secretsARN"` AccessKeyID string `json:"accessKeyId"` SecretAccessKey string `json:"secretAccessKey"` SessionToken string `json:"sessionToken"` Timeout time.Duration `json:"timeout"` // default: no timeout MinPolling time.Duration `json:"minPolling"` // default: 10ms MaxPolling time.Duration `json:"maxPolling"` // default: 5s RetryMaxAttempts int `json:"retryMaxAttempts"` // default: 20 UseLegacyMappings bool `json:"useLegacyMappings"` }
Config is the configuration for a redshift database when using the redshift data api driver
func (*Config) MarshalJSON ¶ added in v1.1.0
type PostgresConfig ¶ added in v1.1.0
PostgresConfig is the configuration for a redshift database when using the postgres driver
Click to show internal directories.
Click to hide internal directories.