MCPcopy
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
53func (c *ApiClient) GetClient() *http.Client {
54 return c.client
55}
56
57func (c *ApiClient) IsEnrolled() bool {
58 jwtTransport := c.client.Transport.(*JWTTransport)

Callers 7

InitLAPIClientFunction · 0.80
ManagementCmdFunction · 0.80
AuthenticateMethod · 0.80
updateOneAllowlistMethod · 0.80
NewPAPIFunction · 0.80
GetPermissionsMethod · 0.80
queryCAPIStatusFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected