fake

package
v0.0.0-...-b43e092 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: Apache-2.0, MIT 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