progress

package
v0.0.0-...-bb2a316 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

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

func NewInfo

func NewInfo() *Info

func (*Info) NewComponent

func (i *Info) NewComponent(comp string) *ManifestInfo

func (*Info) SetMessage

func (i *Info) SetMessage(status string, finish bool)

func (*Info) SetState

func (i *Info) SetState(state InstallState)

type InstallState

type InstallState int
const (
	StateInstalling InstallState = iota
	StatePruning
	StateComplete
	StateUninstallComplete
)

type ManifestInfo

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

func (*ManifestInfo) ReportError

func (mi *ManifestInfo) ReportError(err string)

func (*ManifestInfo) ReportFinished

func (mi *ManifestInfo) ReportFinished()

func (*ManifestInfo) ReportProgress

func (mi *ManifestInfo) ReportProgress()

Jump to

Keyboard shortcuts

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