-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
787bbe0
commit 87ba255
Showing
72 changed files
with
2,077 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
module Datadog | ||
module CI | ||
VERSION: String | ||
# See the writing guide of rbs: https://github.com/ruby/rbs#guides | ||
VERSION: String | ||
class Error < StandardError | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module Cucumber | ||
end | ||
|
||
class Cucumber::Runtime | ||
def formatters: () -> untyped | ||
end |
84 changes: 84 additions & 0 deletions
84
vendor/rbs/ddtrace/0/datadog/core/configuration/agent_settings_resolver.rbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
module Datadog | ||
module Core | ||
module Configuration | ||
class AgentSettingsResolver | ||
class AgentSettings < ::Struct[untyped] | ||
def initialize: (adapter: untyped, ssl: untyped, hostname: untyped, port: untyped, uds_path: untyped, timeout_seconds: untyped, deprecated_for_removal_transport_configuration_proc: untyped) -> void | ||
def merge: (**::Hash[untyped, untyped] member_values) -> AgentSettingsResolver | ||
|
||
attr_reader adapter: untyped | ||
attr_reader ssl: untyped | ||
attr_reader hostname: untyped | ||
attr_reader port: untyped | ||
attr_reader uds_path: untyped | ||
attr_reader timeout_seconds: untyped | ||
attr_reader deprecated_for_removal_transport_configuration_proc: untyped | ||
end | ||
|
||
def self.call: (untyped settings, ?logger: untyped) -> untyped | ||
|
||
private | ||
|
||
attr_reader logger: untyped | ||
|
||
attr_reader settings: untyped | ||
|
||
def initialize: (untyped settings, ?logger: untyped) -> void | ||
|
||
def call: () -> untyped | ||
|
||
def adapter: () -> untyped | ||
|
||
def configured_hostname: () -> untyped | ||
|
||
def configured_port: () -> untyped | ||
|
||
def try_parsing_as_integer: (value: untyped, friendly_name: untyped) -> untyped | ||
|
||
def ssl?: () -> untyped | ||
|
||
def hostname: () -> untyped | ||
|
||
def port: () -> untyped | ||
|
||
def uds_path: () -> untyped | ||
|
||
def timeout_seconds: () -> untyped | ||
|
||
def deprecated_for_removal_transport_configuration_proc: () -> (untyped | nil) | ||
|
||
def uds_fallback: () -> untyped | ||
|
||
def should_use_uds_fallback?: () -> untyped | ||
|
||
def parsed_url: () -> untyped | ||
|
||
def pick_from: (*untyped configurations_in_priority_order) -> untyped | ||
|
||
def warn_if_configuration_mismatch: (untyped detected_configurations_in_priority_order) -> (nil | untyped) | ||
|
||
def log_warning: (untyped message) -> (untyped | nil) | ||
|
||
def transport_options: () -> untyped | ||
|
||
class DetectedConfiguration | ||
attr_reader friendly_name: untyped | ||
|
||
attr_reader value: untyped | ||
|
||
def initialize: (friendly_name: untyped, value: untyped) -> void | ||
|
||
def value?: () -> untyped | ||
end | ||
|
||
TransportOptions: untyped | ||
|
||
class TransportOptionsResolver | ||
def initialize: (untyped transport_options) -> void | ||
|
||
def adapter: (untyped kind_or_custom_adapter, *untyped args, **untyped kwargs) -> nil | ||
end | ||
end | ||
end | ||
end | ||
end |
43 changes: 43 additions & 0 deletions
43
vendor/rbs/ddtrace/0/datadog/core/configuration/option.rbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
module Datadog | ||
module Core | ||
module Configuration | ||
class Option | ||
attr_reader definition: untyped | ||
|
||
module Precedence | ||
REMOTE_CONFIGURATION: ::Array[2 | :remote_configuration] | ||
PROGRAMMATIC: ::Array[1 | :programmatic] | ||
DEFAULT: ::Array[0 | :default] | ||
end | ||
|
||
def initialize: (untyped definition, untyped context) -> void | ||
|
||
def set: (untyped value, ?precedence: untyped) -> untyped | ||
|
||
def get: () -> untyped | ||
|
||
def reset: () -> untyped | ||
|
||
def default_value: () -> untyped | ||
|
||
def default_precedence?: () -> untyped | ||
|
||
private | ||
|
||
def coerce_env_variable: (untyped value) -> untyped | ||
|
||
def validate_type: (untyped value) -> untyped | ||
|
||
def validate: (untyped type, untyped value) -> untyped | ||
|
||
def context_exec: (*untyped args) { () -> untyped } -> untyped | ||
|
||
def context_eval: () { () -> untyped } -> untyped | ||
|
||
def set_value_from_env_or_default: () -> untyped | ||
|
||
attr_reader precedence_set: untyped | ||
end | ||
end | ||
end | ||
end |
71 changes: 71 additions & 0 deletions
71
vendor/rbs/ddtrace/0/datadog/core/configuration/option_definition.rbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
module Datadog | ||
module Core | ||
module Configuration | ||
class OptionDefinition | ||
IDENTITY: untyped | ||
|
||
attr_reader default: untyped | ||
|
||
attr_reader experimental_default_proc: untyped | ||
|
||
attr_reader env: untyped | ||
|
||
attr_reader deprecated_env: untyped | ||
|
||
attr_reader env_parser: untyped | ||
|
||
attr_reader delegate_to: untyped | ||
|
||
attr_reader depends_on: untyped | ||
|
||
attr_reader name: untyped | ||
|
||
attr_reader on_set: untyped | ||
|
||
attr_reader resetter: untyped | ||
|
||
attr_reader setter: untyped | ||
|
||
def initialize: (untyped name, ?::Hash[untyped, untyped] meta) { () -> untyped } -> untyped | ||
|
||
def build: (untyped context) -> untyped | ||
|
||
class Builder | ||
attr_reader helpers: untyped | ||
|
||
def initialize: (untyped name, ?::Hash[untyped, untyped] options) { (untyped) -> untyped } -> untyped | ||
|
||
def depends_on: (*untyped values) -> untyped | ||
|
||
def default: (?untyped? value) ?{ () -> untyped } -> untyped | ||
|
||
def experimental_default_proc: () { () -> untyped } -> untyped | ||
|
||
def delegate_to: () { () -> untyped } -> untyped | ||
|
||
def env: (untyped value) -> untyped | ||
|
||
def deprecated_env: (untyped value) -> untyped | ||
|
||
def env_parser: () { (String env_value) -> untyped } -> untyped | ||
|
||
def type: (Symbol value, ?::Hash[untyped, untyped] type_options) -> untyped | ||
|
||
def helper: (untyped name, *untyped _args) { () -> untyped } -> untyped | ||
|
||
def on_set: () { (untyped value) -> untyped } -> untyped | ||
|
||
def resetter: () { (untyped value) -> untyped } -> untyped | ||
|
||
def setter: () { (untyped value) -> untyped } -> untyped | ||
|
||
def apply_options!: (?::Hash[untyped, untyped] options) -> (nil | untyped) | ||
|
||
def to_definition: () -> untyped | ||
|
||
def meta: () -> { default: untyped, delegate_to: untyped, depends_on: untyped, on_set: untyped, resetter: untyped, setter: untyped } | ||
end | ||
end | ||
end | ||
end | ||
end |
11 changes: 11 additions & 0 deletions
11
vendor/rbs/ddtrace/0/datadog/core/configuration/option_definition_set.rbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module Datadog | ||
module Core | ||
module Configuration | ||
class OptionDefinitionSet < Hash[untyped, untyped] | ||
def dependency_order: () -> untyped | ||
|
||
def dependency_graph: () -> untyped | ||
end | ||
end | ||
end | ||
end |
8 changes: 8 additions & 0 deletions
8
vendor/rbs/ddtrace/0/datadog/core/configuration/option_set.rbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module Datadog | ||
module Core | ||
module Configuration | ||
class OptionSet < Hash[untyped, untyped] | ||
end | ||
end | ||
end | ||
end |
Oops, something went wrong.