MCPcopy Index your code
hub / github.com/TimeBye/go-harbor

github.com/TimeBye/go-harbor @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
331 symbols 865 edges 40 files 148 documented · 45%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

ArtifactInterface (Interface)
(no doc) [5 implementers]
pkg/project/artifacts.go
PassiveClock (Interface)
PassiveClock allows for injecting fake or real clocks into code that needs to read the current time but does not support [3 …
pkg/rest/util/clock/clock.go
UsersInterface (Interface)
UsersInterface holds the methods that discover server-supported API groups, versions and resources.
pkg/user/user.go
Interface (Interface)
(no doc)
pkg/client/clientset.go
ProjectsInterface (Interface)
ProjectsInterface holds the methods that discover server-supported API groups, versions and resources.
pkg/project/project.go
Clock (Interface)
Clock allows for injecting fake or real clocks into code that needs to do arbitrary things based on time. [2 implementers]
pkg/rest/util/clock/clock.go
RepositoryInterface (Interface)
(no doc) [1 implementers]
pkg/project/repository.go
Timer (Interface)
Timer allows for injecting fake or real timers into code that needs to do arbitrary things based on time. [2 implementers]
pkg/rest/util/clock/clock.go

Core symbols most depended-on inside this repo

NewRequest
called by 32
harbor.go
Now
called by 32
pkg/rest/util/flowcontrol/throttle.go
Step
called by 26
pkg/rest/util/clock/clock.go
C
called by 24
pkg/rest/util/clock/clock.go
Get
called by 20
pkg/rest/client.go
Resource
called by 14
pkg/rest/request.go
Error
called by 14
pkg/rest/request.go
Do
called by 13
pkg/rest/request.go

Shape

Method 175
Function 75
Struct 66
Interface 15

Languages

Go100%

Modules by API surface

pkg/rest/util/clock/clock.go59 symbols
pkg/rest/request.go43 symbols
pkg/rest/util/flowcontrol/throttle.go32 symbols
project.go27 symbols
repositories.go24 symbols
pkg/rest/client.go15 symbols
pkg/rest/util/flowcontrol/backoff.go13 symbols
pkg/project/repository.go11 symbols
harbor.go11 symbols
pkg/rest/request_test.go10 symbols
pkg/rest/util/clock/clock_test.go9 symbols
pkg/project/artifacts.go9 symbols

For agents

$ claude mcp add go-harbor \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact