Delete old templates

This commit is contained in:
Luke Kysow
2017-07-02 17:57:14 -07:00
parent 707cbc71a4
commit b76df168cd
6 changed files with 64 additions and 269 deletions

View File

@@ -17,6 +17,30 @@ type CommandHandler struct {
logger *logging.SimpleLogger
}
type CommandResponse struct {
Error error
Failure string
ProjectResults []ProjectResult
Command CommandType
}
type ProjectResult struct {
Path string
Error error
Failure string
PlanSuccess *PlanSuccess
ApplySuccess string
}
func (p ProjectResult) Status() Status {
if p.Error != nil {
return Error
}
if p.Failure != "" {
return Failure
}
return Success
}
type CommandType int
const (