Documentation ¶
Index ¶
- func GetClientcert(ctx *pulumi.Context) string
- func GetConnectTimeout(ctx *pulumi.Context) int
- func GetDatabase(ctx *pulumi.Context) string
- func GetDatabaseUsername(ctx *pulumi.Context) string
- func GetExpectedVersion(ctx *pulumi.Context) string
- func GetHost(ctx *pulumi.Context) string
- func GetMaxConnections(ctx *pulumi.Context) int
- func GetPassword(ctx *pulumi.Context) string
- func GetPort(ctx *pulumi.Context) int
- func GetScheme(ctx *pulumi.Context) string
- func GetSslMode(ctx *pulumi.Context) stringdeprecated
- func GetSslmode(ctx *pulumi.Context) string
- func GetSslrootcert(ctx *pulumi.Context) string
- func GetSuperuser(ctx *pulumi.Context) bool
- func GetUsername(ctx *pulumi.Context) string
- func PkgVersion() (semver.Version, error)
- type Clientcert
- type ClientcertArgs
- type ClientcertInput
- type ClientcertOutput
- func (o ClientcertOutput) Cert() pulumi.StringOutput
- func (ClientcertOutput) ElementType() reflect.Type
- func (o ClientcertOutput) Key() pulumi.StringOutput
- func (o ClientcertOutput) ToClientcertOutput() ClientcertOutput
- func (o ClientcertOutput) ToClientcertOutputWithContext(ctx context.Context) ClientcertOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientcert ¶
SSL client certificate if required by the database.
func GetConnectTimeout ¶
Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely.
func GetDatabase ¶
The name of the database to connect to in order to conenct to (defaults to `postgres`).
func GetDatabaseUsername ¶
Database username associated to the connected user (for user name maps)
func GetExpectedVersion ¶
Specify the expected version of PostgreSQL.
func GetMaxConnections ¶
Maximum number of connections to establish to the database. Zero means unlimited.
func GetPassword ¶
Password to be used if the PostgreSQL server demands password authentication
func GetPort ¶
The PostgreSQL port number to connect to at the server host, or socket file name extension for Unix-domain connections
func GetSslMode
deprecated
func GetSslmode ¶
This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL server
func GetSslrootcert ¶
The SSL server root certificate file path. The file must contain PEM encoded data.
func GetSuperuser ¶
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 PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package.
Types ¶
type Clientcert ¶
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 (o ClientcertOutput) Cert() pulumi.StringOutput
func (ClientcertOutput) ElementType ¶
func (ClientcertOutput) ElementType() reflect.Type
func (ClientcertOutput) Key ¶
func (o ClientcertOutput) Key() pulumi.StringOutput
func (ClientcertOutput) ToClientcertOutput ¶
func (o ClientcertOutput) ToClientcertOutput() ClientcertOutput
func (ClientcertOutput) ToClientcertOutputWithContext ¶
func (o ClientcertOutput) ToClientcertOutputWithContext(ctx context.Context) ClientcertOutput