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

Function InitClient

pkg/util/loldrivers/client.go:90–94  ·  view source on GitHub ↗

InitClient initializes the loldrivers by client by fetching the initial dataset.

(options ...Option)

Source from the content-addressed store, hash-verified

88
89// InitClient initializes the loldrivers by client by fetching the initial dataset.
90func InitClient(options ...Option) {
91 if c == nil {
92 c = initClient(options...)
93 }
94}
95
96// GetClient constructs a singleton instance of the loldrivers client.
97// If the client wasn't initialized, this function creates a new client

Callers 3

initLOLDriversClientFunction · 0.92
TestDownloadFunction · 0.85
TestRefreshFunction · 0.85

Calls 1

initClientFunction · 0.85

Tested by 2

TestDownloadFunction · 0.68
TestRefreshFunction · 0.68