service

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserDeploymentRequestService

type UserDeploymentRequestService interface {
	SaveNewDeployment(ctx context.Context, tx *pg.Tx, deploymentRequest *eventProcessorBean.UserDeploymentRequest) (int, error)
	GetLatestAsyncCdDeployRequestForPipeline(ctx context.Context, deploymentReqId int) (*eventProcessorBean.UserDeploymentRequest, error)
	IsLatestForPipelineId(id, pipelineId int) (isLatest bool, err error)
	GetAllInCompleteRequests(ctx context.Context) ([]*eventProcessorBean.UserDeploymentRequest, error)
}

type UserDeploymentRequestServiceImpl

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

func NewUserDeploymentRequestServiceImpl

func NewUserDeploymentRequestServiceImpl(logger *zap.SugaredLogger,
	userDeploymentRequestRepo repository.UserDeploymentRequestRepository) *UserDeploymentRequestServiceImpl

func (*UserDeploymentRequestServiceImpl) GetAllInCompleteRequests

func (*UserDeploymentRequestServiceImpl) GetLatestAsyncCdDeployRequestForPipeline

func (impl *UserDeploymentRequestServiceImpl) GetLatestAsyncCdDeployRequestForPipeline(ctx context.Context, deploymentReqId int) (*eventProcessorBean.UserDeploymentRequest, error)

func (*UserDeploymentRequestServiceImpl) IsLatestForPipelineId

func (impl *UserDeploymentRequestServiceImpl) IsLatestForPipelineId(id, pipelineId int) (isLatest bool, err error)

func (*UserDeploymentRequestServiceImpl) SaveNewDeployment

func (impl *UserDeploymentRequestServiceImpl) SaveNewDeployment(ctx context.Context, tx *pg.Tx, deploymentRequest *eventProcessorBean.UserDeploymentRequest) (userDeploymentRequestId int, err error)

Jump to

Keyboard shortcuts

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