MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Drivers

Method Drivers

pkg/util/loldrivers/client.go:224–232  ·  view source on GitHub ↗

Drivers returns a list of all drivers in the dataset.

()

Source from the content-addressed store, hash-verified

222
223// Drivers returns a list of all drivers in the dataset.
224func (c *Client) Drivers() []Driver {
225 c.mu.Lock()
226 defer c.mu.Unlock()
227 drivers := make([]Driver, 0, len(c.drivers))
228 for _, d := range c.drivers {
229 drivers = append(drivers, d)
230 }
231 return drivers
232}
233
234// Clear clears the internal dataset.
235func (c *Client) Clear() {

Callers 2

TestDownloadFunction · 0.80
TestRefreshFunction · 0.80

Implementers 7

httpClientpkg/aggregator/worker_test.go
consolepkg/outputs/console/console.go
nullpkg/outputs/null/null.go
_httppkg/outputs/http/http.go
evtlogpkg/outputs/eventlog/eventlog.go
rabbitmqpkg/outputs/amqp/amqp.go
elasticsearchpkg/outputs/elasticsearch/elasticsearc

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 2

TestDownloadFunction · 0.64
TestRefreshFunction · 0.64