webhook base manifests

This commit is contained in:
kkb0318
2024-05-10 18:57:58 +09:00
parent e2514705c1
commit b5427be07d
8 changed files with 245 additions and 101 deletions
+11
View File
@@ -0,0 +1,11 @@
package selfhosted
import (
"sigs.k8s.io/controller-runtime/pkg/client"
)
type WebHook interface {
Resources() []client.Object
Create()
Delete()
}