Directories ¶
Path | Synopsis |
---|---|
dao
Package dbclient 定义数据库操作的方法, orm 等。
|
Package dbclient 定义数据库操作的方法, orm 等。 |
Package cmp Core components of multi-cloud management platform Package cmp Core components of multi-cloud management platform
|
Package cmp Core components of multi-cloud management platform Package cmp Core components of multi-cloud management platform |
conf
Package conf Define the configuration
|
Package conf Define the configuration |
core
|
|
monitor/event/query
Package query is a generated GoMock package.
|
Package query is a generated GoMock package. |
Package core_services
|
Package core_services |
conf
Package conf 定义配置选项
|
Package conf 定义配置选项 |
endpoints
Package endpoints 定义所有的 route handle.
|
Package endpoints 定义所有的 route handle. |
services/application
Package application 应用逻辑封装
|
Package application 应用逻辑封装 |
services/approve
Package approve 封装Approve资源相关操作
|
Package approve 封装Approve资源相关操作 |
services/member
Package member 成员操作封装
|
Package member 成员操作封装 |
services/org
Package org 封装企业资源相关操作
|
Package org 封装企业资源相关操作 |
services/project
Package project 封装项目资源相关操作
|
Package project 封装项目资源相关操作 |
Package dicehub Dicehub module
|
Package dicehub Dicehub module |
conf
Package conf Dicehub 环境配置
|
Package conf Dicehub 环境配置 |
dbclient
Package dbclient 数据库相关操作
|
Package dbclient 数据库相关操作 |
endpoints
Package endpoints 定义所有的 route handle.
|
Package endpoints 定义所有的 route handle. |
errcode
Package errcode Dicehub错误码
|
Package errcode Dicehub错误码 |
event
Package event DiceHub关键操作事件发送逻辑
|
Package event DiceHub关键操作事件发送逻辑 |
recycle
Package recycle Release GC处理
|
Package recycle Release GC处理 |
registry
Package registry docker registry manifest操作
|
Package registry docker registry manifest操作 |
release
Package recycle Release GC
|
Package recycle Release GC |
release/event
Package event DiceHub important operation event sending logic
|
Package event DiceHub important operation event sending logic |
response
Package response release api 响应格式
|
Package response release api 响应格式 |
dao
Package dbclient 定义数据库操作的方法, orm 等。
|
Package dbclient 定义数据库操作的方法, orm 等。 |
dbclient
Package dbclient defines operations about database
|
Package dbclient defines operations about database |
endpoints
Package endpoints 定义所有的 route handle.
|
Package endpoints 定义所有的 route handle. |
event
Package event 事件信息
|
Package event 事件信息 |
services/apierrors
Package apierrors 定义了错误列表
|
Package apierrors 定义了错误列表 |
services/appcertificate
Package appcertificate 封装AppCertificate资源相关操作
|
Package appcertificate 封装AppCertificate资源相关操作 |
services/assetsvc
Package asset API 资产
|
Package asset API 资产 |
services/cdp
Package cdp pipeline相关的结构信息
|
Package cdp pipeline相关的结构信息 |
services/certificate
Package certificate 封装Certificate资源相关操作
|
Package certificate 封装Certificate资源相关操作 |
services/issue
Package issue 封装 事件 相关操作
|
Package issue 封装 事件 相关操作 |
services/issuestate
Package issuestate is a generated GoMock package.
|
Package issuestate is a generated GoMock package. |
services/iteration
Package iteration 封装 迭代 相关操作
|
Package iteration 封装 迭代 相关操作 |
services/pipeline
Package pipeline pipeline相关的结构信息
|
Package pipeline pipeline相关的结构信息 |
services/publisher
Package publisher 封装Publisher资源相关操作
|
Package publisher 封装Publisher资源相关操作 |
services/ticket
Package ticket 封装工单相关操作
|
Package ticket 封装工单相关操作 |
register
对外提供 API 用于注册特定 label 对 其他 label 的关系 暂定这个特定 label 的 key 为 "REGISTERED_LABEL".(constant.RegisterLabelKey) e.g.
|
对外提供 API 用于注册特定 label 对 其他 label 的关系 暂定这个特定 label 的 key 为 "REGISTERED_LABEL".(constant.RegisterLabelKey) e.g. |
register/label
default register labels here
|
default register labels here |
server
TODO: refactor this module when pkg/httpserver ready
|
TODO: refactor this module when pkg/httpserver ready |
extensions
|
|
Package kms provides unified Key Management Service.
|
Package kms provides unified Key Management Service. |
conf
Package conf defines config options.
|
Package conf defines config options. |
endpoints
Package endpoints defines all route handlers.
|
Package endpoints defines all route handlers. |
endpoints/apierrors
Package apierrors defines all service errors.
|
Package apierrors defines all service errors. |
monitor
|
|
msp
|
|
apm/exception/query
Package query is a generated GoMock package.
|
Package query is a generated GoMock package. |
apm/trace/query
Package query is a generated GoMock package.
|
Package query is a generated GoMock package. |
oap
|
|
api/apis/dicehub
Package apis dice api集合 Package apis dice api集合
|
Package apis dice api集合 Package apis dice api集合 |
monitor
Package monitor collect and export openapi metrics Package monitor collect and export openapi metrics
|
Package monitor collect and export openapi metrics Package monitor collect and export openapi metrics |
Package orchestrator 编排器 Package orchestrator is a generated GoMock package.
|
Package orchestrator 编排器 Package orchestrator is a generated GoMock package. |
components/runtime/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
conf
Package conf 定义了 orchestrator 所需要的配置选项,这些配置选项都是通过环境变量加载.
|
Package conf 定义了 orchestrator 所需要的配置选项,这些配置选项都是通过环境变量加载. |
dbclient
Package dbclient 定义数据库操作的方法, orm 等。
|
Package dbclient 定义数据库操作的方法, orm 等。 |
endpoints
Package endpoints 定义所有的 route handle.
|
Package endpoints 定义所有的 route handle. |
services/addon/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
services/apierrors
Package apierrors 定义了错误列表
|
Package apierrors 定义了错误列表 |
services/deployment
Package deployment 部署相关操作
|
Package deployment 部署相关操作 |
services/runtime
Package runtime 应用实例相关操作
|
Package runtime 应用实例相关操作 |
Package pipeline 流水线
|
Package pipeline 流水线 |
conf
Package conf 定义了 pipeline 所需要的配置选项,这些配置选项都是通过环境变量加载.
|
Package conf 定义了 pipeline 所需要的配置选项,这些配置选项都是通过环境变量加载. |
endpoints
Package endpoints 定义所有的 route handle.
|
Package endpoints 定义所有的 route handle. |
metrics
Package metrics work with monitor metrics.
|
Package metrics work with monitor metrics. |
pipengine/queue
Package queue includes: - priority queue - enhanced queue based on priority queue - throttler for pipeline based on enhanced queue
|
Package queue includes: - priority queue - enhanced queue based on priority queue - throttler for pipeline based on enhanced queue |
pipengine/reconciler
@Title This file is used to cache the objects that need to be reused in the reconciler @Description The cached data is placed in the global sync.Map, you need to call clearPipelineContextCaches to clean up the corresponding data after you use it at will
|
@Title This file is used to cache the objects that need to be reused in the reconciler @Description The cached data is placed in the global sync.Map, you need to call clearPipelineContextCaches to clean up the corresponding data after you use it at will |
pkg/action_info
@Title this file is used to query the action definition @Description query action definition and spec
|
@Title this file is used to query the action definition @Description query action definition and spec |
services/apierrors
Package apierrors 定义了错误列表
|
Package apierrors 定义了错误列表 |
pkg
|
|
etcdclient
由于要实现 多个eventbox实例同时watch相同目录,并且只处理一次,而etcd库中提供的分布式锁在etcd断开连接时候有问题, eventbox中用事务来实现, 但是需要一个 etcd client, 所以在这个文件实现一下 NewEtcdClient
|
由于要实现 多个eventbox实例同时watch相同目录,并且只处理一次,而etcd库中提供的分布式锁在etcd断开连接时候有问题, eventbox中用事务来实现, 但是需要一个 etcd client, 所以在这个文件实现一下 NewEtcdClient |
innerdomain
Package innerdomain , interconversion between k8s & marathon internal domain 旧版本的内部地址格式 <servicename>.<servicegroup-name>.<servicegroup-namespace>.<suffix1>.<suffix2>.marathon.l4lb.thisdcos.directory e.g.
|
Package innerdomain , interconversion between k8s & marathon internal domain 旧版本的内部地址格式 <servicename>.<servicegroup-name>.<servicegroup-namespace>.<suffix1>.<suffix2>.marathon.l4lb.thisdcos.directory e.g. |
user
Package user 定义通用的 user 逻辑.
|
Package user 定义通用的 user 逻辑. |
executor/plugins/k8s
Package k8s implements managing the servicegroup by k8s cluster
|
Package k8s implements managing the servicegroup by k8s cluster |
executor/plugins/k8s/addon/sourcecov/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
executor/plugins/k8s/configmap
Package configmap manipulates the k8s api of configmap object
|
Package configmap manipulates the k8s api of configmap object |
executor/plugins/k8s/deployment
Package deployment manipulates the k8s api of deployment object
|
Package deployment manipulates the k8s api of deployment object |
executor/plugins/k8s/event
Package event manipulates the k8s api of event object Package event manipulates the k8s api of event object Package event manipulates the k8s api of event object
|
Package event manipulates the k8s api of event object Package event manipulates the k8s api of event object Package event manipulates the k8s api of event object |
executor/plugins/k8s/ingress
Package ingress manipulates the k8s api of ingress object
|
Package ingress manipulates the k8s api of ingress object |
executor/plugins/k8s/k8sapi
Package k8sapi contains necessary k8s types and objects
|
Package k8sapi contains necessary k8s types and objects |
executor/plugins/k8s/k8serror
Package k8serror encapsulates error of k8s object
|
Package k8serror encapsulates error of k8s object |
executor/plugins/k8s/k8sservice
Package k8sservice manipulates the k8s api of service object
|
Package k8sservice manipulates the k8s api of service object |
executor/plugins/k8s/namespace
Package namespace manipulates the k8s api of namespace object
|
Package namespace manipulates the k8s api of namespace object |
executor/plugins/k8s/persistentvolume
Package persistentvolume manipulates the k8s api of persistentvolume object
|
Package persistentvolume manipulates the k8s api of persistentvolume object |
executor/plugins/k8s/persistentvolumeclaim
Package persistentvolumeclaim manipulates the k8s api of persistentvolumeclaim object
|
Package persistentvolumeclaim manipulates the k8s api of persistentvolumeclaim object |
executor/plugins/k8s/pod
Package pod manipulates the k8s api of pod object
|
Package pod manipulates the k8s api of pod object |
executor/plugins/k8s/role
Package role manipulates the k8s api of role object
|
Package role manipulates the k8s api of role object |
executor/plugins/k8s/rolebinding
Package rolebinding manipulates the k8s api of rolebinding object
|
Package rolebinding manipulates the k8s api of rolebinding object |
executor/plugins/k8s/secret
Package secret manipulates the k8s api of secret object
|
Package secret manipulates the k8s api of secret object |
executor/plugins/k8s/serviceaccount
Package serviceaccount manipulates the k8s api of serviceaccount object
|
Package serviceaccount manipulates the k8s api of serviceaccount object |
executor/plugins/k8s/statefulset
Package statefulset manipulates the k8s api of statefulset object
|
Package statefulset manipulates the k8s api of statefulset object |
impl/cluster
Package cluster impl cluster API
|
Package cluster impl cluster API |
impl/cluster/clusterutil
Package clusterutil cluster utils
|
Package clusterutil cluster utils |
server
TODO: refactor me, 把这个文件中的所有逻辑都去掉,只有 http 处理和 检查 参数合法性
|
TODO: refactor me, 把这个文件中的所有逻辑都去掉,只有 http 处理和 检查 参数合法性 |
tools
|
|
conf
Package conf 配置文件信息
|
Package conf 配置文件信息 |
dao
Package dbclient 定义数据库操作的方法, orm 等。
|
Package dbclient 定义数据库操作的方法, orm 等。 |
endpoints
Package endpoints API相关的数据信息 Package endpoints Info的handle
|
Package endpoints API相关的数据信息 Package endpoints Info的handle |
Package volumeprovisioner is a persistent volume claim provisioner for kubernetes.
|
Package volumeprovisioner is a persistent volume claim provisioner for kubernetes. |
Click to show internal directories.
Click to hide internal directories.