parser

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2017 License: Apache-2.0 Imports: 41 Imported by: 0

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

Jump to

Keyboard shortcuts

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