package
1.6.0-alpha.0
Repository: https://github.com/libnux/kubernetes.git
Documentation: pkg.go.dev

# Functions

GuessJSONStream scans the provided reader up to size, looking for an open brace indicating this is JSON.
NewDocumentDecoder decodes YAML documents from the provided stream in chunks by converting each document (as defined by the YAML spec) into its own chunk.
NewYAMLOrJSONDecoder returns a decoder that will process YAML documents or JSON documents from the given reader as a stream.
No description provided by the author
NewYAMLToJSONDecoder decodes YAML documents from the provided stream in chunks by converting each document (as defined by the YAML spec) into its own chunk, converting it to JSON via yaml.YAMLToJSON, and then passing it to json.Decoder.
ToJSON converts a single YAML document into a JSON document or returns an error.

# Structs

No description provided by the author
YAMLDecoder reads chunks of objects and returns ErrShortBuffer if the data is not sufficient.
YAMLOrJSONDecoder attempts to decode a stream of JSON documents or YAML documents by sniffing for a leading { character.
No description provided by the author
YAMLToJSONDecoder decodes YAML documents from an io.Reader by separating individual documents.

# Interfaces

No description provided by the author