enroller

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package enroller implements a local auto-enrollment mechanism for devices and/or gateways.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAutoEnroll

func NewAutoEnroll(
	ctx context.Context,
	db database.Database,
	peers []*pb.Gateway,
	apiServerGRPCAddress string,
	log logrus.FieldLogger,
) (*autoEnroll, error)

func NewLocalEnroll

func NewLocalEnroll(db database.Database, enrollmentsURL string) localEnroller

Types

type AutoEnroller

type AutoEnroller interface {
	Run(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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