Versions in this module Expand all Collapse all v0 v0.2.21 Aug 13, 2021 v0.2.20 Aug 10, 2021 v0.2.19 Jul 28, 2021 v0.2.18 Jul 20, 2021 v0.2.17 Jul 16, 2021 v0.2.16 Jul 9, 2021 v0.2.15 Jul 2, 2021 v0.2.14 Jun 28, 2021 v0.2.13 Jun 22, 2021 Changes in this version type PipelineResponse + AppName string + Branches []string v0.2.12 Jun 1, 2021 v0.2.11 May 24, 2021 v0.2.10 May 23, 2021 v0.2.9 May 5, 2021 v0.2.8 Apr 23, 2021 v0.2.7 Apr 12, 2021 v0.2.6 Apr 7, 2021 Changes in this version + type AppResponse struct + Id *int + Name string + type EnvResponse struct + Id *int + Name string + type NSConfig struct + AppId []*int + EnvId []*int + EventTypeIds []int + PipelineId *int + PipelineType util.PipelineType + Providers []*Provider + TeamId []*int + type NSDeleteRequest struct + Id []*int + type NSViewResponse struct + NotificationSettingsResponse []*NotificationSettingsResponse + Total int + type NotificationChannelAutoResponse struct + ConfigName string + Id int + TeamId int + type NotificationConfigBuilder interface + BuildNewNotificationSettings func(notificationSettingsRequest *NotificationConfigRequest, ...) ([]repository.NotificationSettings, error) + BuildNotificationSettingWithPipeline func(teamId *int, envId *int, appId *int, pipelineId *int, ...) (repository.NotificationSettings, error) + BuildNotificationSettingsConfig func(notificationSettingsRequest *NotificationConfigRequest, ...) (*repository.NotificationSettingsView, error) + type NotificationConfigBuilderImpl struct + func NewNotificationConfigBuilderImpl(logger *zap.SugaredLogger) *NotificationConfigBuilderImpl + func (impl NotificationConfigBuilderImpl) BuildNewNotificationSettings(notificationSettingsRequest *NotificationConfigRequest, ...) ([]repository.NotificationSettings, error) + func (impl NotificationConfigBuilderImpl) BuildNotificationSettingWithPipeline(teamId *int, envId *int, appId *int, pipelineId *int, ...) (repository.NotificationSettings, error) + func (impl NotificationConfigBuilderImpl) BuildNotificationSettingsConfig(notificationSettingsRequest *NotificationConfigRequest, ...) (*repository.NotificationSettingsView, error) + type NotificationConfigRequest struct + AppId []*int + EnvId []*int + EventTypeIds []int + Id int + PipelineId *int + PipelineType util.PipelineType + Providers []*Provider + TeamId []*int + type NotificationConfigService interface + BuildNotificationSettingsResponse func(notificationSettings []*repository.NotificationSettingsViewWithAppEnv) ([]*NotificationSettingsResponse, error) + CreateOrUpdateNotificationSettings func(notificationSettingsRequest *NotificationRequest, userId int32) (int, error) + DeleteNotificationSettings func(request NSDeleteRequest) error + FetchNSViewByIds func(ids []*int) ([]*NSConfig, error) + FindAll func(offset int, size int) ([]*repository.NotificationSettingsViewWithAppEnv, int, error) + FindNotificationSettingOptions func(request *repository.SearchRequest) ([]*SearchFilterResponse, error) + UpdateNotificationSettings func(notificationSettingsRequest *NotificationUpdateRequest, userId int32) (int, error) + type NotificationConfigServiceImpl struct + func NewNotificationConfigServiceImpl(logger *zap.SugaredLogger, ...) *NotificationConfigServiceImpl + func (impl *NotificationConfigServiceImpl) BuildNotificationSettingsResponse(notificationSettingViews []*repository.NotificationSettingsViewWithAppEnv) ([]*NotificationSettingsResponse, error) + func (impl *NotificationConfigServiceImpl) CreateOrUpdateNotificationSettings(notificationSettingsRequest *NotificationRequest, userId int32) (int, error) + func (impl *NotificationConfigServiceImpl) DeleteNotificationSettings(request NSDeleteRequest) error + func (impl *NotificationConfigServiceImpl) FetchNSViewByIds(ids []*int) ([]*NSConfig, error) + func (impl *NotificationConfigServiceImpl) FindAll(offset int, size int) ([]*repository.NotificationSettingsViewWithAppEnv, int, error) + func (impl *NotificationConfigServiceImpl) FindNotificationSettingOptions(settingRequest *repository.SearchRequest) ([]*SearchFilterResponse, error) + func (impl *NotificationConfigServiceImpl) UpdateNotificationSettings(notificationSettingsRequest *NotificationUpdateRequest, userId int32) (int, error) + type NotificationRecipientListingResponse struct + ConfigId int + Dest util2.Channel + Recipient string + type NotificationRequest struct + NotificationConfigRequest []*NotificationConfigRequest + Providers []*Provider + SesConfigId int + UpdateType util.UpdateType + type NotificationSettingRequest struct + AppId *int + EnvId *int + EventTypeIds []int + Id int + PipelineType util.PipelineType + Providers []Provider + TeamId int + type NotificationSettingsResponse struct + AppResponse []*AppResponse + ConfigName string + EnvResponse []*EnvResponse + EventTypes []int + Id int + PipelineResponse *PipelineResponse + PipelineType string + ProvidersConfig []*ProvidersConfig + TeamResponse []*TeamResponse + type NotificationUpdateRequest struct + NotificationConfigRequest []*NotificationConfigRequest + UpdateType util.UpdateType + type PipelineResponse struct + EnvironmentName string + Id *int + Name string + type Provider struct + ConfigId int + Destination util.Channel + Recipient string + Rule string + type Providers struct + Providers []Provider + type ProvidersConfig struct + ConfigName string + Dest string + Id int + Recipient string + type SESChannelConfig struct + Channel util2.Channel + SESConfigDtos []*SESConfigDto + type SESConfigDto struct + AccessKey string + ConfigName string + Default bool + Description string + FromEmail string + Id int + OwnerId int32 + Region string + SecretKey string + SessionToken string + TeamId int + ToEmail string + type SESNotificationService interface + FetchAllSESNotificationConfig func() ([]*SESConfigDto, error) + FetchAllSESNotificationConfigAutocomplete func() ([]*NotificationChannelAutoResponse, error) + FetchSESNotificationConfigById func(id int) (*SESConfigDto, error) + SaveOrEditNotificationConfig func(channelReq []*SESConfigDto, userId int32) ([]int, error) + type SESNotificationServiceImpl struct + func NewSESNotificationServiceImpl(logger *zap.SugaredLogger, sesRepository repository.SESNotificationRepository, ...) *SESNotificationServiceImpl + func (impl *SESNotificationServiceImpl) FetchAllSESNotificationConfig() ([]*SESConfigDto, error) + func (impl *SESNotificationServiceImpl) FetchAllSESNotificationConfigAutocomplete() ([]*NotificationChannelAutoResponse, error) + func (impl *SESNotificationServiceImpl) FetchSESNotificationConfigById(id int) (*SESConfigDto, error) + func (impl *SESNotificationServiceImpl) SaveOrEditNotificationConfig(channelReq []*SESConfigDto, userId int32) ([]int, error) + type SearchFilterResponse struct + AppResponse []*AppResponse + EnvResponse []*EnvResponse + PipelineResponse *PipelineResponse + PipelineType string + TeamResponse []*TeamResponse + type SlackChannelConfig struct + Channel util2.Channel + SlackConfigDtos []SlackConfigDto + type SlackConfigDto struct + ConfigName string + Description string + Id int + OwnerId int32 + TeamId int + WebhookUrl string + type SlackNotificationService interface + FetchAllSlackNotificationConfig func() ([]*SlackConfigDto, error) + FetchAllSlackNotificationConfigAutocomplete func() ([]*NotificationChannelAutoResponse, error) + FetchSlackNotificationConfigById func(id int) (*SlackConfigDto, error) + RecipientListingSuggestion func(value string) ([]*NotificationRecipientListingResponse, error) + SaveOrEditNotificationConfig func(channelReq []SlackConfigDto, userId int32) ([]int, error) + type SlackNotificationServiceImpl struct + func NewSlackNotificationServiceImpl(logger *zap.SugaredLogger, ...) *SlackNotificationServiceImpl + func (impl *SlackNotificationServiceImpl) FetchAllSlackNotificationConfig() ([]*SlackConfigDto, error) + func (impl *SlackNotificationServiceImpl) FetchAllSlackNotificationConfigAutocomplete() ([]*NotificationChannelAutoResponse, error) + func (impl *SlackNotificationServiceImpl) FetchSlackNotificationConfigById(id int) (*SlackConfigDto, error) + func (impl *SlackNotificationServiceImpl) RecipientListingSuggestion(value string) ([]*NotificationRecipientListingResponse, error) + func (impl *SlackNotificationServiceImpl) SaveOrEditNotificationConfig(channelReq []SlackConfigDto, userId int32) ([]int, error) + type TeamResponse struct + Id *int + Name string