MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / LAPI

Function LAPI

cmd/crowdsec-cli/core/require/require.go:42–44  ·  view source on GitHub ↗
(c *csconfig.Config)

Source from the content-addressed store, hash-verified

40}
41
42func LAPI(c *csconfig.Config) error {
43 return _lapi(c, false)
44}
45
46// LAPINoOnlineCreds is a variant of LAPI that does not attempt to load and use capi credentials.
47func LAPINoOnlineCreds(c *csconfig.Config) error {

Callers 15

newStatusCmdMethod · 0.92
newFlushCmdMethod · 0.92
NewCommandMethod · 0.92
NewCommandMethod · 0.92
NewCommandMethod · 0.92
validBouncerIDMethod · 0.92
NewCommandMethod · 0.92
validMachineIDMethod · 0.92
validAllowlistsMethod · 0.92
newCreateCmdMethod · 0.92
newDeleteCmdMethod · 0.92

Calls 1

_lapiFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…