Help us shape the future of Go! Take the 2026 Go Developer Survey

imagechange

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL