MCPcopy
hub / github.com/Ne0nd0g/merlin / Add

Method Add

pkg/agents/repository.go:30–30  ·  view source on GitHub ↗
(agent Agent)

Source from the content-addressed store, hash-verified

28// Repository is an interface used to add, get, or update Agents from a data source
29type Repository interface {
30 Add(agent Agent) error
31 Get(id uuid.UUID) (Agent, error)
32 GetAll() (agents []Agent)
33 Remove(id uuid.UUID) error

Callers 15

buildJobMethod · 0.65
fileTransferMethod · 0.65
HandlerMethod · 0.65
socksJobsMethod · 0.65
NewListenerMethod · 0.65
addJobFunction · 0.65
GetAgentStatusMethod · 0.65
ReconnectMethod · 0.65
RegisterMethod · 0.65
getTLSConfigFunction · 0.65
HandleMethod · 0.65
delegateMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected