processors

package
v0.0.0-...-b411720 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeltaProcessor

type DeltaProcessor interface {
	ComputeDelta(comparator comparators.ResourceComparator, requestedResource client.Object, deployedResource client.Object) ResourceDelta
}

DeltaProcessor would compare the request to desired resource and return the delta that needs to be process.

func NewDeltaProcessor

func NewDeltaProcessor() DeltaProcessor

type ResourceDelta

type ResourceDelta interface {
	HasChanges() bool
	IsAdded() bool
	IsUpdated() bool
	IsRemoved() bool
}

Jump to

Keyboard shortcuts

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