status

package
v0.0.0-...-338affd Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Update

type Update struct {
	NamespacedName types.NamespacedName
	Resource       client.Object
	UpdateStatus   func(client.Object) client.Object
}

Update contain status update event information

type UpdateHandler

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

UpdateHandler handles status updates

func NewUpdateHandler

func NewUpdateHandler(client client.Client) *UpdateHandler

NewUpdateHandler get a new status update handler

func (*UpdateHandler) Send

func (updateHandler *UpdateHandler) Send(update Update)

Send public method to add status update events to the update channel.

func (*UpdateHandler) Start

func (updateHandler *UpdateHandler) Start(ctx context.Context) error

Start starts the status update handler go routine.

Jump to

Keyboard shortcuts

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