yaml

package
v0.2.0-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalYamlConfigs

func MarshalYamlConfigs(configs ...interface{}) ([]byte, error)

func MarshalYamlToFile

func MarshalYamlToFile(file string, obj ...interface{}) error

func Matcher

func Matcher(path string) bool

func ToJSON

func ToJSON(bs []byte) (jsons []string)

func ToYalms

func ToYalms(bs string) (yamls []string)

func Unmarshal

func Unmarshal(path string) (map[string]interface{}, error)

func UnmarshalData

func UnmarshalData(metadata []byte) (map[string]interface{}, error)

func UnmarshalYamlFromFile

func UnmarshalYamlFromFile(file string, obj interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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