streamdiff

package
v0.0.0-...-13f2c0e Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FirstSeenModeOptions = map[FirstSeenMode][]string{
	EmitKeysOnFirstSeen:   {"keys-only", "keys"},
	SilenceOnFirstSeen:    {"silence", "quiet"},
	FullObjectOnFirstSeen: {"full", "all"},
}

Functions

func NewCommand

func NewCommand() *cobra.Command

Types

type FirstSeenMode

type FirstSeenMode enumflag.Flag
const (
	EmitKeysOnFirstSeen FirstSeenMode = iota
	SilenceOnFirstSeen
	FullObjectOnFirstSeen
)

type ProgramEvaluationError

type ProgramEvaluationError struct {
	Inner      error
	Object     interface{}
	RawProgram string
}

func NewProgramEvaluationError

func NewProgramEvaluationError(err error, prog string, obj interface{}) *ProgramEvaluationError

func (*ProgramEvaluationError) Error

func (e *ProgramEvaluationError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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