models

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v1.0.2

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"`
	WorkgroupName     string `json:"workgroupName"`
	Database          string `json:"database"`
	UseServerless     bool   `json:"useServerless"`
	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"`
}

type RedshiftWorkgroup added in v1.10.0

type RedshiftWorkgroup struct {
	WorkgroupName string           `json:"workgroupName"`
	Endpoint      RedshiftEndpoint `json:"endpoint"`
	Database      string           `json:"database"`
}

Jump to

Keyboard shortcuts

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