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 creates go template helper
func (*TplEngine) GetTplEngine ¶
Click to show internal directories.
Click to hide internal directories.