state

package
v2.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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