decoder

package
v0.0.0-...-41cc2e7 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSplitter

func GenerateSplitter(paths ...any) func(obj any) ([]any, bool)

func KubernetesListSplitter

func KubernetesListSplitter(obj any) ([]any, bool)

Types

type SplitterFunc

type SplitterFunc func(any) ([]any, bool)

type Stream

type Stream struct {
	// contains filtered or unexported fields
}

func NewStream

func NewStream(r io.Reader, splitter SplitterFunc) *Stream

func (*Stream) Decode

func (s *Stream) Decode(obj *any) error

func (*Stream) More

func (s *Stream) More() bool

Jump to

Keyboard shortcuts

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