Documentation
¶
Index ¶
- type Functions
- func (f *Functions) FuncMap() template.FuncMap
- func (f *Functions) JSONPath(object interface{}, jsonpath string) string
- func (f *Functions) KGet(path, jsonpath string) string
- func (f *Functions) ParseMarkdownTables(input string) []MarkdownTable
- func (f *Functions) Template(template string, vars interface{}) (string, error)
- type MarkdownTable
- type StructTemplater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Functions ¶
type Functions struct {
// contains filtered or unexported fields
}
func NewFunctions ¶
func NewFunctions(clientset *kubernetes.Clientset) *Functions
func (*Functions) ParseMarkdownTables ¶ added in v0.23.0
func (f *Functions) ParseMarkdownTables(input string) []MarkdownTable
type MarkdownTable ¶ added in v0.23.0
type StructTemplater ¶
type StructTemplater struct {
Values map[string]string
Clientset *kubernetes.Clientset
// IgnoreFields from walking where key is field name and value is field type
IgnoreFields map[string]string
// contains filtered or unexported fields
}
func (StructTemplater) Struct ¶
func (w StructTemplater) Struct(reflect.Value) error
this func is required to fulfil the reflectwalk.StructWalker interface
func (StructTemplater) StructField ¶
func (w StructTemplater) StructField(f reflect.StructField, v reflect.Value) error
func (StructTemplater) Template ¶
func (w StructTemplater) Template(val string) string
Click to show internal directories.
Click to hide internal directories.