loader

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load added in v1.2.2

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

func LoadArchive added in v1.2.2

func LoadArchive(in io.Reader) (*chart.Chart, error)

func LoadFile added in v1.2.2

func LoadFile(name string) (*chart.Chart, error)

func LoadFiles added in v1.2.2

func LoadFiles(files []*BufferedFile) (*chart.Chart, error)

Types

type BufferedFile

type BufferedFile struct {
	Name string
	Data []byte
}

func LoadArchiveFiles added in v1.2.2

func LoadArchiveFiles(in io.Reader) ([]*BufferedFile, error)

func LoadDir

func LoadDir(path string) ([]*BufferedFile, error)

type ChartLoader added in v1.2.2

type ChartLoader interface {
	Load() (*chart.Chart, error)
}

func Loader added in v1.2.2

func Loader(name string) (ChartLoader, error)

type DirLoader added in v1.2.2

type DirLoader string

func (DirLoader) Load added in v1.2.2

func (l DirLoader) Load() (*chart.Chart, error)

type FileLoader added in v1.2.2

type FileLoader string

func (FileLoader) Load added in v1.2.2

func (l FileLoader) Load() (*chart.Chart, error)

Jump to

Keyboard shortcuts

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