managersetup

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 17 Imported by: 0

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