state

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: GPL-3.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 Manager

type Manager struct {
	*logger.Logger
	// contains filtered or unexported fields
}

func NewManager

func NewManager(path string) *Manager

func (*Manager) Remove

func (m *Manager) Remove(cfg confgroup.Config)

func (*Manager) Run

func (m *Manager) Run(ctx context.Context)

func (*Manager) Save

func (m *Manager) Save(cfg confgroup.Config, state string)

type State

type State struct {
	// contains filtered or unexported fields
}

func Load

func Load(path string) (*State, error)

func (State) Contains

func (s State) Contains(cfg confgroup.Config, states ...string) bool

Jump to

Keyboard shortcuts

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