download

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageURL

type ImageURL struct {
	Distro  string
	Release string
	Arch    string
	URL     string
}

ImageURL captures the details and URL of the image to download.

func New

func New(distro string, release string, arch string) (*ImageURL, error)

New initializes a new ImageURL struct to create a download URL.

func (*ImageURL) Download

func (i *ImageURL) Download() (string, error)

Download an image.

Jump to

Keyboard shortcuts

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