k8sYamlKit

package
v3.1.112 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Marshal func(o interface{}) ([]byte, error) = yaml.Marshal
View Source
var Unmarshal func(y []byte, o interface{}, opts ...yaml.JSONOpt) error = yaml.Unmarshal

Functions

func MarshalToFile

func MarshalToFile(in interface{}, filePath string, perm os.FileMode) error

func MarshalToString

func MarshalToString(in interface{}) (string, error)

func UnmarshalFromString

func UnmarshalFromString(in string, out 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