updater

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Repository = "https://github.com/iBug/docker-ibug"
	Filename   = "docker-ibug"
)
View Source
const RequiredDirName = "cli-plugins"

Variables

This section is empty.

Functions

func CanUpdate

func CanUpdate() error

func DownloadFile

func DownloadFile(w *os.File, url string) error

func GetLatestTag

func GetLatestTag(repo string) (string, error)

func InstallDir

func InstallDir() (string, error)

func UpdateBinary

func UpdateBinary(w io.Writer, force bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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