mysql

package
v0.0.0-...-77276c9 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, flags Flags, pmmUserPassword string) (*plugin.Info, error)

Init verifies MySQL connection and creates PMM user if requested.

Types

type Flags

type Flags struct {
	DefaultsFile string
	User         string
	Password     string
	Host         string
	Port         string
	Socket       string

	CreateUser         bool
	CreateUserPassword string
	MaxUserConn        uint16
	Force              bool
}

Flags are MySQL specific flags.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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