managersetup

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package managersetup prepares local manager credentials without touching a device.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c Config) error

Run imports enrollment unchanged and creates loopback TLS and an API token. A complete existing destination is verified, never overwritten or repaired. The parent must already exist and must not be writable by group or others.

Types

type Config

type Config struct {
	Enrollment string
	Directory  string
	UID        int
	GID        int
	// contains filtered or unexported fields
}

Config selects an existing USB enrollment and a new private destination. UID/GID -1 retain the calling user's ownership; Docker setup uses 65532.

Jump to

Keyboard shortcuts

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