viamagent

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package viamagent is the subsystem for the viam-agent itself. It contains code to install/update the systemd service as well.

Index

Constants

This section is empty.

Variables

View Source
var (
	// versions embedded at build time.
	Version     = ""
	GitRevision = ""

	DefaultConfig = &pb.DeviceSubsystemConfig{}
)

Functions

func GetRevision

func GetRevision() string

GetRevision returns the git revision embedded at build time.

func GetVersion

func GetVersion() string

GetVersion returns the version embedded at build time.

func Install

func Install(logger logging.Logger) error

func NewSubsystem

func NewSubsystem(ctx context.Context, logger logging.Logger, updateConf *pb.DeviceSubsystemConfig) (subsystems.Subsystem, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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