loader

package
v2.0.0-...-98cc131 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

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() (accessio.TemporaryBlobAccess, error)
	ChartArtefactSet() (accessio.TemporaryBlobAccess, 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