Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetConfigValuesFunc ¶
GetConfigValuesFunc is function type that returns the configuration values for the given profile
type HoHRenderer ¶
type HoHRenderer struct {
// contains filtered or unexported fields
}
HoHRenderer is an implementation of the Renderer interface for multicluster-global-hub scenario
func (*HoHRenderer) Render ¶
func (r *HoHRenderer) Render(component, profile string, getConfigValuesFunc GetConfigValuesFunc) ( []*unstructured.Unstructured, error, )
func (*HoHRenderer) RenderWithFilter ¶
func (r *HoHRenderer) RenderWithFilter(component, profile, filter string, getConfigValuesFunc GetConfigValuesFunc) ( []*unstructured.Unstructured, error, )
type Renderer ¶
type Renderer interface { Render(component, profile string, getConfigValuesFunc GetConfigValuesFunc) ([]*unstructured.Unstructured, error) RenderWithFilter(component, profile, filter string, getConfigValuesFunc GetConfigValuesFunc) ( []*unstructured.Unstructured, error) }
Renderer is the interface for the template renderer
func NewHoHRenderer ¶
NewHoHRenderer create a HoHRenderer with given filesystem
Click to show internal directories.
Click to hide internal directories.