Documentation ¶
Index ¶
- Variables
- type CiTemplateReadService
- type CiTemplateReadServiceImpl
- func (impl *CiTemplateReadServiceImpl) FindByAppId(appId int) (ciTemplateBean *bean.CiTemplateBean, err error)
- func (impl *CiTemplateReadServiceImpl) FindByAppIds(appIds []int) (map[int]*bean.CiTemplateBean, error)
- func (impl *CiTemplateReadServiceImpl) FindTemplateOverrideByAppId(appId int) (ciTemplateBeans []*bean.CiTemplateBean, err error)
- func (impl *CiTemplateReadServiceImpl) FindTemplateOverrideByCiPipelineId(ciPipelineId int) (*bean.CiTemplateBean, error)
- func (impl *CiTemplateReadServiceImpl) FindTemplateOverrideByCiPipelineIds(ciPipelineIds []int) (ciTemplateBeans []*bean.CiTemplateBean, err error)
- func (impl *CiTemplateReadServiceImpl) GetAppliedDockerConfigForCiPipeline(ciPipelineId, appId int, isOverridden bool) (*types.DockerArtifactStoreBean, error)
- func (impl *CiTemplateReadServiceImpl) GetBaseDockerConfigForCiPipeline(appId int) (*types.DockerArtifactStoreBean, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( read.NewCiPipelineConfigReadServiceImpl, wire.Bind(new(read.CiPipelineConfigReadService), new(*read.CiPipelineConfigReadServiceImpl)), )
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)
Click to show internal directories.
Click to hide internal directories.