spread

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const ReconcileRefreshLabel = "platform-mesh.io/refresh-reconcile"

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateNextReconcileTimer

type GenerateNextReconcileTimer interface {
	GenerateNextReconcileTime() time.Duration
}

type Spreader

type Spreader struct {
}

func NewSpreader

func NewSpreader() *Spreader

func (*Spreader) OnNextReconcile

func (s *Spreader) OnNextReconcile(instance runtimeobject.RuntimeObject, log *logger.Logger) (ctrl.Result, error)

func (*Spreader) ReconcileRequired added in v0.1.0

func (s *Spreader) ReconcileRequired(instance runtimeobject.RuntimeObject, log *logger.Logger) bool

func (*Spreader) RemoveRefreshLabelIfExists

func (s *Spreader) RemoveRefreshLabelIfExists(instance runtimeobject.RuntimeObject) bool

func (*Spreader) SetNextReconcileTime

func (s *Spreader) SetNextReconcileTime(instanceStatusObj api.RuntimeObjectSpreadReconcileStatus, log *logger.Logger)

SetNextReconcileTime calculates and sets the next reconcile time for the instance

func (*Spreader) UpdateObservedGeneration

func (s *Spreader) UpdateObservedGeneration(instanceStatusObj api.RuntimeObjectSpreadReconcileStatus, log *logger.Logger)

UpdateObservedGeneration updates the observed generation of the instance struct

Jump to

Keyboard shortcuts

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