Documentation ¶
Index ¶
- func New() (interface{}, error)
- type MgtvMysql
- func (c MgtvMysql) Close() error
- func (c MgtvMysql) Connection(ctx context.Context) (interface{}, error)
- func (c *MgtvMysql) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
- func (c MgtvMysql) Init(ctx context.Context, initConfig map[string]interface{}, verifyConnection bool) (saveConfig map[string]interface{}, err error)
- func (c *MgtvMysql) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
- func (c *MgtvMysql) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)
- func (c *MgtvMysql) Type() (string, error)
- func (c *MgtvMysql) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
- type MysqlCreateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MgtvMysql ¶
type MgtvMysql struct {
// contains filtered or unexported fields
}
Type that combines the custom plugins Redis database connection configuration options and the Vault CredentialsProducer used for generating user information for the Redis database.
func (MgtvMysql) Close ¶
func (c MgtvMysql) Close() error
Close terminates the database connection with locking
func (MgtvMysql) Connection ¶
func (*MgtvMysql) DeleteUser ¶
func (*MgtvMysql) Initialize ¶
type MysqlCreateRequest ¶
type MysqlCreateRequest struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.