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

out

package
v0.6.29 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 19 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type WorkflowEventPublishService

type WorkflowEventPublishService interface {
	TriggerBulkHibernateAsync(request bean.StopDeploymentGroupRequest) (interface{}, error)
	TriggerHelmAsyncRelease(overrideRequest *bean3.ValuesOverrideRequest, ctx context.Context, triggeredAt time.Time,
		triggeredBy int32) (releaseNo int, manifest []byte, err error)
	TriggerBulkDeploymentAsync(requests []*bean.BulkTriggerRequest, UserId int32) (interface{}, error)
}

type WorkflowEventPublishServiceImpl

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

func NewWorkflowEventPublishServiceImpl

func NewWorkflowEventPublishServiceImpl(logger *zap.SugaredLogger,
	pubSubClient *pubsub.PubSubClientServiceImpl,
	cdWorkflowCommonService cd.CdWorkflowCommonService,
	deployedConfigurationHistoryService history.DeployedConfigurationHistoryService,
	manifestCreationService manifest.ManifestCreationService,
	pipelineStatusTimelineService status.PipelineStatusTimelineService,

	cdWorkflowRepository pipelineConfig.CdWorkflowRepository,
	pipelineRepository pipelineConfig.PipelineRepository,
	groupRepository repository.DeploymentGroupRepository) (*WorkflowEventPublishServiceImpl, error)

func (*WorkflowEventPublishServiceImpl) TriggerBulkDeploymentAsync

func (impl *WorkflowEventPublishServiceImpl) TriggerBulkDeploymentAsync(requests []*bean.BulkTriggerRequest, UserId int32) (interface{}, error)

func (*WorkflowEventPublishServiceImpl) TriggerBulkHibernateAsync

func (impl *WorkflowEventPublishServiceImpl) TriggerBulkHibernateAsync(request bean.StopDeploymentGroupRequest) (interface{}, error)

func (*WorkflowEventPublishServiceImpl) TriggerHelmAsyncRelease

func (impl *WorkflowEventPublishServiceImpl) TriggerHelmAsyncRelease(overrideRequest *bean3.ValuesOverrideRequest, ctx context.Context, triggeredAt time.Time, triggeredBy int32) (releaseNo int, manifest []byte, err error)

TriggerHelmAsyncRelease will publish async helm Install/Upgrade request event for Devtron App releases

func (*WorkflowEventPublishServiceImpl) UpdatePreviousQueuedRunnerStatus

func (impl *WorkflowEventPublishServiceImpl) UpdatePreviousQueuedRunnerStatus(cdWfrId, pipelineId int, triggeredBy int32) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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