Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Agent ¶
type Agent struct {
SystemUUID string
RegistryURL string
Duration time.Duration
Server *registry.Server // Pointer to Server for late initialization.
LLDPSyncInterval time.Duration
LLDPSyncDuration time.Duration
// contains filtered or unexported fields
}
func NewAgent ¶
func NewAgent(log logr.Logger, systemUUID, registryURL string, duration, LLDPSyncInterval, LLDPSyncDuration time.Duration) *Agent
NewAgent creates a new Agent with the specified system UUID and registry URL.
func (*Agent) RefreshLLDP ¶ added in v0.2.0
RefreshLLDP updates only the LLDP portion of the Agent's Server data. If LLDP collection fails, the previous LLDP data is retained.
Click to show internal directories.
Click to hide internal directories.