Class: TencentCloud::Tke::V20180525::ClusterCredential
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ClusterCredential
- Defined in:
- lib/v20180525/models.rb
Overview
接入k8s 的认证信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cacert = nil, token = nil) ⇒ ClusterCredential
constructor
A new instance of ClusterCredential.
Constructor Details
#initialize(cacert = nil, token = nil) ⇒ ClusterCredential
Returns a new instance of ClusterCredential.
1389 1390 1391 1392 |
# File 'lib/v20180525/models.rb', line 1389 def initialize(cacert=nil, token=nil) @CACert = cacert @Token = token end |
Instance Attribute Details
#CACert ⇒ Object
1387 1388 1389 |
# File 'lib/v20180525/models.rb', line 1387 def CACert @CACert end |
#Token ⇒ Object
1387 1388 1389 |
# File 'lib/v20180525/models.rb', line 1387 def Token @Token end |
Instance Method Details
#deserialize(params) ⇒ Object
1394 1395 1396 1397 |
# File 'lib/v20180525/models.rb', line 1394 def deserialize(params) @CACert = params['CACert'] @Token = params['Token'] end |