processor

package
v0.0.0-...-1ea1a29 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2019 License: 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