installer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2016 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrVersionNotSupported error = errors.New("MySQL version not supported")
)

Functions

func MakeGrant

func MakeGrant(dsn dsn.DSN, mysqlMaxUserConns int64) []string

func NewUUID

func NewUUID() string

Types

type Flags

type Flags struct {
	Bool   map[string]bool
	String map[string]string
	Int64  map[string]int64
}

type Installer

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

func NewInstaller

func NewInstaller(terminal *term.Terminal, basedir string, api pct.APIConnector, instanceRepo *instance.Repo, agentConfig *pc.Agent, flags Flags) (*Installer, error)

func (*Installer) CreateAgent

func (i *Installer) CreateAgent() error

func (*Installer) CreateMySQLInstance

func (i *Installer) CreateMySQLInstance() error

func (*Installer) CreateOSInstance

func (i *Installer) CreateOSInstance() error

func (*Installer) GetDefaultConfigs

func (i *Installer) GetDefaultConfigs(os, mysql *proto.Instance) (configs []proto.AgentConfig, err error)

func (*Installer) Run

func (i *Installer) Run() (err error)

Jump to

Keyboard shortcuts

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