yaml

package
v2.14.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 3 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 syntetic resource. This just makes the YAML look nicer when presented to the enduser.

Types

This section is empty.

Jump to

Keyboard shortcuts

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