packages

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageInfo

type PackageInfo struct {
	Name          string
	ScriptPath    string
	TargetVersion string
	Dependency    [][]string
	TotalTime     time.Duration
}

type PackageStatus

type PackageStatus struct {
	Name           string        `json:"name"`
	IsInstalled    bool          `json:"is_installed"`
	Installing     bool          `json:"installing"`
	Progress       int           `json:"progress"`
	TotalTime      time.Duration `json:"total_time"`
	Status         bool          `json:"status"`
	TargetVersion  string        `json:"target_version"`
	CurrentVersion string        `json:"current_version"`
	ScriptPath     string        `json:"script_path"`
	Dependency     [][]string    `json:"dependency"`
}

type PackageStatuses

type PackageStatuses []PackageStatus

func (PackageStatuses) Len

func (a PackageStatuses) Len() int

func (PackageStatuses) Less

func (a PackageStatuses) Less(i, j int) bool

func (PackageStatuses) Swap

func (a PackageStatuses) Swap(i, j int)

Jump to

Keyboard shortcuts

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