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.
Click to show internal directories.
Click to hide internal directories.