manage status

This commit is contained in:
kkb0318
2024-05-07 19:06:51 +09:00
parent e0cd191793
commit 16813de7cd
14 changed files with 138 additions and 101 deletions
+4
View File
@@ -15,6 +15,10 @@ type KubernetesClient interface {
Delete(ctx context.Context, obj client.Object, opts DeleteOptions) error
}
type StatusClient interface {
PatchStatus(ctx context.Context, obj client.Object) error
}
// DeleteOptions contains options for delete requests.
type DeleteOptions struct {
// DeletionPropagation decides how the garbage collector will handle the propagation.