render

package
v0.40.0-geaaru Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright © 2019-2023 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RenderEngine

type RenderEngine struct {
	Config            *config.LuetConfig
	Templates         []*chart.File
	MetadataNamespace string

	Values    map[string]interface{}
	DefValues map[string]interface{}
}

func NewRenderEngine

func NewRenderEngine(cfg *config.LuetConfig) *RenderEngine

func (*RenderEngine) CloneWithoutValues

func (re *RenderEngine) CloneWithoutValues() *RenderEngine

func (*RenderEngine) LoadDefaultValues

func (re *RenderEngine) LoadDefaultValues(files []string) error

func (*RenderEngine) LoadTemplates

func (re *RenderEngine) LoadTemplates(templateDirs []string) error

func (*RenderEngine) LoadValues

func (re *RenderEngine) LoadValues(files []string) error

func (*RenderEngine) Render

func (re *RenderEngine) Render(raw *[]byte,
	overrideValues map[string]interface{}) (string, error)

func (*RenderEngine) RenderFile

func (re *RenderEngine) RenderFile(file string,
	overrideValues map[string]interface{}) (string, error)

Jump to

Keyboard shortcuts

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