 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type CiMaterialDTO
- type CiPipelineResponseForDG
- type DGParentCiResponse
- type DeploymentGroupDTO
- type DeploymentGroupHibernateRequest
- type DeploymentGroupRequest
- type DeploymentGroupService
- type DeploymentGroupServiceImpl
- func (impl *DeploymentGroupServiceImpl) CreateDeploymentGroup(deploymentGroupRequest *DeploymentGroupRequest) (*DeploymentGroupRequest, error)
- func (impl *DeploymentGroupServiceImpl) DeleteDeploymentGroup(deploymentGroupId int) (bool, error)
- func (impl *DeploymentGroupServiceImpl) FetchAllDeploymentGroups() ([]DeploymentGroupDTO, error)
- func (impl *DeploymentGroupServiceImpl) FetchEnvApplicationsForDG(ciPipelineId int) ([]*EnvironmentAppListForDG, error)
- func (impl *DeploymentGroupServiceImpl) FetchParentCiForDG(deploymentGroupId int) ([]*CiPipelineResponseForDG, error)
- func (impl *DeploymentGroupServiceImpl) FindById(id int) (*DeploymentGroupDTO, error)
- func (impl *DeploymentGroupServiceImpl) GetArtifactsByCiPipeline(ciPipelineId int) (bean.CiArtifactResponse, error)
- func (impl *DeploymentGroupServiceImpl) GetDeploymentGroupById(deploymentGroupId int) (*DeploymentGroupRequest, error)
- func (impl *DeploymentGroupServiceImpl) TriggerReleaseForDeploymentGroup(triggerRequest *DeploymentGroupTriggerRequest) (interface{}, error)
- func (impl *DeploymentGroupServiceImpl) UpdateDeploymentGroup(deploymentGroupRequest *DeploymentGroupRequest) (*DeploymentGroupRequest, error)
 
- type DeploymentGroupTriggerRequest
- type EnvironmentAppListForDG
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CiMaterialDTO ¶
type CiPipelineResponseForDG ¶
type CiPipelineResponseForDG struct {
	Name         string             `json:"name"`
	CiPipelineId int                `json:"ciPipelineId"`
	Connections  int                `json:"connections"`
	Repositories []*bean.CiMaterial `json:"repositories"`
}
    type DGParentCiResponse ¶
type DGParentCiResponse struct {
	ParentCis     []*CiPipelineResponseForDG
	ParentCiForDg *DeploymentGroupDTO
}
    type DeploymentGroupDTO ¶
type DeploymentGroupDTO struct {
	Id              int             `json:"id"`
	Name            string          `json:"name"`
	AppCount        int             `json:"appCount"`
	NoOfApps        string          `json:"noOfApps"`
	EnvironmentId   int             `json:"environmentId"`
	CiPipelineId    int             `json:"ciPipelineId"`
	CiPipelineName  string          `json:"ciPipelineName"`
	CiMaterialDTOs  []CiMaterialDTO `json:"ciMaterialDTOs"`
	EnvironmentName string          `json:"environmentName"`
}
    type DeploymentGroupRequest ¶
type DeploymentGroupService ¶
type DeploymentGroupService interface {
	CreateDeploymentGroup(deploymentGroupRequest *DeploymentGroupRequest) (*DeploymentGroupRequest, error)
	FetchParentCiForDG(deploymentGroupId int) ([]*CiPipelineResponseForDG, error)
	FetchEnvApplicationsForDG(ciPipelineId int) ([]*EnvironmentAppListForDG, error)
	FetchAllDeploymentGroups() ([]DeploymentGroupDTO, error)
	DeleteDeploymentGroup(deploymentGroupId int) (bool, error)
	FindById(id int) (*DeploymentGroupDTO, error)
	TriggerReleaseForDeploymentGroup(triggerRequest *DeploymentGroupTriggerRequest) (interface{}, error)
	UpdateDeploymentGroup(deploymentGroupRequest *DeploymentGroupRequest) (*DeploymentGroupRequest, error)
	GetArtifactsByCiPipeline(ciPipelineId int) (bean.CiArtifactResponse, error)
	GetDeploymentGroupById(deploymentGroupId int) (*DeploymentGroupRequest, error)
}
    type DeploymentGroupServiceImpl ¶
type DeploymentGroupServiceImpl struct {
	// contains filtered or unexported fields
}
    func NewDeploymentGroupServiceImpl ¶
func NewDeploymentGroupServiceImpl(appRepository app.AppRepository, logger *zap.SugaredLogger, pipelineRepository pipelineConfig.PipelineRepository, ciPipelineRepository pipelineConfig.CiPipelineRepository, deploymentGroupRepository repository.DeploymentGroupRepository, environmentRepository repository2.EnvironmentRepository, deploymentGroupAppRepository repository.DeploymentGroupAppRepository, ciArtifactRepository repository.CiArtifactRepository, appWorkflowRepository appWorkflow.AppWorkflowRepository, workflowDagExecutor pipeline.WorkflowDagExecutor) *DeploymentGroupServiceImpl
func (*DeploymentGroupServiceImpl) CreateDeploymentGroup ¶
func (impl *DeploymentGroupServiceImpl) CreateDeploymentGroup(deploymentGroupRequest *DeploymentGroupRequest) (*DeploymentGroupRequest, error)
func (*DeploymentGroupServiceImpl) DeleteDeploymentGroup ¶
func (impl *DeploymentGroupServiceImpl) DeleteDeploymentGroup(deploymentGroupId int) (bool, error)
func (*DeploymentGroupServiceImpl) FetchAllDeploymentGroups ¶
func (impl *DeploymentGroupServiceImpl) FetchAllDeploymentGroups() ([]DeploymentGroupDTO, error)
func (*DeploymentGroupServiceImpl) FetchEnvApplicationsForDG ¶
func (impl *DeploymentGroupServiceImpl) FetchEnvApplicationsForDG(ciPipelineId int) ([]*EnvironmentAppListForDG, error)
func (*DeploymentGroupServiceImpl) FetchParentCiForDG ¶
func (impl *DeploymentGroupServiceImpl) FetchParentCiForDG(deploymentGroupId int) ([]*CiPipelineResponseForDG, error)
func (*DeploymentGroupServiceImpl) FindById ¶
func (impl *DeploymentGroupServiceImpl) FindById(id int) (*DeploymentGroupDTO, error)
func (*DeploymentGroupServiceImpl) GetArtifactsByCiPipeline ¶
func (impl *DeploymentGroupServiceImpl) GetArtifactsByCiPipeline(ciPipelineId int) (bean.CiArtifactResponse, error)
func (*DeploymentGroupServiceImpl) GetDeploymentGroupById ¶
func (impl *DeploymentGroupServiceImpl) GetDeploymentGroupById(deploymentGroupId int) (*DeploymentGroupRequest, error)
func (*DeploymentGroupServiceImpl) TriggerReleaseForDeploymentGroup ¶
func (impl *DeploymentGroupServiceImpl) TriggerReleaseForDeploymentGroup(triggerRequest *DeploymentGroupTriggerRequest) (interface{}, error)
func (*DeploymentGroupServiceImpl) UpdateDeploymentGroup ¶
func (impl *DeploymentGroupServiceImpl) UpdateDeploymentGroup(deploymentGroupRequest *DeploymentGroupRequest) (*DeploymentGroupRequest, error)
 Click to show internal directories. 
   Click to hide internal directories.