datadog-ci 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,83 +0,0 @@
1
- module Datadog
2
- module CI
3
- class Recorder
4
- @test_suite_level_visibility_enabled: bool
5
- @enabled: bool
6
-
7
- @environment_tags: Hash[String, String]
8
- @local_context: Datadog::CI::Context::Local
9
- @global_context: Datadog::CI::Context::Global
10
-
11
- @null_span: Datadog::CI::NullSpan
12
-
13
- attr_reader environment_tags: Hash[String, String]
14
- attr_reader test_suite_level_visibility_enabled: bool
15
- attr_reader enabled: bool
16
-
17
- def initialize: (?enabled: bool, ?test_suite_level_visibility_enabled: bool) -> void
18
-
19
- def trace_test: (String span_name, String test_suite_name, ?service: String?, ?tags: Hash[untyped, untyped]) ?{ (Datadog::CI::Span span) -> untyped } -> untyped
20
-
21
- def trace: (String span_type, String span_name, ?tags: Hash[untyped, untyped]) ?{ (Datadog::CI::Span span) -> untyped } -> untyped
22
-
23
- def start_test_session: (?service: String?, ?tags: Hash[untyped, untyped]) -> Datadog::CI::Span
24
-
25
- def start_test_module: (String test_module_name, ?service: String?, ?tags: Hash[untyped, untyped]) -> Datadog::CI::Span
26
-
27
- def start_test_suite: (String test_suite_name, ?service: String?, ?tags: Hash[untyped, untyped]) -> Datadog::CI::Span
28
-
29
- def active_test_session: () -> Datadog::CI::TestSession?
30
-
31
- def active_test_module: () -> Datadog::CI::TestModule?
32
-
33
- def active_test_suite: (String test_suite_name) -> Datadog::CI::TestSuite?
34
-
35
- def active_test: () -> Datadog::CI::Test?
36
-
37
- def active_span: () -> Datadog::CI::Span?
38
-
39
- def deactivate_test: (Datadog::CI::Test test) -> void
40
-
41
- def deactivate_test_session: () -> void
42
-
43
- def deactivate_test_module: () -> void
44
-
45
- def deactivate_test_suite: (String test_suite_name) -> void
46
-
47
- def create_datadog_span: (String span_name, ?span_options: Hash[untyped, untyped], ?tags: Hash[untyped, untyped]) ?{ (Datadog::CI::Span span) -> untyped } -> untyped
48
-
49
- def set_trace_origin: (Datadog::Tracing::TraceOperation trace) -> untyped
50
-
51
- private
52
-
53
- def build_test: (Datadog::Tracing::SpanOperation tracer_span, Hash[untyped, untyped] tags) -> Datadog::CI::Test
54
-
55
- def build_test_session: (Datadog::Tracing::SpanOperation tracer_span, Hash[untyped, untyped] tags) -> Datadog::CI::TestSession
56
-
57
- def build_test_module: (Datadog::Tracing::SpanOperation tracer_span, Hash[untyped, untyped] tags) -> Datadog::CI::TestModule
58
-
59
- def build_test_suite: (Datadog::Tracing::SpanOperation tracer_span, Hash[untyped, untyped] tags) -> Datadog::CI::TestSuite
60
-
61
- def build_span: (Datadog::Tracing::SpanOperation tracer_span, Hash[untyped, untyped] tags) -> Datadog::CI::Span
62
-
63
- def build_span_options: (String? service_name, String span_type, ?Hash[Symbol, untyped] other_options) -> Hash[Symbol, untyped]
64
-
65
- def set_initial_tags: (Datadog::CI::Span ci_span, Hash[untyped, untyped] tags) -> void
66
-
67
- # the type (Datadog::CI::TestSession | Datadog::Tracing::SpanOperation) screams of wrong/mising abstraction
68
- def set_session_context: (Hash[untyped, untyped] tags, ?Datadog::CI::TestSession | Datadog::Tracing::SpanOperation? test_session) -> void
69
-
70
- def set_suite_context: (Hash[untyped, untyped] tags, ?span: Datadog::Tracing::SpanOperation, ?name: String) -> void
71
-
72
- def set_module_context: (Hash[untyped, untyped] tags, ?Datadog::CI::TestModule | Datadog::Tracing::SpanOperation? test_module) -> void
73
-
74
- def null_span: () -> Datadog::CI::Span
75
-
76
- def skip_tracing: (?untyped block) -> untyped
77
-
78
- def start_datadog_tracer_span: (String span_name, Hash[untyped, untyped] span_options) ?{ (untyped) -> untyped } -> untyped
79
-
80
- def set_inherited_globals: (Hash[untyped, untyped] tags) -> void
81
- end
82
- end
83
- end