~juju-qa/ubuntu/xenial/juju/2.0-rc2

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/state/life.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
        errDeadOrGone     = errors.New("neither alive nor dying")
43
43
        errAlreadyDying   = errors.New("already dying")
 
44
        errAlreadyDead    = errors.New("already dead")
44
45
        errAlreadyRemoved = errors.New("already removed")
 
46
        errNotDying       = errors.New("not dying")
45
47
)
46
48
 
47
49
// Living describes state entities with a lifecycle.