life

package
v0.0.0-...-1592773 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2025 License: AGPL-3.0 Imports: 1 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Life

type Life int

Life represents the life of an entity as recorded in the life lookup table.

const (
	Alive Life = iota
	Dying
	Dead
)

func (Life) Value

func (l Life) Value() corelife.Value

Value returns the github.com/juju/juju/core/life.Life value corresponding to this life.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL