Documentation ¶
Overview ¶
Package modmanageroptions provides Options for configuring a mod manager
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { UntrustedEnv bool // ViamHomeDir is the root of Viam server configuration. This is ~/.viam for now but will become /opt/viam as part of viam-agent ViamHomeDir string // RobotCloudID is the ID of the robot in app.viam.com. Empty if this is a local-only robot RobotCloudID string // RemoveOrphanedResources is a function that the module manager can call to // remove orphaned resources from the resource graph. RemoveOrphanedResources func(ctx context.Context, rNames []resource.Name) // PackagesDir is from Config.PackagesPath. It's used for resolving local tarball module paths. PackagesDir string }
Options configures a modManager.
Click to show internal directories.
Click to hide internal directories.