pipeline

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CiTemplateReadService

type CiTemplateReadService interface {
	FindByAppId(appId int) (*bean.CiTemplateBean, error)
	FindTemplateOverrideByAppId(appId int) ([]*bean.CiTemplateBean, error)
	FindTemplateOverrideByCiPipelineIds(ciPipelineIds []int) ([]*bean.CiTemplateBean, error)
	FindTemplateOverrideByCiPipelineId(ciPipelineId int) (*bean.CiTemplateBean, error)
	GetAppliedDockerConfigForCiPipeline(ciPipelineId, appId int, isOverridden bool) (*types.DockerArtifactStoreBean, error)
	GetBaseDockerConfigForCiPipeline(appId int) (*types.DockerArtifactStoreBean, error)
	FindByAppIds(appIds []int) (map[int]*bean.CiTemplateBean, error)
}

type CiTemplateReadServiceImpl

type CiTemplateReadServiceImpl struct {
	Logger                       *zap.SugaredLogger
	CiTemplateRepository         pipelineConfig.CiTemplateRepository
	CiTemplateOverrideRepository pipelineConfig.CiTemplateOverrideRepository
}

func NewCiTemplateReadServiceImpl

func NewCiTemplateReadServiceImpl(logger *zap.SugaredLogger, ciTemplateRepository pipelineConfig.CiTemplateRepository, ciTemplateOverrideRepository pipelineConfig.CiTemplateOverrideRepository) *CiTemplateReadServiceImpl

func (*CiTemplateReadServiceImpl) FindByAppId

func (impl *CiTemplateReadServiceImpl) FindByAppId(appId int) (ciTemplateBean *bean.CiTemplateBean, err error)

func (*CiTemplateReadServiceImpl) FindByAppIds

func (impl *CiTemplateReadServiceImpl) FindByAppIds(appIds []int) (map[int]*bean.CiTemplateBean, error)

func (*CiTemplateReadServiceImpl) FindTemplateOverrideByAppId

func (impl *CiTemplateReadServiceImpl) FindTemplateOverrideByAppId(appId int) (ciTemplateBeans []*bean.CiTemplateBean, err error)

func (*CiTemplateReadServiceImpl) FindTemplateOverrideByCiPipelineId

func (impl *CiTemplateReadServiceImpl) FindTemplateOverrideByCiPipelineId(ciPipelineId int) (*bean.CiTemplateBean, error)

func (*CiTemplateReadServiceImpl) FindTemplateOverrideByCiPipelineIds

func (impl *CiTemplateReadServiceImpl) FindTemplateOverrideByCiPipelineIds(ciPipelineIds []int) (ciTemplateBeans []*bean.CiTemplateBean, err error)

func (*CiTemplateReadServiceImpl) GetAppliedDockerConfigForCiPipeline

func (impl *CiTemplateReadServiceImpl) GetAppliedDockerConfigForCiPipeline(ciPipelineId, appId int, isOverridden bool) (*types.DockerArtifactStoreBean, error)

func (*CiTemplateReadServiceImpl) GetBaseDockerConfigForCiPipeline

func (impl *CiTemplateReadServiceImpl) GetBaseDockerConfigForCiPipeline(appId int) (*types.DockerArtifactStoreBean, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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