agentsync

package
v1.1.97 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSyncConfigProperties

func AddSyncConfigProperties(props properties.Properties)

AddSyncConfigProperties - Adds the flag needed for Sync Process Config

func CheckSyncFlag

func CheckSyncFlag() int

CheckSyncFlag - checks to see if the sync flag was used and runs the ProcessSynchronization.

If return is 0 or greater exit should happen, with return as exitcode

func IsSyncMode

func IsSyncMode() bool

IsSyncMode - returns true when synchronize flag passed in

func SetAgentSync

func SetAgentSync(agentSyncImpl AgentSync)

SetAgentSync - allows the agent to set the agent sync implementation for its gateway

func SetSyncMode

func SetSyncMode(props properties.Properties)

SetSyncMode - checks for the syncFlag, if present sets IsSyncMode to true

Types

type AgentSync

type AgentSync interface {
	ProcessSynchronization() error
}

AgentSync - the interface discovery agents implement to handle the sync command line flag

Jump to

Keyboard shortcuts

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