processor

package
v0.0.0-...-398e186 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: BSD-3-Clause, BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	ESCluster *myspec.ElasticsearchCluster
	Scheduler *snapshot.Scheduler
}

type Processor

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

Processor object

func New

func New(kclient *k8sutil.K8sutil, baseImage string) (*Processor, error)

New creates new instance of Processor

func (*Processor) Run

func (p *Processor) Run() error

Run starts the processor

func (*Processor) WatchDataPodEvents

func (p *Processor) WatchDataPodEvents(done chan struct{}, wg *sync.WaitGroup)

WatchDataPodEvents watches for changes to pods

func (*Processor) WatchElasticSearchClusterEvents

func (p *Processor) WatchElasticSearchClusterEvents(done chan struct{}, wg *sync.WaitGroup)

WatchElasticSearchClusterEvents watches for changes to tpr elasticsearch events

Jump to

Keyboard shortcuts

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