yaml

package
v2.18.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(resource interface{}, output io.Writer) error

Encode takes a runtime object and creates a YAML encoded version in the given output. The special aspect of this function is that it does not output the creationTimestamp when marshalling a synthetic resource. This just makes the YAML look nicer when presented to the enduser.

func ParseMultipleDocuments

func ParseMultipleDocuments(input io.Reader) ([]runtime.RawExtension, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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