yaml

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 27

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanAnnotationsForExport added in v0.7.0

func CleanAnnotationsForExport(annotations map[string]string) map[string]string

func CleanObjectForExport added in v0.6.0

func CleanObjectForExport(obj runtime.Object) (runtime.Object, error)

func Export added in v0.6.0

func Export(objects ...runtime.Object) ([]byte, error)

Export will attempt to clean up the objects a bit before rendering to yaml so that they can easily be imported into another cluster

func ToBytes

func ToBytes(objects []runtime.Object) ([]byte, error)

func ToObjects

func ToObjects(in io.Reader) ([]runtime.Object, error)

func Unmarshal

func Unmarshal(data []byte, v 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