postgresql

package
v0.0.0-...-df79ff2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidURI is returned when the PostgreSQL URI is malformed.
	ErrInvalidURI = errors.New("invalid uri")
)

Functions

This section is empty.

Types

type Engine

type Engine database.Engine

Engine is a PostgreSQL secrets engine that can provision and revoke credentials.

func (*Engine) Provision

func (e *Engine) Provision(ctx context.Context, namespace, name string) ([]byte, map[string][]byte, error)

Provision provisions credentials using the engine configuration.

func (*Engine) Revoke

func (e *Engine) Revoke(ctx context.Context, revocation []byte) error

Revoke revokes credentials using the engine configuration.

Jump to

Keyboard shortcuts

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