selfupdate

package
v0.0.0-...-04422ec Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package selfupdate verifies and hands a runner release to the official installer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, opts Options) error

Run verifies an immutable release and delegates the actual replacement to the installer bundled inside it.

Types

type Options

type Options struct {
	Version        string
	CurrentVersion string
	Stdout         io.Writer
	Stderr         io.Writer
}

Options are the operator choices and output streams for one update.

Jump to

Keyboard shortcuts

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