fake

package
v0.0.0-...-be4dc66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2019 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL