MCPcopy Index your code
hub / github.com/PatchMon/PatchMon / GetCredentials

Method GetCredentials

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

GetCredentials returns the current credentials

()

Source from the content-addressed store, hash-verified

109
110// GetCredentials returns the current credentials
111func (m *Manager) GetCredentials() *models.Credentials {
112 return m.credentials
113}
114
115// LoadConfig loads configuration from file
116func (m *Manager) LoadConfig() error {

Callers 6

NewFunction · 0.80
getServerVersionInfoFunction · 0.80
runServiceLoopFunction · 0.80
connectOnceFunction · 0.80
showConfigFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected