utils

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvaluateJsonnet added in v0.6.0

func EvaluateJsonnet(filename string) ([]byte, error)

func IsJSON

func IsJSON(data []byte) bool

func JSONToYAML

func JSONToYAML(data []byte) ([]byte, error)

func PrettyJSON

func PrettyJSON(data []byte) string

func ReadJSONorJsonnet added in v0.6.0

func ReadJSONorJsonnet(path string) ([]byte, error)

func YAMLToJSON

func YAMLToJSON(data []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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