Documentation
      ¶
    
    
  
    
  
    Index ¶
- func ChangePassword(ctx context.Context, pg *pgx.Conn, username, password string) error
 - func CreateDatabase(ctx context.Context, pg *pgx.Conn, name string) error
 - func CreateUser(ctx context.Context, pg *pgx.Conn, username string, password string) error
 - func DeleteDatabase(ctx context.Context, pg *pgx.Conn, name string) error
 - func DeleteUser(ctx context.Context, pg *pgx.Conn, username string) error
 - func GrantAccess(ctx context.Context, pg *pgx.Conn, database, username string) error
 - func GrantReplication(ctx context.Context, pg *pgx.Conn, username string) error
 - func GrantSuperuser(ctx context.Context, pg *pgx.Conn, username string) error
 - func ResolveRole(ctx context.Context, pg *pgx.Conn) (string, error)
 - func ResolveSettings(ctx context.Context, pg *pgx.Conn, list []string) (*flypg.Settings, error)
 - type DbInfo
 - type UserInfo
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangePassword ¶
func CreateDatabase ¶ added in v0.0.19
func CreateUser ¶
func DeleteDatabase ¶ added in v0.0.19
func DeleteUser ¶ added in v0.0.19
func GrantAccess ¶ added in v0.0.19
func GrantReplication ¶ added in v0.0.8
func ResolveRole ¶ added in v0.0.20
Types ¶
type DbInfo ¶
func FindDatabase ¶ added in v0.0.19
 Click to show internal directories. 
   Click to hide internal directories.