tencentcloud-sdk-tke 1.0.275 → 1.0.278
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/models.rb +10 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ef3de4433546ec30ccbce9228081123b6898228
|
4
|
+
data.tar.gz: 02fb3dd8c1e423ab52c95da4d38a91ea25633e59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cecc1c3f7d58848e38ed633feced7d907ba88a58eed5ce98c24acb91fb9bee0a02157172930d01f0586250f1ee6df0bdc4c4e39cd06f299e6aac5f8cc3a9d42
|
7
|
+
data.tar.gz: 912b26e8ef5fcd0a8ef87ebc357b9c48e5c593b3ff59075cc1ccb58b3eabcbc31a5b1027a13ac99bd08a1b6f1a8651fcfab0313e96f9dc7980bd1124ea1f4d4c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.278
|
data/lib/v20180525/models.rb
CHANGED
@@ -1212,10 +1212,13 @@ module TencentCloud
|
|
1212
1212
|
# @param GpuLimit: Gpu限制
|
1213
1213
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1214
1214
|
# @type GpuLimit: Integer
|
1215
|
+
# @param SecurityContext: 容器的安全上下文
|
1216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1217
|
+
# @type SecurityContext: :class:`Tencentcloud::Tke.v20180525.models.SecurityContext`
|
1215
1218
|
|
1216
|
-
attr_accessor :Image, :Name, :Commands, :Args, :EnvironmentVars, :Cpu, :Memory, :VolumeMounts, :CurrentState, :RestartCount, :WorkingDir, :LivenessProbe, :ReadinessProbe, :GpuLimit
|
1219
|
+
attr_accessor :Image, :Name, :Commands, :Args, :EnvironmentVars, :Cpu, :Memory, :VolumeMounts, :CurrentState, :RestartCount, :WorkingDir, :LivenessProbe, :ReadinessProbe, :GpuLimit, :SecurityContext
|
1217
1220
|
|
1218
|
-
def initialize(image=nil, name=nil, commands=nil, args=nil, environmentvars=nil, cpu=nil, memory=nil, volumemounts=nil, currentstate=nil, restartcount=nil, workingdir=nil, livenessprobe=nil, readinessprobe=nil, gpulimit=nil)
|
1221
|
+
def initialize(image=nil, name=nil, commands=nil, args=nil, environmentvars=nil, cpu=nil, memory=nil, volumemounts=nil, currentstate=nil, restartcount=nil, workingdir=nil, livenessprobe=nil, readinessprobe=nil, gpulimit=nil, securitycontext=nil)
|
1219
1222
|
@Image = image
|
1220
1223
|
@Name = name
|
1221
1224
|
@Commands = commands
|
@@ -1230,6 +1233,7 @@ module TencentCloud
|
|
1230
1233
|
@LivenessProbe = livenessprobe
|
1231
1234
|
@ReadinessProbe = readinessprobe
|
1232
1235
|
@GpuLimit = gpulimit
|
1236
|
+
@SecurityContext = securitycontext
|
1233
1237
|
end
|
1234
1238
|
|
1235
1239
|
def deserialize(params)
|
@@ -1270,6 +1274,10 @@ module TencentCloud
|
|
1270
1274
|
@ReadinessProbe.deserialize(params['ReadinessProbe'])
|
1271
1275
|
end
|
1272
1276
|
@GpuLimit = params['GpuLimit']
|
1277
|
+
unless params['SecurityContext'].nil?
|
1278
|
+
@SecurityContext = SecurityContext.new
|
1279
|
+
@SecurityContext.deserialize(params['SecurityContext'])
|
1280
|
+
end
|
1273
1281
|
end
|
1274
1282
|
end
|
1275
1283
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.278
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|