api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Client        redshiftdataapiserviceiface.RedshiftDataAPIServiceAPI
	SecretsClient secretsmanageriface.SecretsManagerAPI
	// contains filtered or unexported fields
}

func New

func New(sessionCache *awsds.SessionCache, settings *models.RedshiftDataSourceSettings) (*API, error)

func (*API) Execute

func (*API) GetSecret

func (c *API) GetSecret(ctx aws.Context, arn string) (*models.RedshiftSecret, error)

func (*API) ListColumns

func (c *API) ListColumns(ctx aws.Context, schema, table string) ([]string, error)

func (*API) ListSchemas

func (c *API) ListSchemas(ctx aws.Context) ([]string, error)

func (*API) ListSecrets

func (c *API) ListSecrets(ctx aws.Context) ([]models.ManagedSecret, error)

func (*API) ListTables

func (c *API) ListTables(ctx aws.Context, schema string) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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