mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 10:53:34 +00:00
rebase: update controller-runtime
update controller-runtime to latest release. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
5a66991bb3
commit
dbbca6ebf8
18
vendor/sigs.k8s.io/controller-runtime/pkg/event/event.go
generated
vendored
18
vendor/sigs.k8s.io/controller-runtime/pkg/event/event.go
generated
vendored
@ -37,26 +37,26 @@ type GenericEvent = TypedGenericEvent[client.Object]
|
||||
|
||||
// TypedCreateEvent is an event where a Kubernetes object was created. TypedCreateEvent should be generated
|
||||
// by a source.Source and transformed into a reconcile.Request by an handler.TypedEventHandler.
|
||||
type TypedCreateEvent[T any] struct {
|
||||
type TypedCreateEvent[object any] struct {
|
||||
// Object is the object from the event
|
||||
Object T
|
||||
Object object
|
||||
}
|
||||
|
||||
// TypedUpdateEvent is an event where a Kubernetes object was updated. TypedUpdateEvent should be generated
|
||||
// by a source.Source and transformed into a reconcile.Request by an handler.TypedEventHandler.
|
||||
type TypedUpdateEvent[T any] struct {
|
||||
type TypedUpdateEvent[object any] struct {
|
||||
// ObjectOld is the object from the event
|
||||
ObjectOld T
|
||||
ObjectOld object
|
||||
|
||||
// ObjectNew is the object from the event
|
||||
ObjectNew T
|
||||
ObjectNew object
|
||||
}
|
||||
|
||||
// TypedDeleteEvent is an event where a Kubernetes object was deleted. TypedDeleteEvent should be generated
|
||||
// by a source.Source and transformed into a reconcile.Request by an handler.TypedEventHandler.
|
||||
type TypedDeleteEvent[T any] struct {
|
||||
type TypedDeleteEvent[object any] struct {
|
||||
// Object is the object from the event
|
||||
Object T
|
||||
Object object
|
||||
|
||||
// DeleteStateUnknown is true if the Delete event was missed but we identified the object
|
||||
// as having been deleted.
|
||||
@ -66,7 +66,7 @@ type TypedDeleteEvent[T any] struct {
|
||||
// TypedGenericEvent is an event where the operation type is unknown (e.g. polling or event originating outside the cluster).
|
||||
// TypedGenericEvent should be generated by a source.Source and transformed into a reconcile.Request by an
|
||||
// handler.TypedEventHandler.
|
||||
type TypedGenericEvent[T any] struct {
|
||||
type TypedGenericEvent[object any] struct {
|
||||
// Object is the object from the event
|
||||
Object T
|
||||
Object object
|
||||
}
|
||||
|
Reference in New Issue
Block a user