Class: TencentCloud::Tke::V20180525::EdgeAvailableExtraArgs

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

边缘容器集群可用的自定义参数

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#KubeAPIServerObject

Parameters:

  • KubeAPIServer:

    kube-apiserver可用的自定义参数

  • KubeControllerManager:

    kube-controller-manager可用的自定义参数

  • KubeScheduler:

    kube-scheduler可用的自定义参数

  • Kubelet:

    kubelet可用的自定义参数



11776
11777
11778
# File 'lib/v20180525/models.rb', line 11776

def KubeAPIServer
  @KubeAPIServer
end

#KubeControllerManagerObject

Parameters:

  • KubeAPIServer:

    kube-apiserver可用的自定义参数

  • KubeControllerManager:

    kube-controller-manager可用的自定义参数

  • KubeScheduler:

    kube-scheduler可用的自定义参数

  • Kubelet:

    kubelet可用的自定义参数



11776
11777
11778
# File 'lib/v20180525/models.rb', line 11776

def KubeControllerManager
  @KubeControllerManager
end

#KubeletObject

Parameters:

  • KubeAPIServer:

    kube-apiserver可用的自定义参数

  • KubeControllerManager:

    kube-controller-manager可用的自定义参数

  • KubeScheduler:

    kube-scheduler可用的自定义参数

  • Kubelet:

    kubelet可用的自定义参数



11776
11777
11778
# File 'lib/v20180525/models.rb', line 11776

def Kubelet
  @Kubelet
end

#KubeSchedulerObject

Parameters:

  • KubeAPIServer:

    kube-apiserver可用的自定义参数

  • KubeControllerManager:

    kube-controller-manager可用的自定义参数

  • KubeScheduler:

    kube-scheduler可用的自定义参数

  • Kubelet:

    kubelet可用的自定义参数



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