manifests

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 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)

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)

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