bundles

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Charts

func Charts(bundles *releasev1.Bundles) []releasev1.Image

func Read

func Read(reader Reader, url string) (*releasev1.Bundles, error)

func ReadEKSD

func ReadEKSD(reader Reader, versionsBundle releasev1.VersionsBundle) (*eksdv1.Release, error)

func ReadImages

func ReadImages(reader Reader, bundles *releasev1.Bundles, kubeVersions ...string) ([]releasev1.Image, error)

ReadImages returns a list of all images included in the Bundles and the referenced EKS-D Releases, all of them filtered by kubernetes version. If not kubernetes versions all provided, all images are returned.

func VersionsBundleForKubernetesVersion

func VersionsBundleForKubernetesVersion(bundles *releasev1.Bundles, kubeVersion string) *releasev1.VersionsBundle

Types

type Manifest added in v0.15.0

type Manifest struct {
	Filename string
	Content  []byte
}

Manifest holds the data of a manifest referenced in the Bundles.

func ReadManifest added in v0.15.0

func ReadManifest(reader Reader, manifest releasev1.Manifest) (*Manifest, error)

ReadManifest reads the content of a releasev1.Manifest.

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