onboarding

package
v0.9.0-dev.8 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: GPL-3.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	StatePath            string
	SettingsPath         string
	Settings             config.Settings
	InitialSetupRequired bool
}

type Service

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

func Open

func Open(options Options) (*Service, error)

func (*Service) Status

func (s *Service) Status() Status

func (*Service) Update

func (s *Service) Update(update Update) (Status, error)

type Snapshot

type Snapshot struct {
	Status   Status
	Revision uint64
}

Snapshot couples onboarding values with the global revision at which they were observed.

type Status

type Status struct {
	Complete        bool
	MixedAddr       string
	ControllerAddr  string
	WebAddr         string
	RestartRequired bool
}

type Update

type Update struct {
	Complete       *bool
	MixedAddr      *string
	ControllerAddr *string
	WebAddr        *string
}

Jump to

Keyboard shortcuts

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