diff options
| author | vincentgoat <linguohui1@huawei.com> | 2023-04-13 16:53:55 +0800 |
|---|---|---|
| committer | vincentgoat <linguohui1@huawei.com> | 2023-05-31 16:51:28 +0800 |
| commit | 468af07f2aa3a92787d320f0e71598434eb838f1 (patch) | |
| tree | 2aabb415eff86b05a00e31d6d71c8d644033b438 /common/types | |
| parent | remove cloud authorization (diff) | |
| download | kubeedge-468af07f2aa3a92787d320f0e71598434eb838f1.tar.gz | |
reconcile rules
Signed-off-by: vincentgoat <linguohui1@huawei.com>
Diffstat (limited to 'common/types')
| -rw-r--r-- | common/types/types.go | 7 |
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 +} |
