Documentation ¶
Index ¶
Constants ¶
View Source
const ( // We must avoid creating processing image stream until the deployment config and image // stream stores have synced. StoreSyncedPollPeriod = 100 * time.Millisecond // MaxRetries is the number of times an image stream 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 ImageChangeController ¶
type ImageChangeController struct {
// contains filtered or unexported fields
}
ImageChangeController increments the version of a deployment config which has an image change trigger when a tag update to a triggered ImageStream is detected.
Use the ImageChangeControllerFactory to create this controller.
func NewImageChangeController ¶ added in v1.3.0
func NewImageChangeController(dcInformer, streamInformer framework.SharedIndexInformer, oc osclient.Interface) *ImageChangeController
NewImageChangeController returns a new ImageChangeController.
func (*ImageChangeController) Handle ¶
func (c *ImageChangeController) Handle(stream *imageapi.ImageStream) error
Handle processes image change triggers associated with imagestream.
func (*ImageChangeController) Run ¶ added in v1.3.0
func (c *ImageChangeController) Run(workers int, stopCh <-chan struct{})
Run begins watching and syncing.
Click to show internal directories.
Click to hide internal directories.