mirror of
https://github.com/rancher/steve.git
synced 2025-08-31 15:11:31 +00:00
Add object to RegisterAfterDelete and introduce RegisterAfterDeleteAll (#649)
* Add object to AfterDelete callbacks * Add RegisterAfterDeleteAll
This commit is contained in:
@@ -72,7 +72,8 @@ type Store interface {
|
||||
GetName() string
|
||||
RegisterAfterAdd(f func(key string, obj any, tx transaction.Client) error)
|
||||
RegisterAfterUpdate(f func(key string, obj any, tx transaction.Client) error)
|
||||
RegisterAfterDelete(f func(key string, tx transaction.Client) error)
|
||||
RegisterAfterDelete(f func(key string, obj any, tx transaction.Client) error)
|
||||
RegisterAfterDeleteAll(f func(tx transaction.Client) error)
|
||||
GetShouldEncrypt() bool
|
||||
GetType() reflect.Type
|
||||
}
|
||||
|
Reference in New Issue
Block a user