Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateDeploymentConfigImages ¶
func UpdateDeploymentConfigImages(dc *appsapi.DeploymentConfig, tagRetriever trigger.TagRetriever) (*appsapi.DeploymentConfig, bool, error)
UpdateDeploymentConfigImages sets the latest image value from all triggers onto each container, returning false if one or more triggers could not be resolved yet or an error. The returned dc will be copied if mutated.
Types ¶
type DeploymentConfigReactor ¶
type DeploymentConfigReactor struct {
Client appsclient.DeploymentConfigsGetter
}
DeploymentConfigReactor converts image trigger changes into updates on deployments.
func (*DeploymentConfigReactor) ImageChanged ¶
func (r *DeploymentConfigReactor) ImageChanged(obj interface{}, tagRetriever trigger.TagRetriever) error
ImageChanged is passed a deployment config and a set of changes.
Click to show internal directories.
Click to hide internal directories.