agents

package
v0.0.0-...-d9996d1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EOL = "\n" // The POSIX end of line character.
)

Variables

This section is empty.

Functions

func Configurator

func Configurator(directory, filename string) abs.ConfiguratorLike

This constructor creates a new configurator using the specified directory and filename.

func Controller

func Controller(states [][]int) abs.ControllerLike

This constructor creates a new controller using the specified finite state machine and possible event types. It enforces the possible states of the state machine and allowed transitions between states given a finite set of possible event types. It implements a finite state machine with the following table structure:

states: [events, event1,  event2,  ... eventM ]
        [state1, invalid, state2,  ... invalid]
        [state2, state3,  stateN,  ... invalid]
                         ...
        [stateN, state1,  invalid, ... state3 ]

The first row of the state table defines the possible events that can occur. Each subsequent row defines a state and the possible transitions from that state to the next state for each possible event. Transitions marked as "invalid" cannot occur. The second row of the state table defines the initial state of the finite state machine.

func SSMv1

func SSMv1(directory string) abs.SecurityModuleLike

This constructor creates a new software security module. It emulates a hardware security module and may be used for testing or, in a trusted cloud environment where it cannot be tampered with.

Types

This section is empty.

Jump to

Keyboard shortcuts

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