update

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package update provides the update functionality for the server.

Index

Constants

View Source
const DefaultUpdateURL = "https://pkg.gpud.dev/"

Variables

Functions

func DisableGPUdSystemdUnit added in v0.4.5

func DisableGPUdSystemdUnit() error

func EnableGPUdSystemdUnit added in v0.4.5

func EnableGPUdSystemdUnit() error

func PackageUpdate added in v0.4.4

func PackageUpdate(targetPackage, ver, baseUrl, dataDir string) error

func RestartGPUdSystemdUnit added in v0.4.5

func RestartGPUdSystemdUnit() error

func StopSystemdUnit

func StopSystemdUnit() error

func UpdateExecutable added in v0.6.0

func UpdateExecutable(targetVersion string, url string, requireRoot bool) error

UpdateExecutable updates the GPUd binary executable itself.

func UpdateTargetVersion added in v0.7.0

func UpdateTargetVersion(versionFile string, autoExitCode int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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