Documentation ¶
Overview ¶
Package viamserver contains the viam-server agent subsystem.
Index ¶
Constants ¶
View Source
const (
SubsysName = "viam-server"
)
Variables ¶
View Source
var ( ConfigFilePath = "/etc/viam.json" // Set if (cached or cloud) config has the "fast_start" attribute set on the viam-server subsystem. FastStart atomic.Bool )
Functions ¶
func NewSubsystem ¶
func NewSubsystem(ctx context.Context, logger logging.Logger, updateConf *pb.DeviceSubsystemConfig) (subsystems.Subsystem, error)
Types ¶
type RestartStatusResponse ¶ added in v0.10.0
type RestartStatusResponse struct { // RestartAllowed represents whether this instance of the viam-server can be // safely restarted. RestartAllowed bool `json:"restart_allowed"` }
RestartStatusResponse is the http/json response from viam_server's /health_check URL This MUST remain in sync with RDK.
Click to show internal directories.
Click to hide internal directories.