capistrano-data_plane_api 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +5 -2
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +6 -0
  5. data/Gemfile +7 -4
  6. data/Gemfile.lock +108 -69
  7. data/README.md +5 -0
  8. data/capistrano-data_plane_api.gemspec +5 -2
  9. data/exe/cap_data_plane_api +3 -2
  10. data/lib/capistrano/data_plane_api/configuration/backend.rb +2 -0
  11. data/lib/capistrano/data_plane_api/configuration/server.rb +4 -2
  12. data/lib/capistrano/data_plane_api/configuration/symbol.rb +2 -0
  13. data/lib/capistrano/data_plane_api/configuration.rb +3 -3
  14. data/lib/capistrano/data_plane_api/deploy/args.rb +71 -40
  15. data/lib/capistrano/data_plane_api/deploy/deployment_stats.rb +29 -25
  16. data/lib/capistrano/data_plane_api/deploy/group.rb +33 -24
  17. data/lib/capistrano/data_plane_api/deploy/helper.rb +3 -5
  18. data/lib/capistrano/data_plane_api/deploy/server_stats.rb +60 -43
  19. data/lib/capistrano/data_plane_api/deploy.rb +3 -2
  20. data/lib/capistrano/data_plane_api/diggable.rb +5 -2
  21. data/lib/capistrano/data_plane_api/equatable.rb +4 -2
  22. data/lib/capistrano/data_plane_api/helper.rb +31 -27
  23. data/lib/capistrano/data_plane_api/hooks.rb +1 -0
  24. data/lib/capistrano/data_plane_api/show_state.rb +15 -12
  25. data/lib/capistrano/data_plane_api/tasks.rb +26 -2
  26. data/lib/capistrano/data_plane_api/terminal_print_loop.rb +7 -4
  27. data/lib/capistrano/data_plane_api/type.rb +9 -5
  28. data/lib/capistrano/data_plane_api/version.rb +2 -2
  29. data/lib/capistrano/data_plane_api.rb +96 -74
  30. data/lib/capistrano-data_plane_api.rb +4 -0
  31. data/rbi/capistrano-data_plane_api.rbi +283 -0
  32. data/sorbet/config +6 -0
  33. data/sorbet/rbi/annotations/.gitattributes +1 -0
  34. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  35. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  36. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  37. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  38. data/sorbet/rbi/dsl/.gitattributes +1 -0
  39. data/sorbet/rbi/dsl/capistrano/data_plane_api/configuration/backend.rbi +50 -0
  40. data/sorbet/rbi/dsl/capistrano/data_plane_api/configuration/server.rbi +24 -0
  41. data/sorbet/rbi/dsl/capistrano/data_plane_api/configuration.rbi +52 -0
  42. data/sorbet/rbi/dsl/capistrano/data_plane_api/type.rbi +12 -0
  43. data/sorbet/rbi/gems/.gitattributes +1 -0
  44. data/sorbet/rbi/gems/addressable@2.8.7.rbi +1994 -0
  45. data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
  46. data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
  47. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +8 -0
  48. data/sorbet/rbi/gems/booleans@0.1.3.rbi +28 -0
  49. data/sorbet/rbi/gems/byebug@12.0.0.rbi +37 -0
  50. data/sorbet/rbi/gems/crack@1.0.0.rbi +145 -0
  51. data/sorbet/rbi/gems/data_plane_api@0.2.0.rbi +238 -0
  52. data/sorbet/rbi/gems/faraday-net_http@3.4.0.rbi +147 -0
  53. data/sorbet/rbi/gems/faraday@2.13.0.rbi +2974 -0
  54. data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +353 -0
  55. data/sorbet/rbi/gems/json@2.10.2.rbi +2113 -0
  56. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  57. data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
  58. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
  59. data/sorbet/rbi/gems/net-http@0.6.0.rbi +4247 -0
  60. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  61. data/sorbet/rbi/gems/pastel@0.8.0.rbi +733 -0
  62. data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +936 -0
  63. data/sorbet/rbi/gems/racc@1.8.1.rbi +160 -0
  64. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +404 -0
  65. data/sorbet/rbi/gems/rake@13.0.6.rbi +3030 -0
  66. data/sorbet/rbi/gems/rexml@3.4.1.rbi +5346 -0
  67. data/sorbet/rbi/gems/rubocop-espago@1.1.8.rbi +9 -0
  68. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  69. data/sorbet/rbi/gems/shale-builder@0.2.4.rbi +9 -0
  70. data/sorbet/rbi/gems/shale@1.2.2.rbi +2323 -0
  71. data/sorbet/rbi/gems/shoulda-context@2.0.0.rbi +563 -0
  72. data/sorbet/rbi/gems/strings-ansi@0.2.0.rbi +178 -0
  73. data/sorbet/rbi/gems/strings@0.2.1.rbi +830 -0
  74. data/sorbet/rbi/gems/thor@1.2.1.rbi +3957 -0
  75. data/sorbet/rbi/gems/tty-box@0.7.0.rbi +593 -0
  76. data/sorbet/rbi/gems/tty-color@0.6.0.rbi +241 -0
  77. data/sorbet/rbi/gems/tty-cursor@0.7.1.rbi +443 -0
  78. data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +66 -0
  79. data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +184 -0
  80. data/sorbet/rbi/gems/uri@1.0.3.rbi +2349 -0
  81. data/sorbet/rbi/gems/vcr@6.3.1.rbi +3040 -0
  82. data/sorbet/rbi/gems/webmock@3.25.1.rbi +1792 -0
  83. data/sorbet/rbi/shims/gems/faraday.rbi +21 -0
  84. data/sorbet/rbi/shims/gems/shoulda-context@2.0.0.rbi +15 -0
  85. data/sorbet/rbi/todo.rbi +7 -0
  86. data/sorbet/tapioca/config.yml +28 -0
  87. data/sorbet/tapioca/extensions/load_gem.rb +1 -0
  88. data/sorbet/tapioca/require.rb +4 -0
  89. data/templates/bin/deploy.rb +1 -0
  90. metadata +106 -8
