bins

package
v1.8.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const INSTALL_PATH = "/usr/local/bin"

Variables

This section is empty.

Functions

func InstallRestic

func InstallRestic() error

func Uninstall

func Uninstall(restic bool) error

func Upgrade

func Upgrade(restic bool) error

Types

type GithubRelease

type GithubRelease struct {
	Tag    string               `json:"tag_name"`
	Assets []GithubReleaseAsset `json:"assets"`
}

type GithubReleaseAsset

type GithubReleaseAsset struct {
	Name string `json:"name"`
	Link string `json:"browser_download_url"`
}

Jump to

Keyboard shortcuts

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