akeyless 3.2.0 → 3.2.2
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 +4 -4
- data/README.md +2 -1
- data/docs/CreateAWSTarget.md +3 -1
- data/docs/CreateArtifactoryTarget.md +3 -1
- data/docs/CreateAzureTarget.md +3 -1
- data/docs/CreateDBTarget.md +3 -1
- data/docs/CreateDockerhubTarget.md +3 -1
- data/docs/CreateEKSTarget.md +3 -1
- data/docs/CreateEventForwarder.md +3 -1
- data/docs/CreateGKETarget.md +3 -1
- data/docs/CreateGcpTarget.md +3 -1
- data/docs/CreateGithubTarget.md +3 -1
- data/docs/CreateLdapTarget.md +3 -1
- data/docs/CreateNativeK8STarget.md +3 -1
- data/docs/CreatePingTarget.md +3 -1
- data/docs/CreateRabbitMQTarget.md +3 -1
- data/docs/CreateRole.md +3 -1
- data/docs/CreateSSHTarget.md +3 -1
- data/docs/CreateSalesforceTarget.md +3 -1
- data/docs/CreateWebTarget.md +3 -1
- data/docs/GatewayCreateProducerEks.md +1 -1
- data/docs/GatewayUpdateProducerEks.md +1 -1
- data/docs/ImporterInfo.md +20 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/RequestAccess.md +3 -1
- data/docs/UidCreateChildToken.md +3 -1
- data/docs/UpdateAWSTarget.md +3 -1
- data/docs/UpdateArtifactoryTarget.md +3 -1
- data/docs/UpdateAzureTarget.md +3 -1
- data/docs/UpdateDBTarget.md +3 -1
- data/docs/UpdateDockerhubTarget.md +3 -1
- data/docs/UpdateEKSTarget.md +3 -1
- data/docs/UpdateEventForwarder.md +3 -1
- data/docs/UpdateGKETarget.md +3 -1
- data/docs/UpdateGcpTarget.md +3 -1
- data/docs/UpdateGithubTarget.md +3 -1
- data/docs/UpdateLdapTarget.md +3 -1
- data/docs/UpdateNativeK8STarget.md +3 -1
- data/docs/UpdatePingTarget.md +3 -1
- data/docs/UpdateRabbitMQTarget.md +3 -1
- data/docs/UpdateRole.md +3 -1
- data/docs/UpdateSSHTarget.md +3 -1
- data/docs/UpdateSalesforceTarget.md +3 -1
- data/docs/UpdateTarget.md +3 -1
- data/docs/UpdateWebTarget.md +3 -1
- data/lib/akeyless/models/create_artifactory_target.rb +12 -2
- data/lib/akeyless/models/create_aws_target.rb +12 -2
- data/lib/akeyless/models/create_azure_target.rb +12 -2
- data/lib/akeyless/models/create_db_target.rb +12 -2
- data/lib/akeyless/models/create_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/create_eks_target.rb +12 -2
- data/lib/akeyless/models/create_event_forwarder.rb +12 -2
- data/lib/akeyless/models/create_gcp_target.rb +12 -2
- data/lib/akeyless/models/create_github_target.rb +12 -2
- data/lib/akeyless/models/create_gke_target.rb +12 -2
- data/lib/akeyless/models/create_ldap_target.rb +12 -2
- data/lib/akeyless/models/create_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/create_ping_target.rb +12 -2
- data/lib/akeyless/models/create_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/create_role.rb +12 -2
- data/lib/akeyless/models/create_salesforce_target.rb +12 -2
- data/lib/akeyless/models/create_ssh_target.rb +12 -2
- data/lib/akeyless/models/create_web_target.rb +12 -2
- data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
- data/lib/akeyless/models/importer_info.rb +228 -0
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/request_access.rb +12 -2
- data/lib/akeyless/models/uid_create_child_token.rb +12 -2
- data/lib/akeyless/models/update_artifactory_target.rb +12 -2
- data/lib/akeyless/models/update_aws_target.rb +12 -2
- data/lib/akeyless/models/update_azure_target.rb +12 -2
- data/lib/akeyless/models/update_db_target.rb +12 -2
- data/lib/akeyless/models/update_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/update_eks_target.rb +12 -2
- data/lib/akeyless/models/update_event_forwarder.rb +14 -2
- data/lib/akeyless/models/update_gcp_target.rb +12 -2
- data/lib/akeyless/models/update_github_target.rb +12 -2
- data/lib/akeyless/models/update_gke_target.rb +12 -2
- data/lib/akeyless/models/update_ldap_target.rb +12 -2
- data/lib/akeyless/models/update_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/update_ping_target.rb +12 -2
- data/lib/akeyless/models/update_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/update_role.rb +14 -2
- data/lib/akeyless/models/update_salesforce_target.rb +12 -2
- data/lib/akeyless/models/update_ssh_target.rb +12 -2
- data/lib/akeyless/models/update_target.rb +14 -2
- data/lib/akeyless/models/update_web_target.rb +12 -2
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +1 -0
- data/spec/models/importer_info_spec.rb +40 -0
- metadata +6 -2
|
@@ -15,9 +15,12 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateSSHTarget
|
|
18
|
-
#
|
|
18
|
+
# Deprecated - use description
|
|
19
19
|
attr_accessor :comment
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
attr_accessor :host
|
|
22
25
|
|
|
23
26
|
# Set output format to JSON
|
|
@@ -57,6 +60,7 @@ module Akeyless
|
|
|
57
60
|
def self.attribute_map
|
|
58
61
|
{
|
|
59
62
|
:'comment' => :'comment',
|
|
63
|
+
:'description' => :'description',
|
|
60
64
|
:'host' => :'host',
|
|
61
65
|
:'json' => :'json',
|
|
62
66
|
:'keep_prev_version' => :'keep-prev-version',
|
|
@@ -83,6 +87,7 @@ module Akeyless
|
|
|
83
87
|
def self.openapi_types
|
|
84
88
|
{
|
|
85
89
|
:'comment' => :'String',
|
|
90
|
+
:'description' => :'String',
|
|
86
91
|
:'host' => :'String',
|
|
87
92
|
:'json' => :'Boolean',
|
|
88
93
|
:'keep_prev_version' => :'String',
|
|
@@ -125,6 +130,10 @@ module Akeyless
|
|
|
125
130
|
self.comment = attributes[:'comment']
|
|
126
131
|
end
|
|
127
132
|
|
|
133
|
+
if attributes.key?(:'description')
|
|
134
|
+
self.description = attributes[:'description']
|
|
135
|
+
end
|
|
136
|
+
|
|
128
137
|
if attributes.key?(:'host')
|
|
129
138
|
self.host = attributes[:'host']
|
|
130
139
|
end
|
|
@@ -206,6 +215,7 @@ module Akeyless
|
|
|
206
215
|
return true if self.equal?(o)
|
|
207
216
|
self.class == o.class &&
|
|
208
217
|
comment == o.comment &&
|
|
218
|
+
description == o.description &&
|
|
209
219
|
host == o.host &&
|
|
210
220
|
json == o.json &&
|
|
211
221
|
keep_prev_version == o.keep_prev_version &&
|
|
@@ -231,7 +241,7 @@ module Akeyless
|
|
|
231
241
|
# Calculates hash code according to all attributes.
|
|
232
242
|
# @return [Integer] Hash code
|
|
233
243
|
def hash
|
|
234
|
-
[comment, host, json, keep_prev_version, key, name, new_name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token, update_version].hash
|
|
244
|
+
[comment, description, host, json, keep_prev_version, key, name, new_name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token, update_version].hash
|
|
235
245
|
end
|
|
236
246
|
|
|
237
247
|
# Builds the object from hash
|
|
@@ -15,13 +15,16 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateTarget
|
|
18
|
+
# Description of the object
|
|
19
|
+
attr_accessor :description
|
|
20
|
+
|
|
18
21
|
# Set output format to JSON
|
|
19
22
|
attr_accessor :json
|
|
20
23
|
|
|
21
24
|
# Target name
|
|
22
25
|
attr_accessor :name
|
|
23
26
|
|
|
24
|
-
#
|
|
27
|
+
# Deprecated - use description
|
|
25
28
|
attr_accessor :new_comment
|
|
26
29
|
|
|
27
30
|
# New Target name
|
|
@@ -36,6 +39,7 @@ module Akeyless
|
|
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
40
|
def self.attribute_map
|
|
38
41
|
{
|
|
42
|
+
:'description' => :'description',
|
|
39
43
|
:'json' => :'json',
|
|
40
44
|
:'name' => :'name',
|
|
41
45
|
:'new_comment' => :'new-comment',
|
|
@@ -53,6 +57,7 @@ module Akeyless
|
|
|
53
57
|
# Attribute type mapping.
|
|
54
58
|
def self.openapi_types
|
|
55
59
|
{
|
|
60
|
+
:'description' => :'String',
|
|
56
61
|
:'json' => :'Boolean',
|
|
57
62
|
:'name' => :'String',
|
|
58
63
|
:'new_comment' => :'String',
|
|
@@ -83,6 +88,12 @@ module Akeyless
|
|
|
83
88
|
h[k.to_sym] = v
|
|
84
89
|
}
|
|
85
90
|
|
|
91
|
+
if attributes.key?(:'description')
|
|
92
|
+
self.description = attributes[:'description']
|
|
93
|
+
else
|
|
94
|
+
self.description = 'default_comment'
|
|
95
|
+
end
|
|
96
|
+
|
|
86
97
|
if attributes.key?(:'json')
|
|
87
98
|
self.json = attributes[:'json']
|
|
88
99
|
end
|
|
@@ -133,6 +144,7 @@ module Akeyless
|
|
|
133
144
|
def ==(o)
|
|
134
145
|
return true if self.equal?(o)
|
|
135
146
|
self.class == o.class &&
|
|
147
|
+
description == o.description &&
|
|
136
148
|
json == o.json &&
|
|
137
149
|
name == o.name &&
|
|
138
150
|
new_comment == o.new_comment &&
|
|
@@ -150,7 +162,7 @@ module Akeyless
|
|
|
150
162
|
# Calculates hash code according to all attributes.
|
|
151
163
|
# @return [Integer] Hash code
|
|
152
164
|
def hash
|
|
153
|
-
[json, name, new_comment, new_name, token, uid_token].hash
|
|
165
|
+
[description, json, name, new_comment, new_name, token, uid_token].hash
|
|
154
166
|
end
|
|
155
167
|
|
|
156
168
|
# Builds the object from hash
|
|
@@ -15,9 +15,12 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateWebTarget
|
|
18
|
-
#
|
|
18
|
+
# Deprecated - use description
|
|
19
19
|
attr_accessor :comment
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# Set output format to JSON
|
|
22
25
|
attr_accessor :json
|
|
23
26
|
|
|
@@ -48,6 +51,7 @@ module Akeyless
|
|
|
48
51
|
def self.attribute_map
|
|
49
52
|
{
|
|
50
53
|
:'comment' => :'comment',
|
|
54
|
+
:'description' => :'description',
|
|
51
55
|
:'json' => :'json',
|
|
52
56
|
:'keep_prev_version' => :'keep-prev-version',
|
|
53
57
|
:'key' => :'key',
|
|
@@ -69,6 +73,7 @@ module Akeyless
|
|
|
69
73
|
def self.openapi_types
|
|
70
74
|
{
|
|
71
75
|
:'comment' => :'String',
|
|
76
|
+
:'description' => :'String',
|
|
72
77
|
:'json' => :'Boolean',
|
|
73
78
|
:'keep_prev_version' => :'String',
|
|
74
79
|
:'key' => :'String',
|
|
@@ -106,6 +111,10 @@ module Akeyless
|
|
|
106
111
|
self.comment = attributes[:'comment']
|
|
107
112
|
end
|
|
108
113
|
|
|
114
|
+
if attributes.key?(:'description')
|
|
115
|
+
self.description = attributes[:'description']
|
|
116
|
+
end
|
|
117
|
+
|
|
109
118
|
if attributes.key?(:'json')
|
|
110
119
|
self.json = attributes[:'json']
|
|
111
120
|
end
|
|
@@ -167,6 +176,7 @@ module Akeyless
|
|
|
167
176
|
return true if self.equal?(o)
|
|
168
177
|
self.class == o.class &&
|
|
169
178
|
comment == o.comment &&
|
|
179
|
+
description == o.description &&
|
|
170
180
|
json == o.json &&
|
|
171
181
|
keep_prev_version == o.keep_prev_version &&
|
|
172
182
|
key == o.key &&
|
|
@@ -187,7 +197,7 @@ module Akeyless
|
|
|
187
197
|
# Calculates hash code according to all attributes.
|
|
188
198
|
# @return [Integer] Hash code
|
|
189
199
|
def hash
|
|
190
|
-
[comment, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, url].hash
|
|
200
|
+
[comment, description, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, url].hash
|
|
191
201
|
end
|
|
192
202
|
|
|
193
203
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
|
@@ -378,6 +378,7 @@ require 'akeyless/models/gw_cluster_identity'
|
|
|
378
378
|
require 'akeyless/models/hashi_migration'
|
|
379
379
|
require 'akeyless/models/hashi_payload'
|
|
380
380
|
require 'akeyless/models/huawei_access_rules'
|
|
381
|
+
require 'akeyless/models/importer_info'
|
|
381
382
|
require 'akeyless/models/item'
|
|
382
383
|
require 'akeyless/models/item_general_info'
|
|
383
384
|
require 'akeyless/models/item_target_association'
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::ImporterInfo
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::ImporterInfo do
|
|
21
|
+
let(:instance) { Akeyless::ImporterInfo.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImporterInfo' do
|
|
24
|
+
it 'should create an instance of ImporterInfo' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::ImporterInfo)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "external_item_id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "version"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: akeyless
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-01-
|
|
11
|
+
date: 2023-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -429,6 +429,7 @@ files:
|
|
|
429
429
|
- docs/HashiMigration.md
|
|
430
430
|
- docs/HashiPayload.md
|
|
431
431
|
- docs/HuaweiAccessRules.md
|
|
432
|
+
- docs/ImporterInfo.md
|
|
432
433
|
- docs/Item.md
|
|
433
434
|
- docs/ItemGeneralInfo.md
|
|
434
435
|
- docs/ItemTargetAssociation.md
|
|
@@ -1040,6 +1041,7 @@ files:
|
|
|
1040
1041
|
- lib/akeyless/models/hashi_migration.rb
|
|
1041
1042
|
- lib/akeyless/models/hashi_payload.rb
|
|
1042
1043
|
- lib/akeyless/models/huawei_access_rules.rb
|
|
1044
|
+
- lib/akeyless/models/importer_info.rb
|
|
1043
1045
|
- lib/akeyless/models/item.rb
|
|
1044
1046
|
- lib/akeyless/models/item_general_info.rb
|
|
1045
1047
|
- lib/akeyless/models/item_target_association.rb
|
|
@@ -2137,6 +2139,7 @@ files:
|
|
|
2137
2139
|
- spec/models/hashi_migration_spec.rb
|
|
2138
2140
|
- spec/models/hashi_payload_spec.rb
|
|
2139
2141
|
- spec/models/huawei_access_rules_spec.rb
|
|
2142
|
+
- spec/models/importer_info_spec.rb
|
|
2140
2143
|
- spec/models/item_general_info_spec.rb
|
|
2141
2144
|
- spec/models/item_spec.rb
|
|
2142
2145
|
- spec/models/item_target_association_spec.rb
|
|
@@ -2731,6 +2734,7 @@ test_files:
|
|
|
2731
2734
|
- spec/models/update_artifactory_target_spec.rb
|
|
2732
2735
|
- spec/models/gateway_update_producer_ldap_output_spec.rb
|
|
2733
2736
|
- spec/models/list_roles_output_spec.rb
|
|
2737
|
+
- spec/models/importer_info_spec.rb
|
|
2734
2738
|
- spec/models/create_ldap_target_spec.rb
|
|
2735
2739
|
- spec/models/create_ssh_cert_issuer_output_spec.rb
|
|
2736
2740
|
- spec/models/gateway_update_producer_github_spec.rb
|