package
Version:
v0.1.18
Opens a new window with list of versions in this module.
Published: Jul 16, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package opensearchinspect provides bounded, read-only OpenSearch metadata inspection.
View Source
const (
DefaultMaxTargets = 2000
DefaultMaxFields = 20000
)
type Field struct {
Name string `json:"name"`
Types []string `json:"types"`
Searchable bool `json:"searchable"`
Aggregatable bool `json:"aggregatable"`
Conflicting bool `json:"conflicting,omitempty"`
}
type FieldCatalog struct {
Target Target `json:"target"`
Fields []Field `json:"fields"`
Truncated bool `json:"truncated,omitempty"`
TruncateReason string `json:"truncateReason,omitempty"`
}
type Inspector struct {
}
type Options struct {
MaxTargets int
MaxFields int
}
type Target struct {
Name string `json:"name"`
Kind string `json:"kind"`
Hidden bool `json:"hidden,omitempty"`
System bool `json:"system,omitempty"`
DataStream string `json:"dataStream,omitempty"`
}
type TargetCatalog struct {
Targets []Target `json:"targets"`
Truncated bool `json:"truncated,omitempty"`
TruncateReason string `json:"truncateReason,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.