manifest if

This commit is contained in:
kkb0318
2024-04-09 22:12:18 +09:00
parent 50d342f457
commit 0a81afa3f1
4 changed files with 23 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package manifests
import (
"context"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
)
type Handler interface {
Apply(ctx context.Context, obj *unstructured.Unstructured) error
Delete(ctx context.Context, obj *unstructured.Unstructured) error
}