dashboardassets

package
v0.1.0-alpha.202401051709 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ensure

func Ensure(ctx context.Context) error

func ExtractTarGz

func ExtractTarGz(ctx context.Context, gzipStream io.Reader, dest string) error

ExtractTarGz extracts a .tar.gz archive to a destination directory. this can go into pipe-fittings

Types

type Asset

type Asset struct {
	Url                string `json:"url"`
	BrowserDownloadURL string `json:"browser_download_url"`
	Name               string `json:"name"`
}

Asset represents a release asset

type Release

type Release struct {
	Name   string  `json:"name"`
	Assets []Asset `json:"assets"`
}

Release represents a GitHub release

type ReportAssetsVersionFile

type ReportAssetsVersionFile struct {
	Version string `json:"version"`
}

Jump to

Keyboard shortcuts

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