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.
Click to show internal directories.
Click to hide internal directories.