Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultTemplateOps = "missingkey=error"
)
View Source
const (
GoTemplateLibraryAnnotationKey = "config.kubeblocks.io/go-template-library"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltInObjectsFunc ¶
type BuiltInObjectsFunc map[string]interface{}
type TplEngine ¶
type TplEngine struct {
// contains filtered or unexported fields
}
func NewTplEngine ¶
func NewTplEngine(values *TplValues, funcs *BuiltInObjectsFunc, tplName string, cli types2.ReadonlyClient, ctx context.Context) *TplEngine
NewTplEngine create go template helper To support this caller has a concept of import dependency which is recursive.
As it recurses, it also sets the values to be appropriate for the parameters of the called function, it looks like it's calling a local function.
func (*TplEngine) GetTplEngine ¶
Click to show internal directories.
Click to hide internal directories.