models

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v1.0.2

func New() models.Settings

Types

type ManagedSecret added in v0.4.0

type ManagedSecret struct {
	Name string `json:"name"`
	ARN  string `json:"arn"`
}

type RedshiftCluster added in v1.0.4

type RedshiftCluster struct {
	ClusterIdentifier string           `json:"clusterIdentifier"`
	Endpoint          RedshiftEndpoint `json:"endpoint"`
	Database          string           `json:"database"`
}

type RedshiftDataSourceSettings

type RedshiftDataSourceSettings struct {
	awsds.AWSDatasourceSettings
	Config            backend.DataSourceInstanceSettings
	ClusterIdentifier string `json:"clusterIdentifier"`
	Database          string `json:"database"`
	UseManagedSecret  bool   `json:"useManagedSecret"`
	WithEvent         bool   `json:"withEvent"`
	DBUser            string `json:"dbUser"`
	ManagedSecret     ManagedSecret
}

func (*RedshiftDataSourceSettings) Apply added in v1.0.2

func (s *RedshiftDataSourceSettings) Apply(args sqlds.Options)

func (*RedshiftDataSourceSettings) Load

type RedshiftEndpoint added in v1.0.4

type RedshiftEndpoint struct {
	Address string `json:"address"`
	Port    int64  `json:"port"`
}

type RedshiftSecret added in v0.4.0

type RedshiftSecret struct {
	ClusterIdentifier string `json:"dbClusterIdentifier"`
	DBUser            string `json:"username"`
}

Jump to

Keyboard shortcuts

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