helpers

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright © 2024 Daniele Rondina <geaaru@macaronios.org> See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2024 Daniele Rondina <geaaru@macaronios.org> See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2024 Daniele Rondina <geaaru@macaronios.org> See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2024 Daniele Rondina <geaaru@macaronios.org> See AUTHORS and LICENSE for the license details and contributors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(name string) bool

Exists reports whether the named file or directory exists.

func GetTemplates

func GetTemplates(templateDirs []string) ([]*chart.File, error)

func RegexEntry

func RegexEntry(regexString string, listEntries []string) []string

func RenderContent

func RenderContent(raw, valuesFile, defaultFile, originFile string,
	overrideValues map[string]interface{}) (string, error)

func RenderContentWithTemplates

func RenderContentWithTemplates(
	raw, valuesFile, defaultFile, originFile string,
	overrideValues map[string]interface{},
	templateDirs []string) (string, error)

Types

type NopCloseWriter

type NopCloseWriter struct {
	*bytes.Buffer
}

func NewNopCloseWriter

func NewNopCloseWriter(buf *bytes.Buffer) *NopCloseWriter

func (*NopCloseWriter) Close

func (ncw *NopCloseWriter) Close() error

Jump to

Keyboard shortcuts

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