downloadsources

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadSources

func DownloadSources(env *azldev.Env, options *DownloadSourcesOptions) error

DownloadSources downloads source files from a lookaside cache into the specified directory.

func NewDownloadSourcesCmd

func NewDownloadSourcesCmd() *cobra.Command

NewDownloadSourcesCmd creates the download-sources cobra command.

func OnAppInit

func OnAppInit(_ *azldev.App, parentCmd *cobra.Command)

OnAppInit registers the download-sources command as a subcommand of the given parent.

Types

type DownloadSourcesOptions

type DownloadSourcesOptions struct {
	Directory           string
	OutputDir           string
	LookasideBaseURIs   []string
	ComponentName       string
	LookasideDownloader fedorasource.FedoraSourceDownloader
}

DownloadSourcesOptions holds the options for the download-sources command.

Jump to

Keyboard shortcuts

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