redshift

package
v0.0.0-...-cff7354 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGroupNameForGroupId

func GetGroupNameForGroupId(q Queryer, grosysid int) (string, error)

func GetSchemaInfoForSchemaId

func GetSchemaInfoForSchemaId(q Queryer, schemaId int) (string, int, error)

func GetUsersnamesForUsesysid

func GetUsersnamesForUsesysid(q Queryer, usersIdsInterface []interface{}) []string

func NewError

func NewError(text string) error

New returns an error that formats as the given text.

func Provider

func Provider() terraform.ResourceProvider

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config holds API and APP keys to authenticate to Datadog.

func (*Config) Client

func (c *Config) Client() (*Client, error)

New redshift client

type Queryer

type Queryer interface {
	Query(query string, args ...interface{}) (*sql.Rows, error)
	QueryRow(query string, args ...interface{}) *sql.Row
}

Jump to

Keyboard shortcuts

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