@@ -0,0 +1,145 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `crack` gem.
5
+ # Please instead update this file by running `bin/tapioca gem crack`.
6
+
7
+
8
+ # source://crack//lib/crack/xml.rb#196
9
+ module Crack; end
10
+
11
+ # source://crack//lib/crack/xml.rb#197
12
+ class Crack::REXMLParser
13
+ class << self
14
+ # source://crack//lib/crack/xml.rb#198
15
+ def parse(xml); end
16
+ end
17
+ end
18
+
19
+ # source://crack//lib/crack/xml.rb#225
20
+ class Crack::XML
21
+ class << self
22
+ # source://crack//lib/crack/xml.rb#234
23
+ def parse(xml); end
24
+
25
+ # source://crack//lib/crack/xml.rb#226
26
+ def parser; end
27
+
28
+ # source://crack//lib/crack/xml.rb#230
29
+ def parser=(parser); end
30
+ end
31
+ end
32
+
33
+ # This is a slighly modified version of the XMLUtilityNode from
34
+ # http://merb.devjavu.com/projects/merb/ticket/95 (has.sox@gmail.com)
35
+ # It's mainly just adding vowels, as I ht cd wth n vwls :)
36
+ # This represents the hard part of the work, all I did was change the
37
+ # underlying parser.
38
+ #
39
+ # source://crack//lib/crack/xml.rb#23
40
+ class REXMLUtilityNode
41
+ # @return [REXMLUtilityNode] a new instance of REXMLUtilityNode
42
+ #
43
+ # source://crack//lib/crack/xml.rb#56
44
+ def initialize(name, normalized_attributes = T.unsafe(nil)); end
45
+
46
+ # source://crack//lib/crack/xml.rb#73
47
+ def add_node(node); end
48
+
49
+ # source://crack//lib/crack/xml.rb#24
50
+ def attributes; end
51
+
52
+ # source://crack//lib/crack/xml.rb#24
53
+ def attributes=(_arg0); end
54
+
55
+ # source://crack//lib/crack/xml.rb#24
56
+ def children; end
57
+
58
+ # source://crack//lib/crack/xml.rb#24
59
+ def children=(_arg0); end
60
+
61
+ # Get the inner_html of the REXML node.
62
+ #
63
+ # source://crack//lib/crack/xml.rb#172
64
+ def inner_html; end
65
+
66
+ # source://crack//lib/crack/xml.rb#24
67
+ def name; end
68
+
69
+ # source://crack//lib/crack/xml.rb#24
70
+ def name=(_arg0); end
71
+
72
+ # source://crack//lib/crack/xml.rb#78
73
+ def to_hash; end
74
+
75
+ # Converts the node into a readable HTML node.
76
+ #
77
+ # @return [String] The HTML node in text form.
78
+ #
79
+ # source://crack//lib/crack/xml.rb#179
80
+ def to_html; end
81
+
82
+ # source://crack//lib/crack/xml.rb#185
83
+ def to_s; end
84
+
85
+ # source://crack//lib/crack/xml.rb#24
86
+ def type; end
87
+
88
+ # source://crack//lib/crack/xml.rb#24
89
+ def type=(_arg0); end
90
+
91
+ # Typecasts a value based upon its type. For instance, if
92
+ # +node+ has #type == "integer",
93
+ # {{[node.typecast_value("12") #=> 12]}}
94
+ #
95
+ # @note If +self+ does not have a "type" key, or if it's not one of the
96
+ # options specified above, the raw +value+ will be returned.
97
+ # @param value [String] The value that is being typecast.
98
+ # @return [Integer, TrueClass, FalseClass, Time, Date, Object] The result of typecasting +value+.
99
+ #
100
+ # source://crack//lib/crack/xml.rb#157
101
+ def typecast_value(value); end
102
+
103
+ # Take keys of the form foo-bar and convert them to foo_bar
104
+ #
105
+ # source://crack//lib/crack/xml.rb#164
106
+ def undasherize_keys(params); end
107
+
108
+ private
109
+
110
+ # source://crack//lib/crack/xml.rb#191
111
+ def unnormalize_xml_entities(value); end
112
+
113
+ class << self
114
+ # source://crack//lib/crack/xml.rb#34
115
+ def available_typecasts; end
116
+
117
+ # source://crack//lib/crack/xml.rb#38
118
+ def available_typecasts=(obj); end
119
+
120
+ # source://crack//lib/crack/xml.rb#26
121
+ def typecasts; end
122
+
123
+ # source://crack//lib/crack/xml.rb#30
124
+ def typecasts=(obj); end
125
+ end
126
+ end
127
+
128
+ # The Reason behind redefining the String Class for this specific plugin is to
129
+ # avoid the dynamic insertion of stuff on it (see version previous to this commit).
130
+ # Doing that disables the possibility of efectuating a dump on the structure. This way it goes.
131
+ #
132
+ # source://crack//lib/crack/xml.rb#14
133
+ class REXMLUtiliyNodeString < ::String
134
+ # Returns the value of attribute attributes.
135
+ #
136
+ # source://crack//lib/crack/xml.rb#15
137
+ def attributes; end
138
+
139
+ # Sets the attribute attributes
140
+ #
141
+ # @param value the value to set the attribute attributes to.
142
+ #
143
+ # source://crack//lib/crack/xml.rb#15
144
+ def attributes=(_arg0); end
145
+ end
@@ -0,0 +1,238 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `data_plane_api` gem.
5
+ # Please instead update this file by running `bin/tapioca gem data_plane_api`.
6
+
7
+
8
+ # typed: true
9
+
10
+ # DO NOT EDIT MANUALLY
11
+ # This is an autogenerated file for types exported from the `data_plane_api` gem.
12
+ # Please instead update this file by running `spoom srb sigs export`.
13
+
14
+ # Contains code which implements a subset of the
15
+ # HAProxy Data Plane API.
16
+ #
17
+ # source://data_plane_api//lib/data_plane_api/version.rb#3
18
+ # Contains code which implements a subset of the
19
+ module DataPlaneApi
20
+ class << self
21
+ # : { (Configuration) -> void } -> Configuration
22
+ #
23
+ # source://data_plane_api//lib/data_plane_api.rb#17
24
+ sig do
25
+ params(
26
+ block: T.proc.params(arg0: ::DataPlaneApi::Configuration).void
27
+ ).returns(::DataPlaneApi::Configuration)
28
+ end
29
+ def configure(&block); end
30
+ end
31
+ end
32
+
33
+ # source://data_plane_api//lib/data_plane_api.rb#13
34
+ DataPlaneApi::CONFIG = T.let(T.unsafe(nil), DataPlaneApi::Configuration)
35
+
36
+ # Stores configuration options for the HAProxy Data Plane API.
37
+ #
38
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#10
39
+ class DataPlaneApi::Configuration
40
+ # : (String | URI::Generic | nil, bool, bool, String?, String?, Logger?, Integer?, Configuration?) -> void
41
+ #
42
+ # @param global: whether this object is used as a global store of settings
43
+ # @param basic_user: Basic Auth username.
44
+ # @param basic_password: Basic Auth password.
45
+ # @return [Configuration] a new instance of Configuration
46
+ #
47
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#36
48
+ def initialize(url: T.unsafe(nil), global: T.unsafe(nil), mock: T.unsafe(nil), basic_user: T.unsafe(nil), basic_password: T.unsafe(nil), logger: T.unsafe(nil), timeout: T.unsafe(nil), parent: T.unsafe(nil)); end
49
+
50
+ # Basic Auth password.
51
+ # : -> String?
52
+ #
53
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#91
54
+ # Basic Auth password.
55
+ sig { returns(T.nilable(::String)) }
56
+ def basic_password; end
57
+
58
+ # Basic Auth password.
59
+ # : String?
60
+ #
61
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#18
62
+ def basic_password=(_arg0); end
63
+
64
+ # Basic Auth username.
65
+ # : -> String?
66
+ #
67
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#83
68
+ # Basic Auth username.
69
+ sig { returns(T.nilable(::String)) }
70
+ def basic_user; end
71
+
72
+ # Basic Auth username.
73
+ # : String?
74
+ #
75
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#15
76
+ def basic_user=(_arg0); end
77
+
78
+ # : -> Faraday::Connection
79
+ #
80
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#64
81
+ sig { returns(::Faraday::Connection) }
82
+ def connection; end
83
+
84
+ # : -> void
85
+ #
86
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#69
87
+ sig { void }
88
+ def freeze; end
89
+
90
+ # Whether this object is used as a global store of settings
91
+ #
92
+ # : bool
93
+ #
94
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#30
95
+ # Whether this object is used as a global store of settings
96
+ sig { returns(T::Boolean) }
97
+ def global; end
98
+
99
+ # : -> Logger?
100
+ #
101
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#98
102
+ sig { returns(T.nilable(::Logger)) }
103
+ def logger; end
104
+
105
+ # : Logger?
106
+ #
107
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#20
108
+ def logger=(_arg0); end
109
+
110
+ # : -> bool?
111
+ #
112
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#112
113
+ def mock; end
114
+
115
+ # Do not make HTTP requests, just log them
116
+ #
117
+ # : bool
118
+ #
119
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#26
120
+ def mock=(_arg0); end
121
+
122
+ # : -> bool
123
+ #
124
+ # @return [Boolean]
125
+ #
126
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#119
127
+ def mock?; end
128
+
129
+ # : -> Configuration?
130
+ #
131
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#124
132
+ sig { returns(T.nilable(::DataPlaneApi::Configuration)) }
133
+ def parent; end
134
+
135
+ # : -> Integer?
136
+ #
137
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#105
138
+ sig { returns(T.nilable(::Integer)) }
139
+ def timeout; end
140
+
141
+ # : Integer?
142
+ #
143
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#22
144
+ def timeout=(_arg0); end
145
+
146
+ # : -> (String | URI::Generic | nil)
147
+ #
148
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#75
149
+ sig { returns(T.nilable(T.any(::String, ::URI::Generic))) }
150
+ def url; end
151
+
152
+ # : String | URI::Generic | nil
153
+ #
154
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#12
155
+ def url=(_arg0); end
156
+
157
+ private
158
+
159
+ # : -> Faraday::Connection
160
+ #
161
+ # source://data_plane_api//lib/data_plane_api/configuration.rb#134
162
+ # Faraday 1.x compatibility
163
+ sig { returns(::Faraday::Connection) }
164
+ def build_connection; end
165
+ end
166
+
167
+ # source://data_plane_api//lib/data_plane_api.rb#11
168
+ class DataPlaneApi::Error < ::StandardError; end
169
+
170
+ # Wraps endpoints regarding HAProxy servers.
171
+ #
172
+ # source://data_plane_api//lib/data_plane_api/server.rb#8
173
+ module DataPlaneApi::Server
174
+ class << self
175
+ # : (String?, String?, Configuration?) -> Faraday::Response?
176
+ #
177
+ # @param backend: Name of the backend
178
+ # @param name: Name of the server whose settings will be returned.
179
+ # If `nil` then an array of settings of all servers under the passed `backend`
180
+ # will be returned.
181
+ #
182
+ # source://data_plane_api//lib/data_plane_api/server.rb#18
183
+ sig do
184
+ params(
185
+ backend: T.nilable(::String),
186
+ name: T.nilable(::String),
187
+ config: T.nilable(::DataPlaneApi::Configuration)
188
+ ).returns(::Faraday::Response)
189
+ end
190
+ def get_runtime_settings(backend:, name: T.unsafe(nil), config: T.unsafe(nil)); end
191
+
192
+ # : (String?, String?, Hash[top, top], Configuration?) -> Faraday::Response?
193
+ #
194
+ # @param backend: Name of the backend
195
+ # @param name: Name of the server whose transient settings should be updated.
196
+ # @raise [::ArgumentError]
197
+ #
198
+ # source://data_plane_api//lib/data_plane_api/server.rb#34
199
+ sig do
200
+ params(
201
+ backend: T.nilable(::String),
202
+ name: T.nilable(::String),
203
+ settings: T::Hash[T.anything, T.anything],
204
+ config: T.nilable(::DataPlaneApi::Configuration)
205
+ ).returns(::Faraday::Response)
206
+ end
207
+ def update_transient_settings(backend:, name:, settings:, config: T.unsafe(nil)); end
208
+
209
+ private
210
+
211
+ # : (String, Faraday::Request, Faraday::Response?, Logger?) -> void
212
+ #
213
+ # source://data_plane_api//lib/data_plane_api/server.rb#73
214
+ def log_communication(url, request, response, logger:); end
215
+
216
+ # : (Symbol, String | Pathname, Configuration) { (Faraday::Request) -> void } -> Faraday::Response?
217
+ #
218
+ # source://data_plane_api//lib/data_plane_api/server.rb#52
219
+ sig do
220
+ params(
221
+ method: ::Symbol,
222
+ path: T.any(::Pathname, ::String),
223
+ config: ::DataPlaneApi::Configuration,
224
+ block: T.proc.params(arg0: ::Faraday::Request).void
225
+ ).returns(::Faraday::Response)
226
+ end
227
+ def send_request(method:, path:, config:, &block); end
228
+ end
229
+ end
230
+
231
+ # source://data_plane_api//lib/data_plane_api/server.rb#9
232
+ DataPlaneApi::Server::ADMIN_STATES = T.let(T.unsafe(nil), Set)
233
+
234
+ # source://data_plane_api//lib/data_plane_api/server.rb#10
235
+ DataPlaneApi::Server::OPERATIONAL_STATES = T.let(T.unsafe(nil), Set)
236
+
237
+ # source://data_plane_api//lib/data_plane_api/version.rb#4
238
+ DataPlaneApi::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,147 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `faraday-net_http` gem.
5
+ # Please instead update this file by running `bin/tapioca gem faraday-net_http`.
6
+
7
+
8
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#12
9
+ module Faraday
10
+ class << self
11
+ # source://faraday/2.13.0/lib/faraday.rb#55
12
+ def default_adapter; end
13
+
14
+ # source://faraday/2.13.0/lib/faraday.rb#102
15
+ def default_adapter=(adapter); end
16
+
17
+ # source://faraday/2.13.0/lib/faraday.rb#59
18
+ def default_adapter_options; end
19
+
20
+ # source://faraday/2.13.0/lib/faraday.rb#59
21
+ def default_adapter_options=(_arg0); end
22
+
23
+ # source://faraday/2.13.0/lib/faraday.rb#120
24
+ def default_connection; end
25
+
26
+ # source://faraday/2.13.0/lib/faraday.rb#62
27
+ def default_connection=(_arg0); end
28
+
29
+ # source://faraday/2.13.0/lib/faraday.rb#127
30
+ def default_connection_options; end
31
+
32
+ # source://faraday/2.13.0/lib/faraday.rb#134
33
+ def default_connection_options=(options); end
34
+
35
+ # source://faraday/2.13.0/lib/faraday.rb#67
36
+ def ignore_env_proxy; end
37
+
38
+ # source://faraday/2.13.0/lib/faraday.rb#67
39
+ def ignore_env_proxy=(_arg0); end
40
+
41
+ # source://faraday/2.13.0/lib/faraday.rb#46
42
+ def lib_path; end
43
+
44
+ # source://faraday/2.13.0/lib/faraday.rb#46
45
+ def lib_path=(_arg0); end
46
+
47
+ # source://faraday/2.13.0/lib/faraday.rb#96
48
+ def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
49
+
50
+ # source://faraday/2.13.0/lib/faraday.rb#107
51
+ def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
52
+
53
+ # source://faraday/2.13.0/lib/faraday.rb#42
54
+ def root_path; end
55
+
56
+ # source://faraday/2.13.0/lib/faraday.rb#42
57
+ def root_path=(_arg0); end
58
+
59
+ private
60
+
61
+ # source://faraday/2.13.0/lib/faraday.rb#143
62
+ def method_missing(name, *args, &block); end
63
+ end
64
+ end
65
+
66
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#13
67
+ class Faraday::Adapter
68
+ # source://faraday/2.13.0/lib/faraday/adapter.rb#28
69
+ def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
70
+
71
+ # source://faraday/2.13.0/lib/faraday/adapter.rb#55
72
+ def call(env); end
73
+
74
+ # source://faraday/2.13.0/lib/faraday/adapter.rb#50
75
+ def close; end
76
+
77
+ # source://faraday/2.13.0/lib/faraday/adapter.rb#41
78
+ def connection(env); end
79
+
80
+ private
81
+
82
+ # source://faraday/2.13.0/lib/faraday/adapter.rb#85
83
+ def request_timeout(type, options); end
84
+
85
+ # source://faraday/2.13.0/lib/faraday/adapter.rb#62
86
+ def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil), finished: T.unsafe(nil)); end
87
+ end
88
+
89
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#14
90
+ class Faraday::Adapter::NetHttp < ::Faraday::Adapter
91
+ # @return [NetHttp] a new instance of NetHttp
92
+ #
93
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#38
94
+ def initialize(app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
95
+
96
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#43
97
+ def build_connection(env); end
98
+
99
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#63
100
+ def call(env); end
101
+
102
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#50
103
+ def net_http_connection(env); end
104
+
105
+ private
106
+
107
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#152
108
+ def configure_request(http, req); end
109
+
110
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#131
111
+ def configure_ssl(http, ssl); end
112
+
113
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#79
114
+ def create_request(env); end
115
+
116
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#189
117
+ def encoded_body(http_response); end
118
+
119
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#95
120
+ def perform_request(http, env); end
121
+
122
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#109
123
+ def request_with_wrapped_block(http, env, &block); end
124
+
125
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#121
126
+ def save_http_response(env, http_response); end
127
+
128
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#172
129
+ def ssl_cert_store(ssl); end
130
+
131
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#179
132
+ def ssl_verify_mode(ssl); end
133
+
134
+ # @return [Boolean]
135
+ #
136
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#201
137
+ def verify_hostname_enabled?(http, ssl); end
138
+ end
139
+
140
+ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#36
141
+ Faraday::Adapter::NetHttp::NET_HTTP_EXCEPTIONS = T.let(T.unsafe(nil), Array)
142
+
143
+ # source://faraday-net_http//lib/faraday/net_http/version.rb#4
144
+ module Faraday::NetHttp; end
145
+
146
+ # source://faraday-net_http//lib/faraday/net_http/version.rb#5
147
+ Faraday::NetHttp::VERSION = T.let(T.unsafe(nil), String)