agentsync

package
v1.1.82 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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