certmanager

package
v1.2.0-main Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentCertManager

type AgentCertManager struct {
	// contains filtered or unexported fields
}

func NewAgentCertManager

func NewAgentCertManager(
	ctx context.Context,
	log *log.PrefixLogger,
	cfg *config.Config,
	deviceName string,
	managementClient client.Management,
	readWriter fileio.ReadWriter,
	idFactory identity.ExportableFactory,
	identityProvider identity.Provider,
	statusManager status.Manager,
	systemInfoManager systeminfo.Manager,
) (*AgentCertManager, error)

NewAgentCertManager wires the pkg certmanager with agent-specific providers/factories.

func (*AgentCertManager) Run

func (a *AgentCertManager) Run(ctx context.Context)

Run periodically calls Sync until ctx is canceled.

func (*AgentCertManager) Sync

Sync delegates to the pkg cert manager. The agent decides when to call Sync (e.g., on a timer, on config change, at startup).

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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