modmanageroptions

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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