Documentation
¶
Overview ¶
Package subsystems defines the subsystem interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subsystem ¶
type Subsystem interface { // Start runs the subsystem Start(ctx context.Context) error // Stop signals the subsystem to shutdown Stop(ctx context.Context) error // Update validates and/or updates a subsystem, returns true if subsystem should be restarted Update(ctx context.Context, cfg *pb.DeviceSubsystemConfig) (bool, error) // HealthCheck reports if a subsystem is running correctly (it is restarted if not) HealthCheck(ctx context.Context) error // Version returns the current version of the subsystem Version() string }
Directories
¶
Path | Synopsis |
---|---|
Package provisioning is the subsystem responsible for network/wifi management, and initial device setup via hotspot.
|
Package provisioning is the subsystem responsible for network/wifi management, and initial device setup via hotspot. |
Package registry is used to register subsystems from other packages.
|
Package registry is used to register subsystems from other packages. |
Package syscfg contains the system configuration agent subsystem.
|
Package syscfg contains the system configuration agent subsystem. |
Package viamagent is the subsystem for the viam-agent itself.
|
Package viamagent is the subsystem for the viam-agent itself. |
Package viamserver contains the viam-server agent subsystem.
|
Package viamserver contains the viam-server agent subsystem. |
Click to show internal directories.
Click to hide internal directories.