{"modulePath":"github.phpd.cn/openshift/origin","version":"v1.3.3","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package imagechange\n\n## Constants\n\n```go\nconst (\n\t// We must avoid creating processing image stream until the deployment config and image\n\t// stream stores have synced.\n\tStoreSyncedPollPeriod = 100 * time.Millisecond\n\t// MaxRetries is the number of times an image stream will be retried before it is dropped\n\t// out of the queue.\n\tMaxRetries = 5\n)\n```\n\n## Types\n\n```go\ntype ImageChangeController struct {\n\t// contains filtered or unexported fields\n}\n```\nImageChangeController increments the version of a deployment config which has an image change trigger when a tag update to a triggered ImageStream is detected.\n\nUse the ImageChangeControllerFactory to create this controller.\n\n```go\nfunc NewImageChangeController(dcInformer, streamInformer framework.SharedIndexInformer, oc osclient.Interface) *ImageChangeController\n```\nNewImageChangeController returns a new ImageChangeController.\n\n```go\nfunc (c *ImageChangeController) Handle(stream *imageapi.ImageStream) error\n```\nHandle processes image change triggers associated with imagestream.\n\n```go\nfunc (c *ImageChangeController) Run(workers int, stopCh \u003c-chan struct{})\n```\nRun begins watching and syncing.\n\n","path":"github.phpd.cn/openshift/origin/pkg/deploy/controller/imagechange","name":"imagechange","synopsis":"","isRedistributable":true}
