utils

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FprintZipData

func FprintZipData(dest *bytes.Buffer, zipData []byte)

FprintZipData converts zip binary contents to a string literal. From https://github.com/rakyll/statik/blob/master/statik.go#L313

func GetChartSource added in v0.3.4

func GetChartSource(path string) (string, error)

GetChartSource is a helper to convert a filepath to a chart to a base64-encoded, gzipped tarball.

func LoadChart added in v0.3.4

func LoadChart(source string) (*chart.Chart, error)

LoadChart is a helper to turn a base64-encoded, gzipped tarball into a chart.

Types

This section is empty.

Jump to

Keyboard shortcuts

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