collect

package
v1.8.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CrontabSpec = "0 0 * * *"

CrontabSpec the cron spec of job running

View Source
var TopKFrequent = 5

TopKFrequent top frequency component or trait definition

Functions

This section is empty.

Types

type InfoCalculateCronJob

type InfoCalculateCronJob struct {
	KubeClient client.Client       `inject:"kubeClient"`
	Store      datastore.DataStore `inject:"datastore"`
	// contains filtered or unexported fields
}

InfoCalculateCronJob is the cronJob to calculate the system info store in db

func (*InfoCalculateCronJob) Start

func (i *InfoCalculateCronJob) Start(ctx context.Context, errChan chan error)

Start start the worker

Jump to

Keyboard shortcuts

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