Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MetadataLen       int = 10
	LegacyMetadataLen int = 4
	UsernameLen       int = 32
	LegacyUsernameLen int = 16
)

Functions

func New

func New(displayNameLen int, roleNameLen int, maxUsernameLen int) func() (interface{}, error)

    New implements builtinplugins.BuiltinFactory

    Types

    type MySQL

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

    func (MySQL) Close

    func (c MySQL) Close() error

      Close attempts to close the connection

      func (MySQL) Connection

      func (c MySQL) Connection(ctx context.Context) (interface{}, error)

      func (*MySQL) DeleteUser

      func (MySQL) Init

      func (c MySQL) Init(ctx context.Context, conf map[string]interface{}, verifyConnection bool) (map[string]interface{}, error)

      func (*MySQL) Initialize

      func (*MySQL) NewUser

      func (MySQL) SecretValues

      func (c MySQL) SecretValues() map[string]string

      func (*MySQL) Type

      func (m *MySQL) Type() (string, error)

      func (*MySQL) UpdateUser

      Directories

      Path Synopsis