strongdm 14.7.0 → 14.8.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 +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-e9cb21488b39c35089daef67b386d6e13daebe70.idx → pack-810a1599b3bc9137923a1919a10098f52a3b9ece.idx} +0 -0
- data/.git/objects/pack/{pack-e9cb21488b39c35089daef67b386d6e13daebe70.pack → pack-810a1599b3bc9137923a1919a10098f52a3b9ece.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +1 -0
- data/lib/grpc/drivers_pb.rb +18 -0
- data/lib/grpc/plumbing.rb +66 -0
- data/lib/models/porcelain.rb +72 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +1 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02df944547ecaf7b995b3dbc83baf2fc4c819c5200ff933717410ddc9bbfa2e6
|
4
|
+
data.tar.gz: c92c8f3cb78a1d6860342af659bd5e3ea680a72b7156867bbef046515f7adf65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dac403ec00701e28821ae27b6cfb1aa38e595cbd3d0a0ae4f35ec46abca3e2d0075449da0fc917d2c0411f955fa2055e31cbe23a9c54c11427ec894202c499a6
|
7
|
+
data.tar.gz: d3effba3dfd91f01d1f66142f2da05a6f713d6202b0dbee37948cafe4b58e82c29a26a692f37813c3b4e01f2320ca3f6306e4e45eef256a1228b0420c069cca4
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
5554cde11e3792c6d87dcf3c213c8671e51626d5
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 5554cde11e3792c6d87dcf3c213c8671e51626d5 root <root@425db3f81559.(none)> 1745975366 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
5554cde11e3792c6d87dcf3c213c8671e51626d5 5554cde11e3792c6d87dcf3c213c8671e51626d5 root <root@425db3f81559.(none)> 1745975366 +0000 checkout: moving from master to master
|
3
|
+
5554cde11e3792c6d87dcf3c213c8671e51626d5 1b041fbccb35f138ec614b2fad0bf6c7f321e21c root <root@425db3f81559.(none)> 1745975366 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 5554cde11e3792c6d87dcf3c213c8671e51626d5 root <root@425db3f81559.(none)> 1745975366 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
5554cde11e3792c6d87dcf3c213c8671e51626d5 1b041fbccb35f138ec614b2fad0bf6c7f321e21c root <root@425db3f81559.(none)> 1745975366 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 5554cde11e3792c6d87dcf3c213c8671e51626d5 root <root@425db3f81559.(none)> 1745975366 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
1b041fbccb35f138ec614b2fad0bf6c7f321e21c refs/remotes/origin/development
|
3
|
+
5554cde11e3792c6d87dcf3c213c8671e51626d5 refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -86,6 +86,7 @@ f9539f7781664eb4681b99f12cbcc5d613e241ab refs/tags/v14.2.0
|
|
86
86
|
90b476259dcfed955ebd9339fbe2bbb0c2086b6d refs/tags/v14.4.0
|
87
87
|
f5e3068d4f6c73c93d409699726cc9fb3c5cf482 refs/tags/v14.5.0
|
88
88
|
13357b8e85006ee68cfc881189c02a6fe9966879 refs/tags/v14.6.0
|
89
|
+
5554cde11e3792c6d87dcf3c213c8671e51626d5 refs/tags/v14.7.0
|
89
90
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
90
91
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
91
92
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
1b041fbccb35f138ec614b2fad0bf6c7f321e21c
|
data/lib/constants.rb
CHANGED
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -33,6 +33,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
33
33
|
optional :aws_console, :message, 3000, "v1.AWSConsole"
|
34
34
|
optional :aws_console_static_key_pair, :message, 3001, "v1.AWSConsoleStaticKeyPair"
|
35
35
|
optional :aws_instance_profile, :message, 2301, "v1.AWSInstanceProfile"
|
36
|
+
optional :aerospike, :message, 4600, "v1.Aerospike"
|
36
37
|
optional :amazon_eks, :message, 802, "v1.AmazonEKS"
|
37
38
|
optional :amazon_eks_instance_profile, :message, 809, "v1.AmazonEKSInstanceProfile"
|
38
39
|
optional :amazon_eks_instance_profile_user_impersonation, :message, 813, "v1.AmazonEKSInstanceProfileUserImpersonation"
|
@@ -298,6 +299,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
298
299
|
optional :role_arn, :string, 3
|
299
300
|
optional :role_external_id, :string, 4
|
300
301
|
end
|
302
|
+
add_message "v1.Aerospike" do
|
303
|
+
optional :id, :string, 32768
|
304
|
+
optional :name, :string, 32769
|
305
|
+
optional :healthy, :bool, 32770
|
306
|
+
optional :tags, :message, 32771, "v1.Tags"
|
307
|
+
optional :secret_store_id, :string, 32772
|
308
|
+
optional :egress_filter, :string, 32773
|
309
|
+
optional :bind_interface, :string, 32774
|
310
|
+
optional :proxy_cluster_id, :string, 32776
|
311
|
+
optional :subdomain, :string, 32775
|
312
|
+
optional :hostname, :string, 1
|
313
|
+
optional :password, :string, 3
|
314
|
+
optional :port, :int32, 6
|
315
|
+
optional :port_override, :int32, 5
|
316
|
+
optional :username, :string, 2
|
317
|
+
end
|
301
318
|
add_message "v1.AmazonEKS" do
|
302
319
|
optional :id, :string, 32768
|
303
320
|
optional :name, :string, 32769
|
@@ -2033,6 +2050,7 @@ module V1
|
|
2033
2050
|
AWSConsole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsole").msgclass
|
2034
2051
|
AWSConsoleStaticKeyPair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConsoleStaticKeyPair").msgclass
|
2035
2052
|
AWSInstanceProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSInstanceProfile").msgclass
|
2053
|
+
Aerospike = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Aerospike").msgclass
|
2036
2054
|
AmazonEKS = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKS").msgclass
|
2037
2055
|
AmazonEKSInstanceProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSInstanceProfile").msgclass
|
2038
2056
|
AmazonEKSInstanceProfileUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSInstanceProfileUserImpersonation").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -2201,6 +2201,66 @@ module SDM
|
|
2201
2201
|
end
|
2202
2202
|
items
|
2203
2203
|
end
|
2204
|
+
def self.convert_aerospike_to_porcelain(plumbing)
|
2205
|
+
if plumbing == nil
|
2206
|
+
return nil
|
2207
|
+
end
|
2208
|
+
porcelain = Aerospike.new()
|
2209
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
2210
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2211
|
+
porcelain.healthy = (plumbing.healthy)
|
2212
|
+
porcelain.hostname = (plumbing.hostname)
|
2213
|
+
porcelain.id = (plumbing.id)
|
2214
|
+
porcelain.name = (plumbing.name)
|
2215
|
+
porcelain.password = (plumbing.password)
|
2216
|
+
porcelain.port = (plumbing.port)
|
2217
|
+
porcelain.port_override = (plumbing.port_override)
|
2218
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
2219
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2220
|
+
porcelain.subdomain = (plumbing.subdomain)
|
2221
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2222
|
+
porcelain.username = (plumbing.username)
|
2223
|
+
porcelain
|
2224
|
+
end
|
2225
|
+
|
2226
|
+
def self.convert_aerospike_to_plumbing(porcelain)
|
2227
|
+
if porcelain == nil
|
2228
|
+
return nil
|
2229
|
+
end
|
2230
|
+
plumbing = V1::Aerospike.new()
|
2231
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
2232
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
2233
|
+
plumbing.healthy = (porcelain.healthy)
|
2234
|
+
plumbing.hostname = (porcelain.hostname)
|
2235
|
+
plumbing.id = (porcelain.id)
|
2236
|
+
plumbing.name = (porcelain.name)
|
2237
|
+
plumbing.password = (porcelain.password)
|
2238
|
+
plumbing.port = (porcelain.port)
|
2239
|
+
plumbing.port_override = (porcelain.port_override)
|
2240
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
2241
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
2242
|
+
plumbing.subdomain = (porcelain.subdomain)
|
2243
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2244
|
+
plumbing.username = (porcelain.username)
|
2245
|
+
plumbing
|
2246
|
+
end
|
2247
|
+
def self.convert_repeated_aerospike_to_plumbing(porcelains)
|
2248
|
+
items = Array.new
|
2249
|
+
porcelains.each do |porcelain|
|
2250
|
+
plumbing = convert_aerospike_to_plumbing(porcelain)
|
2251
|
+
items.append(plumbing)
|
2252
|
+
end
|
2253
|
+
items
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
def self.convert_repeated_aerospike_to_porcelain(plumbings)
|
2257
|
+
items = Array.new
|
2258
|
+
plumbings.each do |plumbing|
|
2259
|
+
porcelain = convert_aerospike_to_porcelain(plumbing)
|
2260
|
+
items.append(porcelain)
|
2261
|
+
end
|
2262
|
+
items
|
2263
|
+
end
|
2204
2264
|
def self.convert_amazon_eks_to_porcelain(plumbing)
|
2205
2265
|
if plumbing == nil
|
2206
2266
|
return nil
|
@@ -12627,6 +12687,9 @@ module SDM
|
|
12627
12687
|
return nil
|
12628
12688
|
end
|
12629
12689
|
plumbing = V1::Resource.new()
|
12690
|
+
if porcelain.instance_of? Aerospike
|
12691
|
+
plumbing.aerospike = convert_aerospike_to_plumbing(porcelain)
|
12692
|
+
end
|
12630
12693
|
if porcelain.instance_of? AKS
|
12631
12694
|
plumbing.aks = convert_aks_to_plumbing(porcelain)
|
12632
12695
|
end
|
@@ -12949,6 +13012,9 @@ module SDM
|
|
12949
13012
|
if plumbing == nil
|
12950
13013
|
return nil
|
12951
13014
|
end
|
13015
|
+
if plumbing.aerospike != nil
|
13016
|
+
return convert_aerospike_to_porcelain(plumbing.aerospike)
|
13017
|
+
end
|
12952
13018
|
if plumbing.aks != nil
|
12953
13019
|
return convert_aks_to_porcelain(plumbing.aks)
|
12954
13020
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -1950,6 +1950,78 @@ module SDM
|
|
1950
1950
|
end
|
1951
1951
|
end
|
1952
1952
|
|
1953
|
+
# Aerospike is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
1954
|
+
class Aerospike
|
1955
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
1956
|
+
attr_accessor :bind_interface
|
1957
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
1958
|
+
attr_accessor :egress_filter
|
1959
|
+
# True if the datasource is reachable and the credentials are valid.
|
1960
|
+
attr_accessor :healthy
|
1961
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
1962
|
+
attr_accessor :hostname
|
1963
|
+
# Unique identifier of the Resource.
|
1964
|
+
attr_accessor :id
|
1965
|
+
# Unique human-readable name of the Resource.
|
1966
|
+
attr_accessor :name
|
1967
|
+
# The password to authenticate with.
|
1968
|
+
attr_accessor :password
|
1969
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
1970
|
+
attr_accessor :port
|
1971
|
+
# The local port used by clients to connect to this resource.
|
1972
|
+
attr_accessor :port_override
|
1973
|
+
# ID of the proxy cluster for this resource, if any.
|
1974
|
+
attr_accessor :proxy_cluster_id
|
1975
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1976
|
+
attr_accessor :secret_store_id
|
1977
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
1978
|
+
attr_accessor :subdomain
|
1979
|
+
# Tags is a map of key, value pairs.
|
1980
|
+
attr_accessor :tags
|
1981
|
+
# The username to authenticate with.
|
1982
|
+
attr_accessor :username
|
1983
|
+
|
1984
|
+
def initialize(
|
1985
|
+
bind_interface: nil,
|
1986
|
+
egress_filter: nil,
|
1987
|
+
healthy: nil,
|
1988
|
+
hostname: nil,
|
1989
|
+
id: nil,
|
1990
|
+
name: nil,
|
1991
|
+
password: nil,
|
1992
|
+
port: nil,
|
1993
|
+
port_override: nil,
|
1994
|
+
proxy_cluster_id: nil,
|
1995
|
+
secret_store_id: nil,
|
1996
|
+
subdomain: nil,
|
1997
|
+
tags: nil,
|
1998
|
+
username: nil
|
1999
|
+
)
|
2000
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
2001
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2002
|
+
@healthy = healthy == nil ? false : healthy
|
2003
|
+
@hostname = hostname == nil ? "" : hostname
|
2004
|
+
@id = id == nil ? "" : id
|
2005
|
+
@name = name == nil ? "" : name
|
2006
|
+
@password = password == nil ? "" : password
|
2007
|
+
@port = port == nil ? 0 : port
|
2008
|
+
@port_override = port_override == nil ? 0 : port_override
|
2009
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
2010
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2011
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
2012
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2013
|
+
@username = username == nil ? "" : username
|
2014
|
+
end
|
2015
|
+
|
2016
|
+
def to_json(options = {})
|
2017
|
+
hash = {}
|
2018
|
+
self.instance_variables.each do |var|
|
2019
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2020
|
+
end
|
2021
|
+
hash.to_json
|
2022
|
+
end
|
2023
|
+
end
|
2024
|
+
|
1953
2025
|
class AmazonEKS
|
1954
2026
|
# The Access Key ID to use to authenticate.
|
1955
2027
|
attr_accessor :access_key
|
data/lib/strongdm.rb
CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
|
|
29
29
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
30
30
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
31
31
|
API_VERSION = "2025-04-14"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/14.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/14.8.0"
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
34
34
|
|
35
35
|
# Creates a new strongDM API client.
|
data/lib/svc.rb
CHANGED
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.
|
4
|
+
version: 14.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -81,8 +81,8 @@ files:
|
|
81
81
|
- "./.git/logs/HEAD"
|
82
82
|
- "./.git/logs/refs/heads/master"
|
83
83
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
84
|
-
- "./.git/objects/pack/pack-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-810a1599b3bc9137923a1919a10098f52a3b9ece.idx"
|
85
|
+
- "./.git/objects/pack/pack-810a1599b3bc9137923a1919a10098f52a3b9ece.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|