README ¶ superbahn 介绍 项目汇总,该项目是后面go重构的项目目录结构 项目开发规约 SUPB 开发规约 子项目设计报告 SUPB MANAGER 设计报告 子项目CLI手册 SUPB MANAGER CLI手册 子项目开发说明 cmd/{子项目名称}/{主函数} 该目录下创建程序main函数,具体可参考 cmd/supbmanager/main.go main函数会转到初始化函数 internal/supbmanager/root/root.go internal/{子项目名称}/... 该目录下开发实现该子项目的代码, 可参考 internal/supbmanager/... 的目录设计 pkg/{子项目名称}/... 改目录下开发实现sdk,每个模块可供其他模块调用的包,也可以自己调用, 可参考 pkg/supbmanager/... 的目录设计 scripts/{子项目名称}/... 编译、部署、运行脚本 example/{子项目名称}/... 测试用例,运行试例 config/... 配置文件 doc/... 文档 注意事项 不要在其他项目目录先做修改,这是协同开发项目 实在怕出问题可以开分支 Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis cmd supbagent supbctl supbmanager supbmanager/v3_test supbsponge supbstrategies supbstrategies/v3_test example supbagent supbmanager internal supbagent/plugins/heartbeat supbagent/plugins/nervous_host_cli supbagent/plugins/nervous_resources_cli supbagent/plugins/web_client * * supbagent/root supbagent/root/config supbagent/root/loader supbctl supbctl/options supbctl/supbagent supbctl/supbagent/commands_nervous supbctl/supbagent/options supbctl/supbmanager supbctl/supbmanager/commands_nervous supbctl/supbmanager/commands_web supbctl/supbmanager/options supbctl/supbnervous supbctl/supbnervous/commands supbctl/supbnervous/options supbctl/supbsponge supbctl/supbsponge/commands supbctl/supbsponge/options supbmanager/plugins/nervous_client supbmanager/plugins/sponge_syncer supbmanager/plugins/web_client supbmanager/plugins/web_server supbmanager/root supbmanager/root/config supbmanager/root/loader supbmanager/v3_test/modules supbmanager/v3_test/modules/model supbmanager/v3_test/modules/nervous-apis supbmanager/v3_test/modules/nervous-apis/clireq supbmanager/v3_test/modules/supb-etcd supbmanager/v3_test/modules/web-apis supbmanager/v3_test/modules/web-apis/clireq supbsponge/middleware/jwt supbsponge/models supbsponge/routers supbsponge/routers/api/v1 supbsponge/service/cache_service supbsponge/service/resource_service supbstrategies supbstrategies/algorithm supbstrategies/algorithm/old/log_dumper supbstrategies/algorithm/old/metrics_statistic supbstrategies/algorithm/old/metrics_statistic/cache supbstrategies/algorithm/old/simple_test supbstrategies/algorithm/old/simple_test/cache supbstrategies/algorithm/old/trace_dumper supbstrategies/algorithm/old/trace_dumper/format supbstrategies/config supbstrategies/runner supbstrategies/v3_test/strategies supbstrategies/v3_test/strategies/car supbstrategies/v3_test/strategies/request supbstrategies/v3_test/strategies/simcar supbstrategies/v3_test/strategies/sine supbstrategies/v3_test/strategies/template pkg plugins register supbagent/apis supbagent/clireq supbagent/collector supbagent/collector/collector_docker supbagent/collector/collector_jaeger supbagent/collector/collector_prometheus supbagent/controller supbagent/controller/controller_cgroup supbagent/controller/controller_docker supbagent/controller/controller_k8s supbagent/options supbagent/resources supbagent/resources/manager_containers supbagent/resources/manager_containers/containers supbagent/resources/manager_host supbagent/resources/manager_host/host supbmanager/apis supbmanager/clireq supbmanager/level supbmanager/options supbmanager/resources supbmanager/resources/manager_applications supbmanager/resources/manager_applications/application supbmanager/resources/manager_bindings supbmanager/resources/manager_bindings/bindings supbmanager/resources/manager_clusters supbmanager/resources/manager_clusters/clusters supbmanager/resources/manager_strategies supbmanager/resources/manager_strategies/strategies supbmanager/resources/sponge_devices supbmanager/resources/sponge_devices/devices supbmanager/resources/sponge_resources supbmanager/resources/sponge_services supbmanager/resources/sponge_services/services supbmanager/supbmanager supbmanager/v3_test/supb-modules supbmanager/v3_test/supb-modules/supb-info-base supbmanager/v3_test/supb-modules/supbindex supbmanager/v3_test/supb-modules/supblog supbmanager/v3_test/supb-modules/supblog/log supbmanager/v3_test/supb-modules/supbmetric supbmanager/v3_test/supb-modules/supbmetric/metrics supbmanager/v3_test/supb-modules/supbres supbmanager/v3_test/supb-modules/supbres/applications supbmanager/v3_test/supb-modules/supbres/applications/model supbmanager/v3_test/supb-modules/supbres/assumes supbmanager/v3_test/supb-modules/supbres/compose supbmanager/v3_test/supb-modules/supbres/status supbmanager/v3_test/supb-modules/supbres/strategies supbmanager/v3_test/supb-modules/supbres/strategies/model supbmanager/v3_test/supb-modules/supbres/syncer supbmanager/v3_test/supb-modules/supbres/types supbmanager/v3_test/supb-modules/supbrpc supbmanager/v3_test/supb-modules/supbrunner supbmanager/v3_test/supb-modules/supbspg supbmanager/v3_test/supb-modules/supbstrategy supbmanager/v3_test/supb-modules/supbtrace supbmanager/v3_test/supb-modules/supbtrace/request supbmanager/v3_test/supb-modules/supbtrace/trace supbmanager/v3_test/supb-modules/supbtrace/trace/format supbmanager/webreq supbnervous supbnervous/kafka-nervous supbsponge/app supbsponge/e supbsponge/gredis supbsponge/kafka supbsponge/logging supbsponge/setting supbsponge/util supbstrategies/supb-modules sync define spongeregister third_party docker elk etcd utils jaeger_model v3_test supbapis supbenv supbenv/docker-cli supbenv/etcd-cli supbenv/informer supbenv/log Click to show internal directories. Click to hide internal directories.