Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Organization string
Database string
Branch string
Name string
TTL time.Duration
InheritedRoles []string
}
Options represents the options to create a new Postgres role
type Role ¶
type Role struct {
Role *ps.PostgresRole
// contains filtered or unexported fields
}
Role represents a Postgres role with cleanup capabilities
func (*Role) WaitUntilReady ¶ added in v0.332.0
WaitUntilReady waits until a temporary role can accept connections. The create response contains the only copy of the password, so this method keeps the original role and only updates its readiness state.
Click to show internal directories.
Click to hide internal directories.