config

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientcert

func GetClientcert(ctx *pulumi.Context) string

SSL client certificate if required by the database.

func GetConnectTimeout

func GetConnectTimeout(ctx *pulumi.Context) int

Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely.

func GetDatabase

func GetDatabase(ctx *pulumi.Context) string

The name of the database to connect to in order to conenct to (defaults to `postgres`).

func GetDatabaseUsername

func GetDatabaseUsername(ctx *pulumi.Context) string

Database username associated to the connected user (for user name maps)

func GetExpectedVersion

func GetExpectedVersion(ctx *pulumi.Context) string

Specify the expected version of PostgreSQL.

func GetHost

func GetHost(ctx *pulumi.Context) string

Name of PostgreSQL server address to connect to

func GetMaxConnections

func GetMaxConnections(ctx *pulumi.Context) int

Maximum number of connections to establish to the database. Zero means unlimited.

func GetPassword

func GetPassword(ctx *pulumi.Context) string

Password to be used if the PostgreSQL server demands password authentication

func GetPort

func GetPort(ctx *pulumi.Context) int

The PostgreSQL port number to connect to at the server host, or socket file name extension for Unix-domain connections

func GetScheme

func GetScheme(ctx *pulumi.Context) string

func GetSslMode deprecated

func GetSslMode(ctx *pulumi.Context) string

Deprecated: Rename PostgreSQL provider `ssl_mode` attribute to `sslmode`

func GetSslmode

func GetSslmode(ctx *pulumi.Context) string

This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL server

func GetSslrootcert

func GetSslrootcert(ctx *pulumi.Context) string

The SSL server root certificate file path. The file must contain PEM encoded data.

func GetSuperuser

func GetSuperuser(ctx *pulumi.Context) bool

Specify if the user to connect as is a Postgres superuser or not.If not, some feature might be disabled (e.g.: Refreshing state password from Postgres)

func GetUsername

func GetUsername(ctx *pulumi.Context) string

PostgreSQL user name to connect as

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

type Clientcert

type Clientcert struct {
	Cert string `pulumi:"cert"`
	Key  string `pulumi:"key"`
}

type ClientcertArgs

type ClientcertArgs struct {
	Cert pulumi.StringInput `pulumi:"cert"`
	Key  pulumi.StringInput `pulumi:"key"`
}

func (ClientcertArgs) ElementType

func (ClientcertArgs) ElementType() reflect.Type

func (ClientcertArgs) ToClientcertOutput

func (i ClientcertArgs) ToClientcertOutput() ClientcertOutput

func (ClientcertArgs) ToClientcertOutputWithContext

func (i ClientcertArgs) ToClientcertOutputWithContext(ctx context.Context) ClientcertOutput

type ClientcertInput

type ClientcertInput interface {
	pulumi.Input

	ToClientcertOutput() ClientcertOutput
	ToClientcertOutputWithContext(context.Context) ClientcertOutput
}

ClientcertInput is an input type that accepts ClientcertArgs and ClientcertOutput values. You can construct a concrete instance of `ClientcertInput` via:

ClientcertArgs{...}

type ClientcertOutput

type ClientcertOutput struct{ *pulumi.OutputState }

func (ClientcertOutput) Cert

func (ClientcertOutput) ElementType

func (ClientcertOutput) ElementType() reflect.Type

func (ClientcertOutput) Key

func (ClientcertOutput) ToClientcertOutput

func (o ClientcertOutput) ToClientcertOutput() ClientcertOutput

func (ClientcertOutput) ToClientcertOutputWithContext

func (o ClientcertOutput) ToClientcertOutputWithContext(ctx context.Context) ClientcertOutput

Jump to

Keyboard shortcuts

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