package
6.8.16+incompatible
Repository: https://github.com/tencentblueking/beats.git
Documentation: pkg.go.dev

# Functions

ConfigBlocksEqual returns true if the given config blocks are equal, false if not.
ConfigFromURL generates a full kibana client config from an URL.
IsConfigurationNotFound returns true if the configuration was not found.
NewClient creates and returns a kibana client.
NewEventReporter returns a new event reporter.

# Structs

AuthClient is a authenticated client to the CM endpoint and exposes the calls that require the clients to pass credentials (UUID and AccessToken).
Client to Central Management API.
ConfigBlock stores a piece of config from central management.
ConfigBlocksWithType is a list of config blocks with the same type.
EventAPIResponse is the top level response for the events endpoints.
EventReporter is an object that will periodically send asyncronously events to the CM events endpoints.
EventRequest is the data send to the CM event endpoint.
EventResponse is the indiviual response for each event request.

# Interfaces

AuthClienter is the interface exposed by the auth client and is useful for testing without calling a remote endpoint.
Event is the interface for the events to be send to the event endpoint.

# Type aliases

ConfigBlocks holds a list of type + configs objects.
EventType is the type of event that the events endpoint can understand.