Help us shape the future of Go! Take the 2026 Go Developer Survey

appClone

package
v1.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 28 Imported by: 7

Documentation

Index

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,
	attributesService attributes.AttributesService,
	chartService chart.ChartService,
	configMapService pipeline.ConfigMapService,
	appWorkflowService appWorkflow.AppWorkflowService,
	appListingService app.AppListingService,
	propertiesConfigService pipeline.PropertiesConfigService,
	pipelineStageService pipeline.PipelineStageService, ciTemplateService pipeline2.CiTemplateReadService,
	appRepository app2.AppRepository, ciPipelineRepository pipelineConfig.CiPipelineRepository,
	pipelineRepository pipelineConfig.PipelineRepository,
	ciPipelineConfigService pipeline.CiPipelineConfigService,
	gitOpsConfigReadService config.GitOpsConfigReadService,
	chartReadService read3.ChartReadService) *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) CreateCiPipeline

func (impl *AppCloneServiceImpl) CreateCiPipeline(req *cloneCiPipelineRequest) (*bean.CiConfigRequest, error)

func (*AppCloneServiceImpl) CreateCiTemplate

func (impl *AppCloneServiceImpl) CreateCiTemplate(oldAppId, newAppId int, userId int32, gitMaterialMap map[int]int) (*bean.PipelineCreateResponse, error)

func (*AppCloneServiceImpl) CreateDeploymentTemplate

func (impl *AppCloneServiceImpl) CreateDeploymentTemplate(oldAppId, newAppId int, userId int32, context context.Context) (*bean5.TemplateRequest, error)

func (*AppCloneServiceImpl) CreateEnvCm

func (impl *AppCloneServiceImpl) CreateEnvCm(ctx context.Context, oldAppId, newAppId int, userId int32) (interface{}, error)

func (*AppCloneServiceImpl) CreateEnvSecret

func (impl *AppCloneServiceImpl) CreateEnvSecret(ctx context.Context, oldAppId, newAppId int, userId int32) (interface{}, error)

func (*AppCloneServiceImpl) CreateGlobalCM

func (impl *AppCloneServiceImpl) CreateGlobalCM(oldAppId, newAppId int, userId int32) (*bean3.ConfigDataRequest, error)

func (*AppCloneServiceImpl) CreateGlobalSecret

func (impl *AppCloneServiceImpl) CreateGlobalSecret(oldAppId, newAppId int, userId int32) (*bean3.ConfigDataRequest, error)

func (*AppCloneServiceImpl) CreateWf

func (impl *AppCloneServiceImpl) CreateWf(oldAppId, newAppId int, userId int32, gitMaterialMapping map[int]int, ctx context.Context) (interface{}, error)

type CloneRequest

type CloneRequest struct {
	RefAppId    int                              `json:"refAppId"`
	Name        string                           `json:"name"`
	ProjectId   int                              `json:"projectId"`
	AppLabels   []*bean.Label                    `json:"labels,omitempty" validate:"dive"`
	Description *AppView.GenericNoteResponseBean `json:"description"`
	AppType     helper.AppType                   `json:"appType"`
}

type CreateWorkflowMappingDto added in v0.6.24

type CreateWorkflowMappingDto struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL