You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: enum.go
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ var AllAlertSourceStatusTypeEnum = []string{
25
25
typeAlertSourceTypeEnumstring
26
26
27
27
var (
28
+
AlertSourceTypeEnumCustomAlertSourceTypeEnum="custom"// A custom alert source (aka service)
28
29
AlertSourceTypeEnumDatadogAlertSourceTypeEnum="datadog"// A Datadog alert source (aka monitor)
29
30
AlertSourceTypeEnumFireHydrantAlertSourceTypeEnum="fire_hydrant"// An FireHydrant alert source (aka service)
30
31
AlertSourceTypeEnumIncidentIoAlertSourceTypeEnum="incident_io"// An incident.io alert source (aka service)
@@ -35,6 +36,7 @@ var (
35
36
36
37
// All AlertSourceTypeEnum as []string
37
38
varAllAlertSourceTypeEnum= []string{
39
+
string(AlertSourceTypeEnumCustom),
38
40
string(AlertSourceTypeEnumDatadog),
39
41
string(AlertSourceTypeEnumFireHydrant),
40
42
string(AlertSourceTypeEnumIncidentIo),
@@ -3041,7 +3043,9 @@ var (
3041
3043
RelatedResourceRelationshipTypeEnumContainsRelatedResourceRelationshipTypeEnum="contains"// The resource contains the node on the edge
3042
3044
RelatedResourceRelationshipTypeEnumDependencyOfRelatedResourceRelationshipTypeEnum="dependency_of"// The resource is a dependency of the node on the edge
3043
3045
RelatedResourceRelationshipTypeEnumDependsOnRelatedResourceRelationshipTypeEnum="depends_on"// The resource depends on the node on the edge
3046
+
RelatedResourceRelationshipTypeEnumIsRelatedToRelatedResourceRelationshipTypeEnum="is_related_to"// The resource is part of a specialized relationship defined on another node
3044
3047
RelatedResourceRelationshipTypeEnumMemberOfRelatedResourceRelationshipTypeEnum="member_of"// The resource is a member of the node on the edge
3048
+
RelatedResourceRelationshipTypeEnumRelatedToRelatedResourceRelationshipTypeEnum="related_to"// The resource has a specialized relationship to another node
3045
3049
)
3046
3050
3047
3051
// All RelatedResourceRelationshipTypeEnum as []string
@@ -3050,21 +3054,25 @@ var AllRelatedResourceRelationshipTypeEnum = []string{
// RelationshipTypeEnum The type of relationship between two resources
3057
3063
typeRelationshipTypeEnumstring
3058
3064
3059
3065
var (
3060
-
RelationshipTypeEnumBelongsToRelationshipTypeEnum="belongs_to"// The source resource belongs to the target resource
3061
-
RelationshipTypeEnumDependsOnRelationshipTypeEnum="depends_on"// The source resource depends on the target resource
3066
+
RelationshipTypeEnumBelongsToRelationshipTypeEnum="belongs_to"// The source resource belongs to the target resource. Can be used to allow Components to belong to Systems and Domains, or for Infrastructure to belong to Components
3067
+
RelationshipTypeEnumDependsOnRelationshipTypeEnum="depends_on"// The source resource depends on the target resource. Can be used to specify that a Component depends on some Infrastructure, or that a System depends on a Component
3068
+
RelationshipTypeEnumRelatedToRelationshipTypeEnum="related_to"// The source resource is related to the target resource through a custom relationship definition. These are dynamic and can be used to extend our out-of-the-box relationships
3062
3069
)
3063
3070
3064
3071
// All RelationshipTypeEnum as []string
3065
3072
varAllRelationshipTypeEnum= []string{
3066
3073
string(RelationshipTypeEnumBelongsTo),
3067
3074
string(RelationshipTypeEnumDependsOn),
3075
+
string(RelationshipTypeEnumRelatedTo),
3068
3076
}
3069
3077
3070
3078
// RepositoryVisibilityEnum Possible visibility levels for repositories
0 commit comments