import "github.com/juju/juju/core/life"
IsNotAlive is a Predicate that returns true if the supplied value is not Alive.
This generally indicates that the entity in question is at some stage of destruction/cleanup.
IsNotDead is a Predicate that returns true if the supplied value is not Dead.
This generally indicates that the entity in question is active in some way, and can probably not be completely destroyed without consequences.
Predicate is a predicate.
Value indicates the state of some entity.
const ( // Alive indicates that some entity is meant to exist. Alive Value = "alive" // Dying indicates that some entity should be removed. Dying Value = "dying" // Dead indicates that some entity is no longer useful, // and can be destroyed unconditionally. Dead Value = "dead" )
Validate returns an error if the value is not known.
Package life imports 1 packages (graph) and is imported by 243 packages. Updated 2019-03-14. Refresh now. Tools for package owners.