utils

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LabelsToString

func LabelsToString(labels map[string]string) string

LabelsToString converts a map of labels to a string.

func ReadFileAsString

func ReadFileAsString(filename string) (string, error)

ReadFileAsString returns a file as a string or an error.

func ReadStdInAsString

func ReadStdInAsString() (string, error)

ReadStdInAsString returns stdin as a string or an error.

func YAMLToJSON

func YAMLToJSON(yml string) (string, error)

YAMLToJSON converts YAML to JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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