helpers

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Copyright © 2024 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2024 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors. This code is based on github.com/MottainaiCI/lxd-compose

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile added in v0.5.0

func CopyFile(source, target string) error

func EnsureDir

func EnsureDir(dir string, uid, gid int, perm os.FileMode) error

func EnsureDirWithoutIds added in v0.5.0

func EnsureDirWithoutIds(dir string, perm os.FileMode) error

func GetFileMd5 added in v0.5.0

func GetFileMd5(f string) (string, error)

func GetTemplates

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

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

This section is empty.

Jump to

Keyboard shortcuts

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