mgmysql

package module
v0.0.0-...-7bb8779 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2023 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (interface{}, error)

New implements builtinplugins.BuiltinFactory

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 (c MgtvMysql) Connection(ctx context.Context) (interface{}, error)

func (*MgtvMysql) DeleteUser

func (c *MgtvMysql) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)

func (MgtvMysql) Init

func (c MgtvMysql) Init(ctx context.Context, initConfig map[string]interface{}, verifyConnection bool) (saveConfig map[string]interface{}, err error)

func (*MgtvMysql) Initialize

func (c *MgtvMysql) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)

func (*MgtvMysql) NewUser

func (c *MgtvMysql) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)

func (*MgtvMysql) Type

func (c *MgtvMysql) Type() (string, error)

func (*MgtvMysql) UpdateUser

func (c *MgtvMysql) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)

type MysqlCreateRequest

type MysqlCreateRequest struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL