From 1cec31996b56250ecd3674fc6d66e20e3b4e9d3a Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Tue, 24 Dec 2024 15:56:31 +0800 Subject: [PATCH] fix: add cas const --- pkg/apis/compute/cloudaccount_const.go | 1 + pkg/apis/compute/guest_const.go | 1 + pkg/apis/compute/host_const.go | 1 + 3 files changed, 3 insertions(+) diff --git a/pkg/apis/compute/cloudaccount_const.go b/pkg/apis/compute/cloudaccount_const.go index 81b4bb3ea..0c9f15f0e 100644 --- a/pkg/apis/compute/cloudaccount_const.go +++ b/pkg/apis/compute/cloudaccount_const.go @@ -49,6 +49,7 @@ const ( CLOUD_PROVIDER_SANGFOR = "SangFor" CLOUD_PROVIDER_ZETTAKIT = "ZettaKit" CLOUD_PROVIDER_UIS = "UIS" + CLOUD_PROVIDER_CAS = "CAS" CLOUD_PROVIDER_GENERICS3 = "S3" CLOUD_PROVIDER_CEPH = "Ceph" diff --git a/pkg/apis/compute/guest_const.go b/pkg/apis/compute/guest_const.go index 92db4b3b7..e4adc6824 100644 --- a/pkg/apis/compute/guest_const.go +++ b/pkg/apis/compute/guest_const.go @@ -82,6 +82,7 @@ const ( HYPERVISOR_SANGFOR = "sangfor" HYPERVISOR_ZETTAKIT = "zettakit" HYPERVISOR_UIS = "uis" + HYPERVISOR_CAS = "cas" ) const ( diff --git a/pkg/apis/compute/host_const.go b/pkg/apis/compute/host_const.go index fb3202062..c0753d2fa 100644 --- a/pkg/apis/compute/host_const.go +++ b/pkg/apis/compute/host_const.go @@ -51,6 +51,7 @@ const ( HOST_TYPE_SANGFOR = "sangfor" HOST_TYPE_ZETTAKIT = "zettakit" HOST_TYPE_UIS = "uis" + HOST_TYPE_CAS = "cas" // # possible status HOST_ONLINE = "online"