summaryrefslogtreecommitdiff
path: root/common/types
diff options
context:
space:
mode:
authorvincentgoat <linguohui1@huawei.com>2023-04-13 16:53:55 +0800
committervincentgoat <linguohui1@huawei.com>2023-05-31 16:51:28 +0800
commit468af07f2aa3a92787d320f0e71598434eb838f1 (patch)
tree2aabb415eff86b05a00e31d6d71c8d644033b438 /common/types
parentremove cloud authorization (diff)
downloadkubeedge-468af07f2aa3a92787d320f0e71598434eb838f1.tar.gz
reconcile rules
Signed-off-by: vincentgoat <linguohui1@huawei.com>
Diffstat (limited to 'common/types')
-rw-r--r--common/types/types.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/types/types.go b/common/types/types.go
index 7efe5e140..4fe163a68 100644
--- a/common/types/types.go
+++ b/common/types/types.go
@@ -3,6 +3,7 @@ package types
import (
v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
+ metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
)
@@ -46,3 +47,9 @@ type NodeUpgradeJobResponse struct {
Status string
Reason string
}
+
+// ObjectResp is the object that api-server response
+type ObjectResp struct {
+ Object metaV1.Object
+ Err error
+}