Documentation ¶
Index ¶
- func New() (interface{}, error)
- func Run(apiTLSConfig *api.TLSConfig) error
- type PostgreSQL
- func (p *PostgreSQL) CreateUser(statements dbplugin.Statements, usernameConfig dbplugin.UsernameConfig, ...) (username string, password string, err error)
- func (p *PostgreSQL) RenewUser(statements dbplugin.Statements, username string, expiration time.Time) error
- func (p *PostgreSQL) RevokeUser(statements dbplugin.Statements, username string) error
- func (p *PostgreSQL) Type() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgreSQL ¶
type PostgreSQL struct { connutil.ConnectionProducer credsutil.CredentialsProducer }
func (*PostgreSQL) CreateUser ¶
func (p *PostgreSQL) CreateUser(statements dbplugin.Statements, usernameConfig dbplugin.UsernameConfig, expiration time.Time) (username string, password string, err error)
func (*PostgreSQL) RenewUser ¶
func (p *PostgreSQL) RenewUser(statements dbplugin.Statements, username string, expiration time.Time) error
func (*PostgreSQL) RevokeUser ¶
func (p *PostgreSQL) RevokeUser(statements dbplugin.Statements, username string) error
func (*PostgreSQL) Type ¶
func (p *PostgreSQL) Type() (string, error)
Click to show internal directories.
Click to hide internal directories.