basereport

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(globalConfig define.Config, taskConfig define.TaskConfig) define.Task

New :

Types

type BasereportEvent

type BasereportEvent struct {
	Type   string
	DataID int32
	Data   collector.ReportData
}

func (BasereportEvent) AsMapStr

func (be BasereportEvent) AsMapStr() common.MapStr

func (BasereportEvent) GetType

func (be BasereportEvent) GetType() string

func (BasereportEvent) IgnoreCMDBLevel

func (be BasereportEvent) IgnoreCMDBLevel() bool

type Gather

type Gather struct {
	tasks.BaseTask
	// contains filtered or unexported fields
}

func (*Gather) CollectItem

func (g *Gather) CollectItem(e chan<- define.Event)

func (*Gather) IsRunning

func (g *Gather) IsRunning() bool

func (*Gather) Run

func (g *Gather) Run(ctx context.Context, e chan<- define.Event)

Run beater interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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