Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterFactory ¶
type ClusterFactory struct { // 集群资源操作客户端 KubeClient *cluster.KubeClient }
ClusterFactory 集群相关service
type Factory ¶
type Factory struct { // 集群相关Service Cluster *ClusterFactory // 项目相关Service,如工作空间、应用 Project *ProjectFactory // 流水线相关Service Pipeline *PipelineFactory }
func NewServiceFactory ¶
type PipelineFactory ¶
type PipelineFactory struct { // 流水线空间 WorkspaceService *pipeline.WorkspaceService // 流水线 PipelineService *pipeline.PipelineService // 流水线构建 PipelineRunService *pipeline_run.PipelineRunService // spacelet SpaceletService *spacelet.SpaceletService }
PipelineFactory 流水线相关service
type ProjectFactory ¶
type ProjectFactory struct { // 工作空间 ProjectService *project.ProjectService // 应用 AppService *project.AppService // 应用商店 AppStoreService *project.AppStoreService }
ProjectFactory 工作空间相关service
Click to show internal directories.
Click to hide internal directories.