releases

package
v0.19.8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BundleManifestURL added in v0.19.0

func BundleManifestURL(releases *releasev1.Release, version string) (string, error)

BundleManifestURL returns the Bundles manifest URL for the release matched by the provided version. If no release is found for the version, an error is returned.

func GetBundleManifestURL added in v0.18.4

func GetBundleManifestURL(reader Reader, version string) (string, error)

GetBundleManifestURL fetches the bundle manifest URL pertaining to this release version of EKS Anywhere.

func ManifestURL

func ManifestURL() string

func ReadBundlesForRelease

func ReadBundlesForRelease(reader Reader, release *releasev1.EksARelease) (*releasev1.Bundles, error)

func ReadReleases

func ReadReleases(reader Reader) (*releasev1.Release, error)

func ReadReleasesFromURL

func ReadReleasesFromURL(reader Reader, url string) (*releasev1.Release, error)

func ReleaseForVersion

func ReleaseForVersion(releases *releasev1.Release, version string) (*releasev1.EksARelease, error)

Types

type Reader

type Reader interface {
	ReadFile(url string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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