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.
1293 1294 1295 1296 |
# File 'lib/v20180525/models.rb', line 1293 def initialize(cacert=nil, token=nil) @CACert = cacert @Token = token end |
Instance Attribute Details
#CACert ⇒ Object
1291 1292 1293 |
# File 'lib/v20180525/models.rb', line 1291 def CACert @CACert end |
#Token ⇒ Object
1291 1292 1293 |
# File 'lib/v20180525/models.rb', line 1291 def Token @Token end |
Instance Method Details
#deserialize(params) ⇒ Object
1298 1299 1300 1301 |
# File 'lib/v20180525/models.rb', line 1298 def deserialize(params) @CACert = params['CACert'] @Token = params['Token'] end |