yaml

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: Apache-2.0 Imports: 13 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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