interactor

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package interactor contains the logic to communicate with upstream core services MGS & MDS

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IInteractor

type IInteractor interface {
	// Initialize initializes interactor
	Initialize(ableToOpenMGSConnection *uint32) error
	// PostProcessorInitialization sets values needed post initialization
	// This should be called after processor initialization call
	PostProcessorInitialization(name utils.WorkerName)
	// GetName used to get the name of interactor
	GetName() string
	// GetSupportedWorkers returns the workers supported by the interactors
	GetSupportedWorkers() []utils.WorkerName
	// PreProcessorClose lists the actions to do before processor stop
	// This should be called before processor close
	PreProcessorClose()
	// Close closes interactor
	Close() error
}

IInteractor defines the interface for interactors

Directories

Path Synopsis
Package mdsinteractor will be responsible for communicating with MDS
Package mdsinteractor will be responsible for communicating with MDS
Package mgsinteractor contains logic to open control channel and communicate with MGS
Package mgsinteractor contains logic to open control channel and communicate with MGS
replytypes
Package replytypes will be responsible for handling agent run command reply type from the processor
Package replytypes will be responsible for handling agent run command reply type from the processor

Jump to

Keyboard shortcuts

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