k8syaml

package
v0.0.0-...-1ece54f Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(in io.Reader) ([]*unstructured.Unstructured, error)

Decode returns a slice of parse unstructured Kubernetes API objects from a specified JSON or YAML file.

func Encode

func Encode(out io.Writer, documents []*unstructured.Unstructured) error

Encode prints the specified documents encode as YAML into the writer.

func GVKEquals

func GVKEquals(a, b schema.GroupVersionKind) bool

GVKEquals returns true if both specified struct have equal fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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