Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrFailedToReadEmbeddedFiles = errors.New("failed to read embedded files")
ErrFailedToReadEmbeddedFiles returned when the tarball is not readable.
Functions ¶
This section is empty.
Types ¶
type BufferedFiles ¶
type BufferedFiles struct {
// contains filtered or unexported fields
}
BufferedFiles represents the group of files needed to load a Helm chart in memory, the files data is stored as `loader.BufferedFile` instances.
func NewBufferedFiles ¶
func NewBufferedFiles(cfs fs.FS, baseDir string) *BufferedFiles
NewBufferedFiles creates a new BufferedFiles instance.
func (*BufferedFiles) Files ¶
func (b *BufferedFiles) Files() []*loader.BufferedFile
Files returns the buffered files collected by "Walk" function.
type ChartFS ¶
type ChartFS struct {
// contains filtered or unexported fields
}
ChartFS represents a file system abstraction which provides the Helm charts payload, and as well the "values.yaml.tpl" file. It uses the embedded tarball as data source, and as well, the local file system.
func NewChartFS ¶
NewChartFS instantiates a ChartFS instance using the embedded tarball, and the local base directory.
func NewChartFSForCWD ¶
NewChartFSForCWD instantiates a ChartFS instance using the current working directory.
func (*ChartFS) GetChartFiles ¶ added in v1.4.0
GetChartFiles returns the informed Helm chart path instantiated files.