Versions in this module Expand all Collapse all v2 v2.0.2 Jun 30, 2025 Changes in this version + func AddUser(ctx context.Context, appName, username, password string, cluster flag.Context, ...) error + func EnableAuditLogging(ctx context.Context, appName string, cluster flag.Context, ...) error + func GrantAndCreateSQLUser(ctx context.Context, appName string, cluster flag.Context, ...) error + func ListUsers(ctx context.Context, appName string, cluster flag.Context, ...) error + func PrepareAccess(ctx context.Context, appName string, namespace flag.Namespace, ...) error + func RevokeAccess(ctx context.Context, appName string, namespace flag.Namespace, ...) error + func RotatePassword(ctx context.Context, appName string, cluster flag.Context, ...) error + func RunPSQL(ctx context.Context, appName string, cluster flag.Context, ...) error + func RunProxy(ctx context.Context, appName string, cluster flag.Context, ...) error + type ConnectionInfo struct + func (c *ConnectionInfo) ProxyConnectionString() string + func (c *ConnectionInfo) SetPassword(password string) + type DBInfo struct + func NewDBInfo(appName string, namespace flag.Namespace, context flag.Context) (*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)