Documentation ¶
Index ¶
- func MakeGrant(dsn mysql.DSN, user string, pass string, mysqlMaxUserConns int64) []string
- func ParseMySQLDefaults(output string) *mysql.DSN
- type Flags
- type Installer
- func (i *Installer) InstallerCreateAgentWithInitialServiceConfigs(configs []proto.AgentConfig) (err error)
- func (i *Installer) InstallerCreateMySQLInstance() (mi *proto.MySQLInstance, err error)
- func (i *Installer) InstallerCreateServerInstance() (si *proto.ServerInstance, err error)
- func (i *Installer) InstallerGetApiKey() error
- func (i *Installer) InstallerGetDefaultConfigs(si *proto.ServerInstance, mi *proto.MySQLInstance) (configs []proto.AgentConfig, err error)
- func (i *Installer) IsVersionSupported(conn mysql.Connector) (bool, error)
- func (i *Installer) Run() (err error)
- func (i *Installer) VerifyApiKey() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseMySQLDefaults ¶
Types ¶
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
func NewInstaller ¶
func (*Installer) InstallerCreateAgentWithInitialServiceConfigs ¶
func (i *Installer) InstallerCreateAgentWithInitialServiceConfigs(configs []proto.AgentConfig) (err error)
func (*Installer) InstallerCreateMySQLInstance ¶
func (i *Installer) InstallerCreateMySQLInstance() (mi *proto.MySQLInstance, err error)
func (*Installer) InstallerCreateServerInstance ¶
func (i *Installer) InstallerCreateServerInstance() (si *proto.ServerInstance, err error)
func (*Installer) InstallerGetApiKey ¶
func (*Installer) InstallerGetDefaultConfigs ¶
func (i *Installer) InstallerGetDefaultConfigs(si *proto.ServerInstance, mi *proto.MySQLInstance) (configs []proto.AgentConfig, err error)
func (*Installer) IsVersionSupported ¶ added in v1.0.11
func (*Installer) VerifyApiKey ¶
Click to show internal directories.
Click to hide internal directories.