Class: TencentCloud::Tke::V20180525::EdgeAvailableExtraArgs
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::EdgeAvailableExtraArgs
- Defined in:
- lib/v20180525/models.rb
Overview
边缘容器集群可用的自定义参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(kubeapiserver = nil, kubecontrollermanager = nil, kubescheduler = nil, kubelet = nil) ⇒ EdgeAvailableExtraArgs
constructor
A new instance of EdgeAvailableExtraArgs.
Constructor Details
#initialize(kubeapiserver = nil, kubecontrollermanager = nil, kubescheduler = nil, kubelet = nil) ⇒ EdgeAvailableExtraArgs
Returns a new instance of EdgeAvailableExtraArgs.
11778 11779 11780 11781 11782 11783 |
# File 'lib/v20180525/models.rb', line 11778 def initialize(kubeapiserver=nil, kubecontrollermanager=nil, kubescheduler=nil, kubelet=nil) @KubeAPIServer = kubeapiserver @KubeControllerManager = kubecontrollermanager @KubeScheduler = kubescheduler @Kubelet = kubelet end |
Instance Attribute Details
#KubeAPIServer ⇒ Object
11776 11777 11778 |
# File 'lib/v20180525/models.rb', line 11776 def KubeAPIServer @KubeAPIServer end |
#KubeControllerManager ⇒ Object
11776 11777 11778 |
# File 'lib/v20180525/models.rb', line 11776 def KubeControllerManager @KubeControllerManager end |
#Kubelet ⇒ Object
11776 11777 11778 |
# File 'lib/v20180525/models.rb', line 11776 def Kubelet @Kubelet end |
#KubeScheduler ⇒ Object
11776 11777 11778 |
# File 'lib/v20180525/models.rb', line 11776 def KubeScheduler @KubeScheduler end |
Instance Method Details
#deserialize(params) ⇒ Object
11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 |
# File 'lib/v20180525/models.rb', line 11785 def deserialize(params) unless params['KubeAPIServer'].nil? @KubeAPIServer = [] params['KubeAPIServer'].each do |i| edgeargsflag_tmp = EdgeArgsFlag.new edgeargsflag_tmp.deserialize(i) @KubeAPIServer << edgeargsflag_tmp end end unless params['KubeControllerManager'].nil? @KubeControllerManager = [] params['KubeControllerManager'].each do |i| edgeargsflag_tmp = EdgeArgsFlag.new edgeargsflag_tmp.deserialize(i) @KubeControllerManager << edgeargsflag_tmp end end unless params['KubeScheduler'].nil? @KubeScheduler = [] params['KubeScheduler'].each do |i| edgeargsflag_tmp = EdgeArgsFlag.new edgeargsflag_tmp.deserialize(i) @KubeScheduler << edgeargsflag_tmp end end unless params['Kubelet'].nil? @Kubelet = [] params['Kubelet'].each do |i| edgeargsflag_tmp = EdgeArgsFlag.new edgeargsflag_tmp.deserialize(i) @Kubelet << edgeargsflag_tmp end end end |