Documentation ¶
Index ¶
Constants ¶
View Source
const (
// .spec.useTemplate.useType
UseTypeMerge = "merge"
)
Variables ¶
This section is empty.
Functions ¶
func ApplyTemplates ¶
func ApplyTemplates(target *api.ClickHouseInstallation, subj TemplateSubject) (appliedTemplates []*api.TemplateRef)
ApplyTemplates applies templates provided by 'subj' over 'target'
func NormalizeTemplatesList ¶
func NormalizeTemplatesList(templates []*api.TemplateRef) []*api.TemplateRef
NormalizeTemplatesList normalizes list of templates use specifications
Types ¶
type TemplateSubject ¶
type TemplateSubject interface { GetNamespace() string GetLabels() map[string]string GetUsedTemplates() []*api.TemplateRef }
Click to show internal directories.
Click to hide internal directories.