MCPcopy Create free account
hub / github.com/PatchMon/PatchMon / GetConfig

Method GetConfig

agent-source-code/internal/config/config.go:106–108  ·  view source on GitHub ↗

GetConfig returns the current configuration

()

Source from the content-addressed store, hash-verified

104
105// GetConfig returns the current configuration
106func (m *Manager) GetConfig() *models.Config {
107 return m.config
108}
109
110// GetCredentials returns the current credentials
111func (m *Manager) GetCredentials() *models.Credentials {

Callers 10

NewFunction · 0.80
showDiagnosticsFunction · 0.80
getServerVersionInfoFunction · 0.80
initialiseAgentFunction · 0.80
updateLogLevelFunction · 0.80
runServiceLoopFunction · 0.80
connectOnceFunction · 0.80
showConfigFunction · 0.80
configureCredsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected