Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LifecycleState ¶
type LifecycleState struct { StartedAt time.Time `json:"started_at"` // contains filtered or unexported fields }
func NewLifecycleState ¶
func NewLifecycleState(stateDir string) *LifecycleState
func (*LifecycleState) Load ¶
func (lf *LifecycleState) Load() error
func (*LifecycleState) Save ¶
func (lf *LifecycleState) Save() error
func (*LifecycleState) WithLock ¶
func (lf *LifecycleState) WithLock(fun func() error) error
Click to show internal directories.
Click to hide internal directories.