package
Version:
v0.0.0-...-3e52749
Opens a new window with list of versions in this module.
Published: Mar 26, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Dispatch(target *m.Target, actual *m.Actual, state *m.Internal) (*m.Target, *m.Actual, *m.Internal, error)
-
func TimerExpired(name string, target *m.Target, actual *m.Actual, state *m.Internal) (*m.Target, *m.Actual, *m.Internal, error)
-
type State
Called when a change event is recorded against either the target or actual entries.
Some operations have timeouts associated with them. This is the method called when such a timer
expires.
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)
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.