Documentation ¶
Index ¶
- Variables
- func New() (interface{}, error)
- type PostgreSQL
- func (p *PostgreSQL) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
- func (p *PostgreSQL) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
- func (p *PostgreSQL) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)
- func (p *PostgreSQL) PluginVersion() logical.PluginVersion
- func (p *PostgreSQL) Type() (string, error)
- func (p *PostgreSQL) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// ReportedVersion is used to report a specific version to Vault.
ReportedVersion = ""
)
Functions ¶
Types ¶
type PostgreSQL ¶
type PostgreSQL struct { *connutil.SQLConnectionProducer // contains filtered or unexported fields }
func (*PostgreSQL) DeleteUser ¶ added in v1.6.0
func (p *PostgreSQL) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
func (*PostgreSQL) Initialize ¶ added in v1.6.0
func (p *PostgreSQL) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
func (*PostgreSQL) NewUser ¶ added in v1.6.0
func (p *PostgreSQL) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)
func (*PostgreSQL) PluginVersion ¶ added in v1.12.0
func (p *PostgreSQL) PluginVersion() logical.PluginVersion
func (*PostgreSQL) Type ¶
func (p *PostgreSQL) Type() (string, error)
func (*PostgreSQL) UpdateUser ¶ added in v1.6.0
func (p *PostgreSQL) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
Click to show internal directories.
Click to hide internal directories.