installer

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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(basedir string, api pct.APIConnector, instanceRepo *instance.Repo, agentConfig *pc.Agent, hostname string, flags Flags) (*Installer, error)

func (*Installer) CreateAgent

func (i *Installer) CreateAgent() error

func (*Installer) CreateOSInstance

func (i *Installer) CreateOSInstance() error

func (*Installer) GetDefaultConfigs

func (i *Installer) GetDefaultConfigs(os *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