loader

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoadArchive = loader.LoadArchive

Functions

func Load

func Load(name string, fs vfs.FileSystem) (*chart.Chart, error)

func LoadDir

func LoadDir(fs vfs.FileSystem, dir string) (*chart.Chart, error)

LoadDir loads from a directory.

This loads charts only from directories.

Types

type Loader

type Loader interface {
	ChartArchive() (blobaccess.BlobAccess, error)
	ChartArtefactSet() (blobaccess.BlobAccess, error)
	Chart() (*chart.Chart, error)
	Provenance() ([]byte, error)

	Close() error
}

func AccessLoader

func AccessLoader(acc helm.ChartAccess) Loader

func VFSLoader

func VFSLoader(path string, fss ...vfs.FileSystem) Loader

Jump to

Keyboard shortcuts

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