updatemanifest

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Overview

Package updatemanifest implements the logic for the ssm agent s3 manifest.

Package updatemanifest implements the logic for the ssm agent s3 manifest.

Index

Constants

View Source
const (
	// version status of SSM agent
	VersionStatusActive     = "Active"
	VersionStatusInactive   = "Inactive"
	VersionStatusDeprecated = "Deprecated"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T interface {
	LoadManifest(manifestPath string) error
	HasVersion(packageName string, version string) bool
	GetLatestVersion(packageName string) (string, error)
	GetLatestActiveVersion(packageName string) (string, error)
	GetDownloadURLAndHash(packageName string, version string) (string, string, error)
	IsVersionDeprecated(packageName string, version string) (bool, error)
	IsVersionActive(packageName string, version string) (bool, error)
}

func New

func New(context context.T, info updateinfo.T, region string) T

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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