installer

package
v2.9.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadHTTPFile

func DownloadHTTPFile(opts DownloaderArgs) error

func DownloadSMBFile

func DownloadSMBFile(opts DownloaderArgs) error

func InstallRemoteFile

func InstallRemoteFile(
	ctx context.Context,
	cfg *config.Instance,
	pl platforms.Platform,
	fileURL string,
	systemID string,
	preNotice string,
	displayName string,
	downloader func(opts DownloaderArgs) error,
) (string, error)

Types

type AuthTransport

type AuthTransport struct {
	Base http.RoundTripper
}

func (*AuthTransport) RoundTrip

func (t *AuthTransport) RoundTrip(req *http.Request) (*http.Response, error)

type DownloaderArgs

type DownloaderArgs struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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