mysql

package
v0.0.0-...-0f91579 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstallMySQL

type InstallMySQL struct {
	Token            string                 `json:"token"`
	Mode             mode.Mode              `json:"mode"`
	Addrs            []string               `json:"addrs"`
	MySQLServerParam *parameter.MySQLServer `json:"mysql_server_param"`
	PMMClientParam   *parameter.PMMClient   `json:"pmm_client_param"`
}

func NewInstallMySQL

func NewInstallMySQL(token string, mode mode.Mode, addrs []string,
	mysqlServerParam *parameter.MySQLServer, pmmClientParam *parameter.PMMClient) *InstallMySQL

NewInstallMySQL returns a new *InstallMySQL

func NewInstallMySQLWithDefault

func NewInstallMySQLWithDefault() *InstallMySQL

NewInstallMySQLWithDefault returns a new *InstallMySQL with default parameters

func (*InstallMySQL) Unmarshal

func (im *InstallMySQL) Unmarshal(data []byte) error

Unmarshal unmarshals json data to *InstallMySQL

Jump to

Keyboard shortcuts

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