Module: ContainerRegistry::Protection::InternalEventsTracking

Includes:
Gitlab::InternalEventsTracking
Included in:
CreateRuleService, CreateTagRuleService, DeleteRuleService, DeleteTagRuleService, UpdateTagRuleService
Defined in:
app/services/concerns/container_registry/protection/internal_events_tracking.rb

Instance Method Summary collapse

Methods included from Gitlab::InternalEventsTracking

#track_internal_event

Instance Method Details

#track_repository_rule_creation(protection_rule) ⇒ Object



20
21
22
# File 'app/services/concerns/container_registry/protection/internal_events_tracking.rb', line 20

def track_repository_rule_creation(protection_rule)
  track_event('create_container_repository_protection_rule', protection_rule)
end

#track_repository_rule_deletion(protection_rule) ⇒ Object



24
25
26
# File 'app/services/concerns/container_registry/protection/internal_events_tracking.rb', line 24

def track_repository_rule_deletion(protection_rule)
  track_event('delete_container_repository_protection_rule', protection_rule)
end

#track_tag_rule_creation(protection_rule) ⇒ Object



8
9
10
# File 'app/services/concerns/container_registry/protection/internal_events_tracking.rb', line 8

def track_tag_rule_creation(protection_rule)
  track_event('create_container_registry_protected_tag_rule', protection_rule)
end

#track_tag_rule_deletion(protection_rule) ⇒ Object



12
13
14
# File 'app/services/concerns/container_registry/protection/internal_events_tracking.rb', line 12

def track_tag_rule_deletion(protection_rule)
  track_event('delete_container_registry_protected_tag_rule', protection_rule)
end

#track_tag_rule_update(protection_rule) ⇒ Object



16
17
18
# File 'app/services/concerns/container_registry/protection/internal_events_tracking.rb', line 16

def track_tag_rule_update(protection_rule)
  track_event('update_container_registry_protected_tag_rule', protection_rule)
end