managers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PipelineManager

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

PipelineManager is an object for watching MinIO buckets for changes and queuing processing in a pipeline. It exports a method for reloading configuration changes.

func GetManagerForPipeline

func GetManagerForPipeline(client client.Client, pipeline pipelinetypes.Pipeline) *PipelineManager

GetManagerForPipeline returns a PipelineManager for the given transformation pipeline. If one already exists globally, it is returned.

func (*PipelineManager) IsRunning

func (p *PipelineManager) IsRunning() bool

IsRunning returns true if the pipeline manager is already running.

func (*PipelineManager) Reload

func (p *PipelineManager) Reload(cfg pipelinetypes.Pipeline)

Reload reloads the bucket watchers with the given pipeline configuration.

func (*PipelineManager) Start

func (p *PipelineManager) Start() error

Start starts the pipeline manager.

func (*PipelineManager) Stop

func (p *PipelineManager) Stop()

Stop stops the bucket watching goroutine.

Jump to

Keyboard shortcuts

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