yaml

package
v0.8.4-0...-97960e5 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanAnnotationsForExport

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

func CleanObjectForExport

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

func Export

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