inventory

package
v0.0.0-...-3e52749 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dispatch

func Dispatch(target *m.Target, actual *m.Actual, state *m.Internal) (*m.Target, *m.Actual, *m.Internal, error)

Called when a change event is recorded against either the target or actual entries.

func TimerExpired

func TimerExpired(name string, target *m.Target, actual *m.Actual, state *m.Internal) (*m.Target, *m.Actual, *m.Internal, error)

Some operations have timeouts associated with them. This is the method called when such a timer expires.

Types

type State

type State interface {
	Dispatch(target *m.Target, actual *m.Actual, state *m.Internal) (*m.Target, *m.Actual, *m.Internal, error)
	TimerExpired(name string, target *m.Target, actual *m.Actual, state *m.Internal) (*m.Target, *m.Actual, *m.Internal, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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