Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/crowdsecurity/crowdsec
/ GetClient
Method
GetClient
pkg/apiclient/client.go:53–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
}
52
53
func
(c *ApiClient) GetClient() *http.Client {
54
return
c.client
55
}
56
57
func
(c *ApiClient) IsEnrolled() bool {
58
jwtTransport := c.client.Transport.(*JWTTransport)
Callers
7
InitLAPIClient
Function · 0.80
ManagementCmd
Function · 0.80
Authenticate
Method · 0.80
updateOneAllowlist
Method · 0.80
NewPAPI
Function · 0.80
GetPermissions
Method · 0.80
queryCAPIStatus
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected