dashboardassets

package
v0.1.0-alpha.202401081848 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EnvAssetsLookup = "POWERPIPE_ASSETS_LOOKUP" // an environment which disables fetching and verification of assets
)

Variables

This section is empty.

Functions

func Ensure

func Ensure(ctx context.Context) error

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