Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme)

func OpenStreamsFromFiles

func OpenStreamsFromFiles(filenames []string) ([]io.ReadCloser, error)

func Parse

func Parse(filenames []string, useStdin bool) ([]map[string]interface{}, error)

Parse reads input files and then returns a deserialized data structure

func ParseKokiNativeObject

func ParseKokiNativeObject(obj interface{}) (interface{}, error)

func ParseSingleKubeNative

func ParseSingleKubeNative(obj map[string]interface{}) (runtime.Object, error)

func ParseSingleKubeNativeFromBytes

func ParseSingleKubeNativeFromBytes(data []byte) (runtime.Object, error)

func ParseStreams

func ParseStreams(streams []io.ReadCloser) ([]map[string]interface{}, error)

parses each stream into a go object and closes the stream once done

func UnparseKokiNativeObject

func UnparseKokiNativeObject(kokiObj interface{}) (map[string]interface{}, error)

Types

This section is empty.

Directories

Path Synopsis
expressions