committer

package
v0.25.46 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatusCommitter

func NewStatusCommitter[R any, St any](patcher Patcher) func(context.Context, StatusGetter[St], StatusGetter[St]) error

Types

type Patcher

type Patcher interface {
	Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error
}

Patcher is just the Patch API with a generic to keep use sites type safe

type StatusGetter added in v0.25.29

type StatusGetter[St any] interface {
	GetStatus() St
	client.Object
}

Jump to

Keyboard shortcuts

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