diff --git a/pkg/constants/common.go b/pkg/constants/common.go index 9ca029530..745894c5a 100644 --- a/pkg/constants/common.go +++ b/pkg/constants/common.go @@ -16,13 +16,15 @@ limitations under the License. package constants -type ResultMessage struct { - - Data interface{} `json:"data"` - - +type MessageResponse struct { + Message string `json:"message"` } -const APIVERSION = "v1alpha" +type PageableResponse struct { + Items []interface{} `json:"items"` + TotalCount int `json:"total_count"` +} + +const APIVERSION = "v1alpha1" const KIND = "kubesphere"