MCPcopy Index your code
hub / github.com/cloudfoundry/bosh-agent

github.com/cloudfoundry/bosh-agent @v2.862.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.862.0 ↗ · + Follow
4,459 symbols 12,968 edges 670 files 205 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BOSH Agent

Developer Notes

See Dev Setup.

Extension points exported contracts — how you extend this code

CancellableScript (Interface)
counterfeiter:generate . CancellableScript [48 implementers]
agent/script/script_interface.go
PlatformSettingsGetter (Interface)
go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . PlatformSettingsGetter [5 implementers]
settings/service.go
BundleDefinition (Interface)
BundleDefinition uniquely identifies an asset within a BundleCollection (e.g. Job, Package) [5 implementers]
agent/applier/bundlecollection/bundle_collection_interface.go
LogsTarProvider (Interface)
go:generate counterfeiter . LogsTarProvider [5 implementers]
agent/logstarprovider/logs_tar_provider_interface.go
SourceOptions (Interface)
(no doc) [6 implementers]
infrastructure/settings_source_factory.go
MetadataServiceProvider (Interface)
(no doc) [22 implementers]
infrastructure/metadata_service_interface.go
DevicePathResolver (Interface)
(no doc) [13 implementers]
infrastructure/devicepathresolver/device_path_resolver.go
ServiceManager (Interface)
go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate counterfeiter:generate . ServiceManager [4 implementers]
servicemanager/service_manager_interface.go

Core symbols most depended-on inside this repo

New
called by 684
infrastructure/settings_source_factory.go
RunCommand
called by 353
agent/cmdrunner/cmd_runner_interface.go
Error
called by 280
platform/linux_platform.go
Error
called by 258
agent/cmdrunner/file_logging_cmd_runner.go
Run
called by 184
agent/action/runner.go
Debug
called by 167
platform/platform_interface.go
Close
called by 144
mbus/nats_handler.go
Unmarshal
called by 116
agentclient/http/agent_response.go

Shape

Method 3,217
Function 605
Struct 496
Interface 102
TypeAlias 24
FuncType 15

Languages

Go100%

Modules by API surface

platform/platformfakes/fake_platform.go369 symbols
agentclient/fakes/fake_agent_client.go117 symbols
platform/linux_platform.go94 symbols
platform/windows_platform.go79 symbols
platform/platform_interface.go74 symbols
platform/dummy_platform.go74 symbols
platform/firewall/nftables_firewall.go64 symbols
platform/disk/diskfakes/fake_mounter.go63 symbols
agent/action/runner_test.go58 symbols
settings/settings.go57 symbols
platform/firewall/firewallfakes/fake_nftables_conn.go57 symbols
integration/test_environment.go51 symbols

For agents

$ claude mcp add bosh-agent \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact