Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxRetries is the number of times a deployment config will be retried before it is dropped // out of the queue. MaxRetries = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentTriggerController ¶
type DeploymentTriggerController struct {
// contains filtered or unexported fields
}
DeploymentTriggerController processes all triggers for a deployment config and kicks new deployments whenever possible.
func NewDeploymentTriggerController ¶
func NewDeploymentTriggerController(dcInformer, rcInformer, streamInformer framework.SharedIndexInformer, oc osclient.Interface, codec runtime.Codec) *DeploymentTriggerController
NewDeploymentTriggerController returns a new DeploymentTriggerController.
func (*DeploymentTriggerController) Handle ¶
func (c *DeploymentTriggerController) Handle(config *deployapi.DeploymentConfig) error
Handle processes deployment triggers for a deployment config.
func (*DeploymentTriggerController) Run ¶
func (c *DeploymentTriggerController) Run(workers int, stopCh <-chan struct{})
Run begins watching and syncing.
Click to show internal directories.
Click to hide internal directories.