daytona_toolbox_api_client 0.184.0 → 0.185.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdfb13b5ba7eeac7c7c7bc7cd0720aabf56b36a533b817807b5af03ae08117f1
|
|
4
|
+
data.tar.gz: 27a7419634b9a38c4eda7c67f1e21559e1c708d37a71687009bc5717153ffcc9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6617405caa631c92b64725c667822f6fcc8a6086a8688355a06646cb7764787585ada933e48c1a9c0c38d3ad2d8d9f0c57ca055de7ff2492d261303adbf27bb1
|
|
7
|
+
data.tar.gz: 24c7c545a8654ea387b2e06d9e32fd87dc9dfe8d83b32a03d03c7fe402e6c6ee9878fb3f7426873e5b2949dfdc1b2e93741482b1e414a3134af5c9b287015ff3
|
|
@@ -152,7 +152,7 @@ module DaytonaToolboxApiClient
|
|
|
152
152
|
end
|
|
153
153
|
|
|
154
154
|
# Clone a Git repository
|
|
155
|
-
# Clone a Git repository to the specified path
|
|
155
|
+
# Clone a Git repository to the specified path. Defaults to strict TLS verification; set insecure_skip_tls=true to skip verification for self-signed or private-CA Git servers.
|
|
156
156
|
# @param request [GitCloneRequest] Clone repository request
|
|
157
157
|
# @param [Hash] opts the optional parameters
|
|
158
158
|
# @return [nil]
|
|
@@ -162,7 +162,7 @@ module DaytonaToolboxApiClient
|
|
|
162
162
|
end
|
|
163
163
|
|
|
164
164
|
# Clone a Git repository
|
|
165
|
-
# Clone a Git repository to the specified path
|
|
165
|
+
# Clone a Git repository to the specified path. Defaults to strict TLS verification; set insecure_skip_tls=true to skip verification for self-signed or private-CA Git servers.
|
|
166
166
|
# @param request [GitCloneRequest] Clone repository request
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
168
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -19,6 +19,9 @@ module DaytonaToolboxApiClient
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :commit_id
|
|
21
21
|
|
|
22
|
+
# Skip TLS certificate verification for this clone. Defaults to false (verify). Set to true ONLY for trusted internal Git servers with self-signed or private-CA certs; credentials, if supplied, will be transmitted over an unverified TLS connection and are exposed to any MITM on the route.
|
|
23
|
+
attr_accessor :insecure_skip_tls
|
|
24
|
+
|
|
22
25
|
attr_accessor :password
|
|
23
26
|
|
|
24
27
|
attr_accessor :path
|
|
@@ -32,6 +35,7 @@ module DaytonaToolboxApiClient
|
|
|
32
35
|
{
|
|
33
36
|
:'branch' => :'branch',
|
|
34
37
|
:'commit_id' => :'commit_id',
|
|
38
|
+
:'insecure_skip_tls' => :'insecure_skip_tls',
|
|
35
39
|
:'password' => :'password',
|
|
36
40
|
:'path' => :'path',
|
|
37
41
|
:'url' => :'url',
|
|
@@ -54,6 +58,7 @@ module DaytonaToolboxApiClient
|
|
|
54
58
|
{
|
|
55
59
|
:'branch' => :'String',
|
|
56
60
|
:'commit_id' => :'String',
|
|
61
|
+
:'insecure_skip_tls' => :'Boolean',
|
|
57
62
|
:'password' => :'String',
|
|
58
63
|
:'path' => :'String',
|
|
59
64
|
:'url' => :'String',
|
|
@@ -91,6 +96,10 @@ module DaytonaToolboxApiClient
|
|
|
91
96
|
self.commit_id = attributes[:'commit_id']
|
|
92
97
|
end
|
|
93
98
|
|
|
99
|
+
if attributes.key?(:'insecure_skip_tls')
|
|
100
|
+
self.insecure_skip_tls = attributes[:'insecure_skip_tls']
|
|
101
|
+
end
|
|
102
|
+
|
|
94
103
|
if attributes.key?(:'password')
|
|
95
104
|
self.password = attributes[:'password']
|
|
96
105
|
end
|
|
@@ -164,6 +173,7 @@ module DaytonaToolboxApiClient
|
|
|
164
173
|
self.class == o.class &&
|
|
165
174
|
branch == o.branch &&
|
|
166
175
|
commit_id == o.commit_id &&
|
|
176
|
+
insecure_skip_tls == o.insecure_skip_tls &&
|
|
167
177
|
password == o.password &&
|
|
168
178
|
path == o.path &&
|
|
169
179
|
url == o.url &&
|
|
@@ -179,7 +189,7 @@ module DaytonaToolboxApiClient
|
|
|
179
189
|
# Calculates hash code according to all attributes.
|
|
180
190
|
# @return [Integer] Hash code
|
|
181
191
|
def hash
|
|
182
|
-
[branch, commit_id, password, path, url, username].hash
|
|
192
|
+
[branch, commit_id, insecure_skip_tls, password, path, url, username].hash
|
|
183
193
|
end
|
|
184
194
|
|
|
185
195
|
# Builds the object from hash
|