commands

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader, o interface{}) error

Decode decodes yaml into objects.

func Encode

func Encode(w io.Writer, o interface{}) error

Encode encodes objects into yaml. Call multiple times on a single writer to encode multiple documents.

func NewGenerateCommand

func NewGenerateCommand() *cobra.Command

func NewInitCommand

func NewInitCommand() *cobra.Command

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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