Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(renderFunc func() (*chartrenderer.RenderedChart, error)) chartrenderer.ChartRenderer
New creates a new Fake chartRenderer
Types ¶
type ChartRenderer ¶
type ChartRenderer struct {
// contains filtered or unexported fields
}
ChartRenderer is a fake renderer for testing
func (*ChartRenderer) Render ¶
func (r *ChartRenderer) Render(chartPath, releaseName, namespace string, values map[string]interface{}) (*chartrenderer.RenderedChart, error)
Render renders provided chart in struct
func (*ChartRenderer) RenderArchive ¶
func (r *ChartRenderer) RenderArchive(archive []byte, releaseName, namespace string, values map[string]interface{}) (*chartrenderer.RenderedChart, error)
RenderArchive renders provided chart archive.
Click to show internal directories.
Click to hide internal directories.