Versions in this module Expand all Collapse all v0 v0.1.0 Mar 20, 2025 Changes in this version + func AddUser(ctx context.Context, ...) error + func EnableAuditLogging(ctx context.Context, appName, cluster, namespace string) error + func GrantAndCreateSQLUser(ctx context.Context, appName, cluster, namespace string) error + func ListUsers(ctx context.Context, appName, cluster, namespace string) error + func PrepareAccess(ctx context.Context, appName, namespace, cluster, schema string, allPrivs bool) error + func RevokeAccess(ctx context.Context, appName, namespace, cluster, schema string) error + func RotatePassword(ctx context.Context, appName, cluster, namespace string) error + func RunPSQL(ctx context.Context, appName, cluster, namespace string, verbose bool) error + func RunProxy(ctx context.Context, appName, cluster, namespace, host string, port uint, ...) error + type ConnectionInfo struct + func (c *ConnectionInfo) ProxyConnectionString() string + func (c *ConnectionInfo) SetPassword(password string) + type DBInfo struct + func NewDBInfo(appName, namespace, context string) (*DBInfo, error) + func (i *DBInfo) ConnectionName(ctx context.Context) (string, error) + func (i *DBInfo) DBConnection(ctx context.Context) (*ConnectionInfo, error) + func (i *DBInfo) ProjectID(ctx context.Context) (string, error)