downloadmanager

package
v0.0.0-...-194cf1f Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package downloadmanager helps us with file download related functions in ssm-setup-cli

Package downloadmanager helps us with file download related functions in ssm-setup-cli

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDownloadManager

type IDownloadManager interface {
	//DownloadArtifacts downloads the agent and manifest using the download manager
	DownloadArtifacts(version string, manifestUrl string, folderPath string) error
	DownloadSignatureFile(version, artifactsStorePath, extension string) (path string, err error)
	GetLatestVersion() (string, error)
	GetStableVersion() (string, error)
	DownloadLatestSSMSetupCLI(artifactsStorePath string, expectedCheckSum string) error
}

func New

func New(log log.T, region string, manifestURL string, updateInfo updateinfo.T, setupCLIArtifactsPath string, isNano bool) IDownloadManager

New returns a new instance of DownloadManager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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