コード例 #1
0
ファイル: run_components.go プロジェクト: bdmiller3/origin
// RunDeployerPodController starts the deployer pod controller process.
func (c *MasterConfig) RunDeployerPodController() {
	_, kclient := c.DeployerPodControllerClients()
	factory := deployerpodcontroller.DeployerPodControllerFactory{
		KubeClient: kclient,
	}

	controller := factory.Create()
	controller.Run()
}
コード例 #2
0
ファイル: run_components.go プロジェクト: sgallagher/origin
// RunDeployerPodController starts the deployer pod controller process.
func (c *MasterConfig) RunDeployerPodController() {
	kclient := c.DeployerPodControllerClient()
	factory := deployerpodcontroller.DeployerPodControllerFactory{
		KubeClient: kclient,
		Codec:      c.EtcdHelper.Codec(),
	}

	controller := factory.Create()
	controller.Run()
}