cache

package
v0.0.0-...-4152587 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Templates

type Templates struct {
	// contains filtered or unexported fields
}

func NewInMemoryTemplatesCache

func NewInMemoryTemplatesCache() Templates

func (Templates) GetTemplate

func (t Templates) GetTemplate(repo, path, version string) (*models.Template, bool)

func (Templates) GetTemplateInitialValues

func (t Templates) GetTemplateInitialValues(repo, path, version string) (map[interface{}]interface{}, bool)

func (Templates) SetTemplate

func (t Templates) SetTemplate(repo, path, version string, template *models.Template)

func (Templates) SetTemplateInitialValues

func (t Templates) SetTemplateInitialValues(repo, path, version string, values map[interface{}]interface{})

Jump to

Keyboard shortcuts

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