fake

package
v0.0.0-...-32fc51b Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 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

Jump to

Keyboard shortcuts

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