enrollment

package
v1.3.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package enrollment provides shared enrollment functionality for the Fleet Intelligence agent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enroll added in v1.3.0

func Enroll(ctx context.Context, baseEndpoint, sakToken string) error

Enroll runs the full enrollment workflow and performs a best-effort initial inventory sync.

func EnrollWithConfig added in v1.3.0

func EnrollWithConfig(ctx context.Context, baseEndpoint, sakToken string, cfg *config.Config) error

EnrollWithConfig runs the full enrollment workflow and uses cfg for best-effort inventory metadata.

func EnrollWithConfigAndMetadata added in v1.3.0

func EnrollWithConfigAndMetadata(ctx context.Context, baseEndpoint, sakToken string, cfg *config.Config, metadata *EnrollMetadata) error

EnrollWithConfigAndMetadata runs the full enrollment workflow and persists optional metadata values.

Types

type EnrollMetadata added in v1.3.0

type EnrollMetadata struct {
	NodeGroup   *string
	ComputeZone *string
}

EnrollMetadata contains optional enrollment metadata values persisted for runtime use.

Jump to

Keyboard shortcuts

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