interactive

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

package interactive implements wizard-based installation workflow

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// FieldLogger is the logger for the installer
	log.FieldLogger
	// Operator specifies the service operator
	ops.Operator
	// AdvertiseAddr specifies the advertise address of the wizard
	AdvertiseAddr string
}

Config defines the installer configuration

type Engine

type Engine struct {
	// Config specifies the engine's configuration
	Config
}

Engine implements interactive installation workflow

func New

func New(config Config) (*Engine, error)

New returns a new installer that implements interactive installation workflow

func (*Engine) Execute

func (r *Engine) Execute(ctx context.Context, installer install.Interface, config install.Config) (dispatcher.Status, error)

Execute runs the wizard operation

Jump to

Keyboard shortcuts

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