MCPcopy Index your code
hub / github.com/cit965/kubecit

github.com/cit965/kubecit @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,630 symbols 3,142 edges 70 files 1,072 documented · 66%
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

UserRepo (Interface)
UserRepo 接口,定义了 data 层需要提供的能力,此接口实现者为 data/user.go 文件中的 userRepo go:generate mockgen -destination=../mocks/mrepo/user.g [7 …
internal/biz/user.go
Committer (Interface)
Committer is the interface that wraps the Commit method. [2 implementers]
ent/tx.go
OrderFunc (FuncType)
OrderFunc applies an ordering on the sql selector. Deprecated: Use Asc/Desc functions or the package builders instead.
ent/ent.go
Option (FuncType)
Option function to configure the client.
ent/client.go
OrderOption (FuncType)
OrderOption defines the ordering options for the User queries.
ent/user/user.go
CloudHostFunc (FuncType)
The CloudHostFunc type is an adapter to allow the use of ordinary function as CloudHost mutator.
ent/hook/hook.go
TestingT (Interface)
TestingT is the interface that is shared between testing.T and testing.B and used by enttest.
ent/enttest/enttest.go
OrderOption (FuncType)
OrderOption defines the ordering options for the CloudHost queries.
ent/cloudhost/cloudhost.go

Core symbols most depended-on inside this repo

SetField
called by 48
ent/mutation.go
setContextOp
called by 30
ent/ent.go
Query
called by 22
ent/tx.go
List
called by 20
internal/biz/user.go
Error
called by 19
ent/enttest/enttest.go
Where
called by 16
ent/user_query.go
Save
called by 15
internal/biz/greeter.go
Get
called by 14
internal/biz/host.go

Shape

Method 1,072
Function 391
Struct 125
FuncType 22
Interface 16
TypeAlias 4

Languages

Go100%

Modules by API surface

api/helloworld/v1/greeter.pb.go222 symbols
ent/mutation.go175 symbols
ent/cloudhost/where.go155 symbols
api/helloworld/v1/greeter_grpc.pb.go90 symbols
ent/client.go73 symbols
api/helloworld/v1/greeter_http.pb.go69 symbols
internal/conf/conf.pb.go64 symbols
ent/ent.go60 symbols
ent/cloudhost_update.go53 symbols
ent/user/where.go49 symbols
ent/user_query.go39 symbols
ent/cluster_query.go39 symbols

For agents

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

⬇ download graph artifact