Documentation ¶
Index ¶
- type AppCloneService
- type AppCloneServiceImpl
- func (impl *AppCloneServiceImpl) CloneApp(createReq *bean.CreateAppDTO, context context.Context) (*bean.CreateAppDTO, error)
- func (impl *AppCloneServiceImpl) CloneGitRepo(oldAppId, newAppId int, userId int32) (*bean.CreateMaterialDTO, map[int]int, error)
- func (impl *AppCloneServiceImpl) CreateApp(cloneReq *CloneRequest, userId int32) (*bean.CreateAppDTO, error)
- func (impl *AppCloneServiceImpl) CreateAppMetrics(oldAppId, newAppId int, userId int32)
- func (impl *AppCloneServiceImpl) CreateCdPipeline(req *cloneCdPipelineRequest, ctx context.Context) (*bean.CdPipelines, error)
- func (impl *AppCloneServiceImpl) CreateCiPipeline(req *cloneCiPipelineRequest) (*bean.CiConfigRequest, error)
- func (impl *AppCloneServiceImpl) CreateCiTemplate(oldAppId, newAppId int, userId int32) (*bean.PipelineCreateResponse, error)
- func (impl *AppCloneServiceImpl) CreateDeploymentTemplate(oldAppId, newAppId int, userId int32, context context.Context) (*pipeline.TemplateRequest, error)
- func (impl *AppCloneServiceImpl) CreateEnvCm(oldAppId, newAppId int, userId int32) (interface{}, error)
- func (impl *AppCloneServiceImpl) CreateEnvSecret(oldAppId, newAppId int, userId int32) (interface{}, error)
- func (impl *AppCloneServiceImpl) CreateGlobalCM(oldAppId, newAppId int, userId int32) (*pipeline.ConfigDataRequest, error)
- func (impl *AppCloneServiceImpl) CreateGlobalSecret(oldAppId, newAppId int, userId int32) (*pipeline.ConfigDataRequest, error)
- func (impl *AppCloneServiceImpl) CreateWf(oldAppId, newAppId int, userId int32, gitMaterialMapping map[int]int, ...) (interface{}, error)
- type CloneRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCloneService ¶
type AppCloneService interface {
CloneApp(createReq *bean.CreateAppDTO, context context.Context) (*bean.CreateAppDTO, error)
}
type AppCloneServiceImpl ¶
type AppCloneServiceImpl struct {
// contains filtered or unexported fields
}
func NewAppCloneServiceImpl ¶
func NewAppCloneServiceImpl(logger *zap.SugaredLogger, pipelineBuilder pipeline.PipelineBuilder, materialRepository pipelineConfig.MaterialRepository, chartService pipeline.ChartService, configMapService pipeline.ConfigMapService, appWorkflowService appWorkflow.AppWorkflowService, appListingService app.AppListingService, propertiesConfigService pipeline.PropertiesConfigService, ) *AppCloneServiceImpl
func (*AppCloneServiceImpl) CloneApp ¶
func (impl *AppCloneServiceImpl) CloneApp(createReq *bean.CreateAppDTO, context context.Context) (*bean.CreateAppDTO, error)
func (*AppCloneServiceImpl) CloneGitRepo ¶
func (impl *AppCloneServiceImpl) CloneGitRepo(oldAppId, newAppId int, userId int32) (*bean.CreateMaterialDTO, map[int]int, error)
func (*AppCloneServiceImpl) CreateApp ¶
func (impl *AppCloneServiceImpl) CreateApp(cloneReq *CloneRequest, userId int32) (*bean.CreateAppDTO, error)
func (*AppCloneServiceImpl) CreateAppMetrics ¶
func (impl *AppCloneServiceImpl) CreateAppMetrics(oldAppId, newAppId int, userId int32)
func (*AppCloneServiceImpl) CreateCdPipeline ¶
func (impl *AppCloneServiceImpl) CreateCdPipeline(req *cloneCdPipelineRequest, ctx context.Context) (*bean.CdPipelines, error)
func (*AppCloneServiceImpl) CreateCiPipeline ¶
func (impl *AppCloneServiceImpl) CreateCiPipeline(req *cloneCiPipelineRequest) (*bean.CiConfigRequest, error)
func (*AppCloneServiceImpl) CreateCiTemplate ¶
func (impl *AppCloneServiceImpl) CreateCiTemplate(oldAppId, newAppId int, userId int32) (*bean.PipelineCreateResponse, error)
func (*AppCloneServiceImpl) CreateDeploymentTemplate ¶
func (impl *AppCloneServiceImpl) CreateDeploymentTemplate(oldAppId, newAppId int, userId int32, context context.Context) (*pipeline.TemplateRequest, error)
func (*AppCloneServiceImpl) CreateEnvCm ¶
func (impl *AppCloneServiceImpl) CreateEnvCm(oldAppId, newAppId int, userId int32) (interface{}, error)
func (*AppCloneServiceImpl) CreateEnvSecret ¶
func (impl *AppCloneServiceImpl) CreateEnvSecret(oldAppId, newAppId int, userId int32) (interface{}, error)
func (*AppCloneServiceImpl) CreateGlobalCM ¶
func (impl *AppCloneServiceImpl) CreateGlobalCM(oldAppId, newAppId int, userId int32) (*pipeline.ConfigDataRequest, error)
func (*AppCloneServiceImpl) CreateGlobalSecret ¶
func (impl *AppCloneServiceImpl) CreateGlobalSecret(oldAppId, newAppId int, userId int32) (*pipeline.ConfigDataRequest, error)
type CloneRequest ¶
Click to show internal directories.
Click to hide internal directories.