collector

package
v0.0.0-...-720764a Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptPasswords

func EncryptPasswords(cfg *AS400CollectorConfig) error

Types

type AS400Collector

type AS400Collector struct {
	// contains filtered or unexported fields
}

func NewAS400Collector

func NewAS400Collector() *AS400Collector

func (*AS400Collector) Start

func (c *AS400Collector) Start(ctx context.Context, cnf *config.Config) error

func (*AS400Collector) Stop

func (c *AS400Collector) Stop() error

type AS400CollectorConfig

type AS400CollectorConfig struct {
	Servers []AS400ServerConfig `json:"servers"`
}

type AS400ServerConfig

type AS400ServerConfig struct {
	Tenant   string `json:"tenant"`
	Hostname string `json:"hostname"`
	UserId   string `json:"userId"`
	Password string `json:"password"`
}

type ConfigStreamManager

type ConfigStreamManager struct {
	// contains filtered or unexported fields
}

func NewConfigStreamManager

func NewConfigStreamManager(onConfigChange func(*AS400CollectorConfig)) *ConfigStreamManager

func (*ConfigStreamManager) Start

func (csm *ConfigStreamManager) Start(cnf *config.Config, ctx context.Context)

Jump to

Keyboard shortcuts

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