pcm-coordinator/api/desc/cloud/pcm-cloud.api

36 lines
776 B
Plaintext

syntax = "v1"
info(
title: "cloud core"
desc: "cloud core微服务"
author: "zhangwei"
email: ""
)
/******************find datasetList start*************************/
type ApplyReq{
YamlString string `json:"yamlString" copier:"yamlString"`
}
type DeleteReq{
YamlString string `json:"yamlString" copier:"yamlString"`
}
type ApplyResp{
Code int32 `json:"code,omitempty"`
Msg string `json:"msg,omitempty"`
DataSet []DataSet `json:"dataSet,omitempty"`
}
type DeleteResp{
Code int32 `json:"code,omitempty"`
Msg string `json:"msg,omitempty"`
Data string `json:"data,omitempty"`
}
type DataSet{
ApiVersion int32 `json:"apiVersion,omitempty"`
Kind string `json:"kind,omitempty"`
Name string `json:"name,omitempty"`
NameSpace string `json:"nameSpace,omitempty"`
}