Documentation
¶
Index ¶
- 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
- type DBInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableAuditLogging ¶
func GrantAndCreateSQLUser ¶
func PrepareAccess ¶
func RevokeAccess ¶
func RotatePassword ¶
Types ¶
type ConnectionInfo ¶
type ConnectionInfo struct {
// contains filtered or unexported fields
}
func (*ConnectionInfo) ProxyConnectionString ¶
func (c *ConnectionInfo) ProxyConnectionString() string
func (*ConnectionInfo) SetPassword ¶
func (c *ConnectionInfo) SetPassword(password string)
type DBInfo ¶
type DBInfo struct {
// contains filtered or unexported fields
}
func (*DBInfo) ConnectionName ¶
func (*DBInfo) DBConnection ¶
func (i *DBInfo) DBConnection(ctx context.Context) (*ConnectionInfo, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.