manifests

package
v0.19.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileReader

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

type Reader

type Reader struct {
	FileReader
	// contains filtered or unexported fields
}

func NewReader

func NewReader(filereader FileReader, opts ...ReaderOpt) *Reader

func (*Reader) ReadBundlesForVersion

func (r *Reader) ReadBundlesForVersion(version string) (*releasev1.Bundles, error)

ReadBundlesForVersion returns a Bundle based on the version.

func (*Reader) ReadCharts

func (r *Reader) ReadCharts(eksaVersion string) ([]releasev1.Image, error)

func (*Reader) ReadChartsFromBundles

func (r *Reader) ReadChartsFromBundles(ctx context.Context, b *releasev1.Bundles) []releasev1.Image

func (*Reader) ReadEKSD

func (r *Reader) ReadEKSD(eksaVersion, kubeVersion string) (*eksdv1.Release, error)

func (*Reader) ReadImages

func (r *Reader) ReadImages(eksaVersion string) ([]releasev1.Image, error)

func (*Reader) ReadImagesFromBundles

func (r *Reader) ReadImagesFromBundles(_ context.Context, b *releasev1.Bundles) ([]releasev1.Image, error)

func (*Reader) ReadReleaseForVersion added in v0.17.0

func (r *Reader) ReadReleaseForVersion(version string) (*releasev1.EksARelease, error)

ReadReleaseForVersion returns an EksaRelease based on a version.

type ReaderOpt

type ReaderOpt func(*Reader)

func WithReleasesManifest

func WithReleasesManifest(manifestURL string) ReaderOpt

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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