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, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

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

func New

func New(image string,
	crdClient controller.CustomResourceController,
	control chan int,
	kube kube.Kubernetes,
) (*Processor, error)

func (*Processor) DetectChangeType

func (p *Processor) DetectChangeType(event spec.KafkaclusterWatchEvent) spec.KafkaclusterEvent

We detect basic change through the event type, beyond that we use the API server to find differences. Functions compares the KafkaClusterSpec with the real Pods/Services which are there. We do that because otherwise we would have to use a local state to track changes.

func (*Processor) Run

func (p *Processor) Run() error

Jump to

Keyboard shortcuts

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