WIP: Deployment Triggers POC

Making a PR for this to make tracking comments easier.


----- Original Message -----
> > @@ -61,11 +67,11 @@ const (
> >  // what the template for the deployment, how new deployments are
> >  triggered, what the current
> >  // deployed state is.
> >  type DeploymentConfig struct {
> > -	api.JSONBase  `json:",inline" yaml:",inline"`
> > -	Labels        map[string]string              `json:"labels,omitempty"
> > yaml:"labels,omitempty"`
> > -	TriggerPolicy DeploymentTriggerPolicy
> > `json:"triggerPolicy,omitempty" yaml:"triggerPolicy,omitempty"`
> > -	Template      DeploymentTemplate             `json:"template,omitempty"
> > yaml:"template,omitempty"`
> > -	CurrentState  api.ReplicationControllerState `json:"currentState"
> > yaml:"currentState,omitempty"`
> > +	api.JSONBase    `json:",inline" yaml:",inline"`
> > +	Labels          map[string]string         `json:"labels,omitempty"
> > yaml:"labels,omitempty"`
> > +	TriggerPolicies []DeploymentTriggerPolicy
> > `json:"triggerPolicies,omitempty" yaml:"triggerPolicies,omitempty"`
> 
> I am wondering whether it makes sense to have to specify the 'manual'
> trigger.  Thoughts @smarterclayton ?
> 

Agree, empty policy = manual