DeploymentController is responsible for synchronizing Deployment objects stored in the system with actual running replica sets and pods.
type DeploymentController struct {
// contains filtered or unexported fields
}
func NewDeploymentController(ctx context.Context, dInformer appsinformers.DeploymentInformer, rsInformer appsinformers.ReplicaSetInformer, podInformer coreinformers.PodInformer, client clientset.Interface) (*DeploymentController, error)
NewDeploymentController creates a new DeploymentController.
func (dc *DeploymentController) Run(ctx context.Context, workers int)
Run begins watching and syncing.