Versions in this module Expand all Collapse all v1 v1.2.9 Apr 12, 2021 v1.2.8 Apr 12, 2021 v0 v0.2.8 Mar 30, 2021 Changes in this version + type CiPipelineMaterialResponse struct + Active bool + BranchErrorMsg string + GitMaterialId int + GitMaterialName string + GitMaterialUrl string + History []*gitSensor.GitCommit + Id int + IsBranchError bool + IsRepoError bool + LastFetchTime time.Time + RepoErrorMsg string + Type string + Url string + Value string + type Event struct + AppId int + BaseUrl string + CdWorkflowRunnerId int + CdWorkflowType bean.CdWorkflowType + CiArtifactId int + CiWorkflowRunnerId int + CorrelationId string + EnvId int + EventName string + EventTime string + EventTypeId int + Payload *Payload + PipelineId int + PipelineType string + TeamId int + UserId int + type EventClient interface + SendTestSuite func(reqBody []byte) (bool, error) + WriteEvent func(event Event) (bool, error) + WriteNatsEvent func(channel string, payload interface{}) error + type EventClientConfig struct + DestinationURL string + TestSuitURL string + func GetEventClientConfig() (*EventClientConfig, error) + type EventFactory interface + Build func(eventType util.EventType, sourceId *int, appId int, envId *int, ...) Event + BuildExtraCDData func(event Event, wfr *pipelineConfig.CdWorkflowRunner, pipelineOverrideId int, ...) Event + BuildExtraCIData func(event Event, material *MaterialTriggerInfo, dockerImage string) Event + type EventRESTClientImpl struct + func NewEventRESTClientImpl(logger *zap.SugaredLogger, client *http.Client, config *EventClientConfig, ...) *EventRESTClientImpl + func (impl *EventRESTClientImpl) SendEvent(event Event) (bool, error) + func (impl *EventRESTClientImpl) SendTestSuite(reqBody []byte) (bool, error) + func (impl *EventRESTClientImpl) WriteEvent(event Event) (bool, error) + func (impl *EventRESTClientImpl) WriteNatsEvent(channel string, payload interface{}) error + type EventSimpleFactoryImpl struct + func NewEventSimpleFactoryImpl(logger *zap.SugaredLogger, ...) *EventSimpleFactoryImpl + func (impl *EventSimpleFactoryImpl) Build(eventType util.EventType, sourceId *int, appId int, envId *int, ...) Event + func (impl *EventSimpleFactoryImpl) BuildExtraCDData(event Event, wfr *pipelineConfig.CdWorkflowRunner, pipelineOverrideId int, ...) Event + func (impl *EventSimpleFactoryImpl) BuildExtraCIData(event Event, material *MaterialTriggerInfo, dockerImage string) Event + type MaterialTriggerInfo struct + CiMaterials []CiPipelineMaterialResponse + GitTriggers map[int]pipelineConfig.GitCommit + type Payload struct + AppDetailLink string + AppName string + BuildHistoryLink string + DeploymentHistoryLink string + DockerImageUrl string + DownloadLink string + EnvName string + MaterialTriggerInfo *MaterialTriggerInfo + PipelineName string + Source string + Stage string + TriggeredBy string