Deployment subsystem

Spawn a separate follow up issue for it - it's much higher priority than the others.

----- Original Message -----
> > +	// Tag is the name of an image repository tag to watch for changes.
> > +	Tag string `json:"tag,omitempty" yaml:"tag,omitempty"`
> > +}
> > +
> > +// DeploymentTriggerType refers to a specific DeploymentTriggerPolicy
> > implementation.
> > +type DeploymentTriggerType string
> > +
> > +const (
> > +	// DeploymentTriggerManual is a placeholder implementation which does
> > nothing.
> > +	DeploymentTriggerManual DeploymentTriggerType = "Manual"
> > +	// DeploymentTriggerOnImageChange will create new deployments in response
> > to updated tags from
> > +	// a Docker image repository.
> > +	DeploymentTriggerOnImageChange DeploymentTriggerType = "ImageChange"
> > +	// DeploymentTriggerOnConfigChange will create new deployments in
> > response to changes to
> > +	// the ControllerTemplate of a DeploymentConfig.
> > +	DeploymentTriggerOnConfigChange DeploymentTriggerType = "ConfigChange"
> 
> Comment added; Can we discuss defaulting and the Manual type in a follow-up?
> Defaulting would be a behavior change we'd need to account for in tests and
> such, and Manual was put in for some reason we can't recall (related to the
> UI).
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/openshift/origin/pull/226/files#r19347963