Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultContext = []byte(`
context: {
name: string
namespace: string
}
`)
DefaultContext the default context template
Functions ¶
This section is empty.
Types ¶
type ConfigRenderContext ¶
type ConfigRenderContext struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
}
ConfigRenderContext the default context values for render the config
type ReadConfigProvider ¶
type ReadConfigProvider func(ctx context.Context, namespace string, name string) (map[string]interface{}, error)
ReadConfigProvider the provide function for reading the config properties
Click to show internal directories.
Click to hide internal directories.