package
5.1.1+incompatible
Repository: https://github.com/logicmonitor/k8s-argus.git
Documentation: pkg.go.dev
# Structs
Base is a struct for embedding.
Command base command.
HTTPCommand extended Command.
LMHCErrParse function to parse error response.
RateLimitUpdateRequest struct to send new rate limits received from server to manager.
WConfig worker configuration.
WorkerRateLimitsUpdate struct to send new rate limits received from server to manager.
WorkerResponse wraps response and error.
# Interfaces
DeviceBuilder is the interface responsible for building a device struct.
DeviceManager is an interface that describes how resources in Kubernetes are mapped into LogicMonitor as devices.
DeviceMapper is the interface responsible for mapping a Kubernetes resource to a LogicMonitor device.
HTTPWorker specific worker to handle http requests.
ICommand based command interface.
IHTTPCommand Http command interface.
LMExecutor All the.
LMFacade public interface others to interact with.
LMHCErrParser methods specific to lm sdk.
RateLimitManager interface for rate limit manager.
Responder interface to indicate response can be sent back.
Watcher is the LogicMonitor Watcher interface.
Worker worker interface to provide interface method.
# Type aliases
DeviceOption is the function definition for the functional options pattern.
ExecRequest funnction type to point to execute fubction.
ParseErrResp function signature to parse error response.
UpdateFilter is a boolean function to run predicate and return boolean value.