Skip to content

Commit cbe258f

Browse files
assafad1celaus
authored andcommitted
Go re-exports
1 parent ab32d58 commit cbe258f

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

go/notifications-client.go

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919

2020
common "github.com/coralogix/coralogix-management-sdk/go/internal/coralogixapis/notification_center/common"
2121
commonv1 "github.com/coralogix/coralogix-management-sdk/go/internal/coralogixapis/notification_center/common/v1"
22+
"github.com/coralogix/coralogix-management-sdk/go/internal/coralogixapis/notification_center/common/v1/routing"
2223
connectors "github.com/coralogix/coralogix-management-sdk/go/internal/coralogixapis/notification_center/connectors/v1"
2324
notifications "github.com/coralogix/coralogix-management-sdk/go/internal/coralogixapis/notification_center/notifications/v1"
2425
presets "github.com/coralogix/coralogix-management-sdk/go/internal/coralogixapis/notification_center/presets/v1"
@@ -174,6 +175,12 @@ type ConditionTypeMatchEntityTypeAndSubType = common.ConditionType_MatchEntityTy
174175
// MatchEntityTypeAndSubTypeCondition is a match entity type and subtype condition.
175176
type MatchEntityTypeAndSubTypeCondition = common.MatchEntityTypeAndSubTypeCondition
176177

178+
// RoutingRule is a routing target.
179+
type RoutingRule = routing.RoutingRule
180+
181+
// RoutingTarget is a routing target.
182+
type RoutingTarget = routing.RoutingTarget
183+
177184
// PresetType is a preset type.
178185
type PresetType = presets.PresetType
179186

@@ -184,13 +191,13 @@ const (
184191
PresetTypeCustom = presets.PresetType_CUSTOM
185192
)
186193

187-
// EntityType is a type of entity.
188-
type EntityType = common.EntityType
194+
// NotificationsEntityType is a type of entity.
195+
type NotificationsEntityType = common.EntityType
189196

190-
// EntityType values.
197+
// NotificationsEntityType values.
191198
const (
192-
EntityTypeUnspecified = common.EntityType_ENTITY_TYPE_UNSPECIFIED
193-
EntityTypeAlerts = common.EntityType_ALERTS
199+
NotificationsEntityTypeUnspecified = common.EntityType_ENTITY_TYPE_UNSPECIFIED
200+
NotificationsEntityTypeAlerts = common.EntityType_ALERTS
194201
)
195202

196203
// CreateGlobalRouterRequest is a request to create a global router.
@@ -250,6 +257,9 @@ type MessageConfig = common.MessageConfig
250257
// MessageConfigField is a message configuration field.
251258
type MessageConfigField = commonv1.MessageConfigField
252259

260+
// TemplatedConnectorConfigField is a templated message configuration field.
261+
type TemplatedConnectorConfigField = commonv1.TemplatedConnectorConfigField
262+
253263
// TestConnectorConfigRequest is a request to test a connector configuration.
254264
type TestConnectorConfigRequest = notifications.TestConnectorConfigRequest
255265

0 commit comments

Comments
 (0)