Documentation
¶
Overview ¶
Package splunk provides bounded, scoped Splunk search-job reads for native tools.
Index ¶
Constants ¶
View Source
const MaximumLimit = 50
Variables ¶
View Source
var ErrCleanup = errors.New("splunk: job cleanup unconfirmed")
View Source
var ErrInvalidArgument = errors.New("splunk: invalid argument")
View Source
var ErrInvalidConfig = errors.New("splunk: invalid configuration")
View Source
var ErrRead = errors.New("splunk: read failed")
View Source
var ErrResponseTooLarge = errors.New("splunk: response too large")
View Source
var ErrUnsupportedScope = errors.New("splunk: configured search cannot be safely scoped")
Functions ¶
This section is empty.
Types ¶
type DiscoveryRequest ¶
type DiscoveryResult ¶
type ReadRequest ¶
type ReadResult ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) Discover ¶
func (service *Service) Discover(ctx context.Context, request DiscoveryRequest) (DiscoveryResult, error)
func (*Service) Read ¶
func (service *Service) Read(ctx context.Context, request ReadRequest) (ReadResult, error)
Click to show internal directories.
Click to hide internal directories.