installer

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

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package installer provides utilities for installing a Chapper instance

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdvancedSteps

func AdvancedSteps() []*survey.Question

func QuickSteps

func QuickSteps() []*survey.Question

Types

type Answers

type Answers struct {
	InstanceName       string `survey:"instance-name"`
	InstanceDomain     string `survey:"instance-domain"`
	DatabaseType       string `survey:"database-type"`
	DatabaseUser       string `survey:"database-user"`
	DatabasePassword   string `survey:"database-password"`
	DatabaseName       string `survey:"database-name"`
	DatabaseHost       string `survey:"database-host"`
	DatabasePort       string `survey:"database-port"`
	FrontendAuto       bool   `survey:"frontend-auto"`
	FrontendPath       string `survey:"frontend-path"`
	ConfigPath         string `survey:"config-path"`
	AdminPanelPassword string `survey:"admin-panel-password"`
}

type Installer

type Installer struct {
	Type string
	Step int
	// contains filtered or unexported fields
}

func New

func New() *Installer

func (*Installer) GetAnswers

func (i *Installer) GetAnswers() *Answers

func (*Installer) InstallServer

func (i *Installer) InstallServer() error

func (*Installer) Start

func (i *Installer) Start() error

Jump to

Keyboard shortcuts

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