templatenamespace

package
v0.3.293 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateNamespaceConfigurator

type TemplateNamespaceConfigurator interface {
	GetObjectName(string) string
	IsAllowed(string) bool
	RenderTemplate(string) (string, error)
}

func NewTemplateNamespaceConfigurator

func NewTemplateNamespaceConfigurator(regex *regexp.Regexp, tmpl *template.Template) (TemplateNamespaceConfigurator, error)

Jump to

Keyboard shortcuts

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