inspect

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdInspectConfig

type CmdInspectConfig struct {
	InputFile string
	Inputs    []string
	JSONPath  string
}

type InspectResult added in v0.15.0

type InspectResult struct {
	Data      []byte
	RawOutput bool
}

InspectResult holds the output of InspectInMMDB. When RawOutput is true, Data contains raw JSONPath template output and should be printed directly. When false, Data is JSON and should go through output.Output.

func InspectInMMDB

func InspectInMMDB(cfg CmdInspectConfig) (InspectResult, error)

Jump to

Keyboard shortcuts

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