yaml

package
Version: v2.14.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 3 Imported by: 3

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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL