enrollment

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package enrollment registers an agent with the FallBCK server using a one-time token

Index

Constants

View Source
const ConfigFileName = "agent.yaml"

ConfigFileName is the agent configuration file inside the data directory

Variables

View Source
var AgentVersion = "0.1.0"

AgentVersion is reported to the server at enrollment; set by the agent binary

Functions

func EnrollAgent

func EnrollAgent(ctx context.Context, serverURL, token, dataDir string) (*config.AgentConfig, error)

EnrollAgent exchanges a one-time enrollment token for an agent identity and bearer token, and writes agent.yaml (and an optional server CA bundle) into dataDir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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