Documentation ¶
Index ¶
- Constants
- type Config
- type Module
- func (m *Module) Config() module.ConfigInterface
- func (m *Module) FindProcessByID(processID string) api.ProcessInterface
- func (m *Module) Name() string
- func (m *Module) NotifyStartSuccess()
- func (m *Module) RequiredModules() []string
- func (m *Module) Shutdown(ctx context.Context, mgr *module.Manager) error
- func (m *Module) Start(ctx context.Context, mgr *module.Manager) error
- type Operator
Constants ¶
View Source
const ModuleName = "process_discovery"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { module.Config // heartbeat the process list period HeartbeatPeriod string `mapstructure:"heartbeat_period"` // sends properties to the backend period PropertiesReportPeriod int `mapstructure:"properties_report_period"` // Scanner process from Linux Scanner *scanner.Config `mapstructure:"scanner"` Kubernetes *kubernetes.Config `mapstructure:"kubernetes"` }
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) Config ¶
func (m *Module) Config() module.ConfigInterface
func (*Module) FindProcessByID ¶
func (m *Module) FindProcessByID(processID string) api.ProcessInterface
func (*Module) NotifyStartSuccess ¶
func (m *Module) NotifyStartSuccess()
func (*Module) RequiredModules ¶
type Operator ¶
type Operator interface { // FindProcessById the processID is received from the backend, if not found then return nil FindProcessByID(processID string) api.ProcessInterface }
Click to show internal directories.
Click to hide internal directories.