Documentation ¶
Index ¶
- func CloudideClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCheckName(request *model.CheckNameRequest) *def.HttpRequestDef
- func GenReqDefForCreateInstance(request *model.CreateInstanceRequest) *def.HttpRequestDef
- func GenReqDefForCreateInstanceBy3rd(request *model.CreateInstanceBy3rdRequest) *def.HttpRequestDef
- func GenReqDefForDeleteInstance(request *model.DeleteInstanceRequest) *def.HttpRequestDef
- func GenReqDefForListInstances(request *model.ListInstancesRequest) *def.HttpRequestDef
- func GenReqDefForListOrgInstances(request *model.ListOrgInstancesRequest) *def.HttpRequestDef
- func GenReqDefForListProjectTemplates(request *model.ListProjectTemplatesRequest) *def.HttpRequestDef
- func GenReqDefForListStacksByTag(request *model.ListStacksByTagRequest) *def.HttpRequestDef
- func GenReqDefForShowInstance(request *model.ShowInstanceRequest) *def.HttpRequestDef
- func GenReqDefForShowPrice(request *model.ShowPriceRequest) *def.HttpRequestDef
- func GenReqDefForStartInstance(request *model.StartInstanceRequest) *def.HttpRequestDef
- func GenReqDefForStopInstance(request *model.StopInstanceRequest) *def.HttpRequestDef
- func GenReqDefForUpdateInstance(request *model.UpdateInstanceRequest) *def.HttpRequestDef
- func GenRespForCheckName() (*model.CheckNameResponse, *def.HttpResponseDef)
- func GenRespForCreateInstance() (*model.CreateInstanceResponse, *def.HttpResponseDef)
- func GenRespForCreateInstanceBy3rd() (*model.CreateInstanceBy3rdResponse, *def.HttpResponseDef)
- func GenRespForDeleteInstance() (*model.DeleteInstanceResponse, *def.HttpResponseDef)
- func GenRespForListInstances() (*model.ListInstancesResponse, *def.HttpResponseDef)
- func GenRespForListOrgInstances() (*model.ListOrgInstancesResponse, *def.HttpResponseDef)
- func GenRespForListProjectTemplates() (*model.ListProjectTemplatesResponse, *def.HttpResponseDef)
- func GenRespForListStacksByTag() (*model.ListStacksByTagResponse, *def.HttpResponseDef)
- func GenRespForShowInstance() (*model.ShowInstanceResponse, *def.HttpResponseDef)
- func GenRespForShowPrice() (*model.ShowPriceResponse, *def.HttpResponseDef)
- func GenRespForStartInstance() (*model.StartInstanceResponse, *def.HttpResponseDef)
- func GenRespForStopInstance() (*model.StopInstanceResponse, *def.HttpResponseDef)
- func GenRespForUpdateInstance() (*model.UpdateInstanceResponse, *def.HttpResponseDef)
- type CloudideClient
- func (c *CloudideClient) CheckName(request *model.CheckNameRequest) (*model.CheckNameResponse, error)
- func (c *CloudideClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
- func (c *CloudideClient) CreateInstanceBy3rd(request *model.CreateInstanceBy3rdRequest) (*model.CreateInstanceBy3rdResponse, error)
- func (c *CloudideClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
- func (c *CloudideClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *CloudideClient) ListOrgInstances(request *model.ListOrgInstancesRequest) (*model.ListOrgInstancesResponse, error)
- func (c *CloudideClient) ListProjectTemplates(request *model.ListProjectTemplatesRequest) (*model.ListProjectTemplatesResponse, error)
- func (c *CloudideClient) ListStacksByTag(request *model.ListStacksByTagRequest) (*model.ListStacksByTagResponse, error)
- func (c *CloudideClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)
- func (c *CloudideClient) ShowPrice(request *model.ShowPriceRequest) (*model.ShowPriceResponse, error)
- func (c *CloudideClient) StartInstance(request *model.StartInstanceRequest) (*model.StartInstanceResponse, error)
- func (c *CloudideClient) StopInstance(request *model.StopInstanceRequest) (*model.StopInstanceResponse, error)
- func (c *CloudideClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudideClientBuilder ¶
func CloudideClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCheckName ¶
func GenReqDefForCheckName(request *model.CheckNameRequest) *def.HttpRequestDef
func GenReqDefForCreateInstance ¶
func GenReqDefForCreateInstance(request *model.CreateInstanceRequest) *def.HttpRequestDef
func GenReqDefForCreateInstanceBy3rd ¶
func GenReqDefForCreateInstanceBy3rd(request *model.CreateInstanceBy3rdRequest) *def.HttpRequestDef
func GenReqDefForDeleteInstance ¶
func GenReqDefForDeleteInstance(request *model.DeleteInstanceRequest) *def.HttpRequestDef
func GenReqDefForListInstances ¶
func GenReqDefForListInstances(request *model.ListInstancesRequest) *def.HttpRequestDef
func GenReqDefForListOrgInstances ¶
func GenReqDefForListOrgInstances(request *model.ListOrgInstancesRequest) *def.HttpRequestDef
func GenReqDefForListProjectTemplates ¶
func GenReqDefForListProjectTemplates(request *model.ListProjectTemplatesRequest) *def.HttpRequestDef
func GenReqDefForListStacksByTag ¶
func GenReqDefForListStacksByTag(request *model.ListStacksByTagRequest) *def.HttpRequestDef
func GenReqDefForShowInstance ¶
func GenReqDefForShowInstance(request *model.ShowInstanceRequest) *def.HttpRequestDef
func GenReqDefForShowPrice ¶
func GenReqDefForShowPrice(request *model.ShowPriceRequest) *def.HttpRequestDef
func GenReqDefForStartInstance ¶
func GenReqDefForStartInstance(request *model.StartInstanceRequest) *def.HttpRequestDef
func GenReqDefForStopInstance ¶
func GenReqDefForStopInstance(request *model.StopInstanceRequest) *def.HttpRequestDef
func GenReqDefForUpdateInstance ¶
func GenReqDefForUpdateInstance(request *model.UpdateInstanceRequest) *def.HttpRequestDef
func GenRespForCheckName ¶
func GenRespForCheckName() (*model.CheckNameResponse, *def.HttpResponseDef)
func GenRespForCreateInstance ¶
func GenRespForCreateInstance() (*model.CreateInstanceResponse, *def.HttpResponseDef)
func GenRespForCreateInstanceBy3rd ¶
func GenRespForCreateInstanceBy3rd() (*model.CreateInstanceBy3rdResponse, *def.HttpResponseDef)
func GenRespForDeleteInstance ¶
func GenRespForDeleteInstance() (*model.DeleteInstanceResponse, *def.HttpResponseDef)
func GenRespForListInstances ¶
func GenRespForListInstances() (*model.ListInstancesResponse, *def.HttpResponseDef)
func GenRespForListOrgInstances ¶
func GenRespForListOrgInstances() (*model.ListOrgInstancesResponse, *def.HttpResponseDef)
func GenRespForListProjectTemplates ¶
func GenRespForListProjectTemplates() (*model.ListProjectTemplatesResponse, *def.HttpResponseDef)
func GenRespForListStacksByTag ¶
func GenRespForListStacksByTag() (*model.ListStacksByTagResponse, *def.HttpResponseDef)
func GenRespForShowInstance ¶
func GenRespForShowInstance() (*model.ShowInstanceResponse, *def.HttpResponseDef)
func GenRespForShowPrice ¶
func GenRespForShowPrice() (*model.ShowPriceResponse, *def.HttpResponseDef)
func GenRespForStartInstance ¶
func GenRespForStartInstance() (*model.StartInstanceResponse, *def.HttpResponseDef)
func GenRespForStopInstance ¶
func GenRespForStopInstance() (*model.StopInstanceResponse, *def.HttpResponseDef)
func GenRespForUpdateInstance ¶
func GenRespForUpdateInstance() (*model.UpdateInstanceResponse, *def.HttpResponseDef)
Types ¶
type CloudideClient ¶
type CloudideClient struct {
// contains filtered or unexported fields
}
func NewCloudideClient ¶
func NewCloudideClient(hcClient *http_client.HcHttpClient) *CloudideClient
func (*CloudideClient) CheckName ¶
func (c *CloudideClient) CheckName(request *model.CheckNameRequest) (*model.CheckNameResponse, error)
查询IDE实例名是否重复
func (*CloudideClient) CreateInstance ¶
func (c *CloudideClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
创建IDE实例
func (*CloudideClient) CreateInstanceBy3rd ¶
func (c *CloudideClient) CreateInstanceBy3rd(request *model.CreateInstanceBy3rdRequest) (*model.CreateInstanceBy3rdResponse, error)
创建IDE实例
func (*CloudideClient) DeleteInstance ¶
func (c *CloudideClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
删除IDE实例(同时删除磁盘数据)
func (*CloudideClient) ListInstances ¶
func (c *CloudideClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
查询IDE实例列表
func (*CloudideClient) ListOrgInstances ¶
func (c *CloudideClient) ListOrgInstances(request *model.ListOrgInstancesRequest) (*model.ListOrgInstancesResponse, error)
查询某个组织下的IDE实例列表
func (*CloudideClient) ListProjectTemplates ¶
func (c *CloudideClient) ListProjectTemplates(request *model.ListProjectTemplatesRequest) (*model.ListProjectTemplatesResponse, error)
查询技术栈模板工程
func (*CloudideClient) ListStacksByTag ¶
func (c *CloudideClient) ListStacksByTag(request *model.ListStacksByTagRequest) (*model.ListStacksByTagResponse, error)
获取标签所有技术栈
func (*CloudideClient) ShowInstance ¶
func (c *CloudideClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)
查询某个IDE实例
func (*CloudideClient) ShowPrice ¶
func (c *CloudideClient) ShowPrice(request *model.ShowPriceRequest) (*model.ShowPriceResponse, error)
获取技术栈计费信息
func (*CloudideClient) StartInstance ¶
func (c *CloudideClient) StartInstance(request *model.StartInstanceRequest) (*model.StartInstanceResponse, error)
启动IDE实例
func (*CloudideClient) StopInstance ¶
func (c *CloudideClient) StopInstance(request *model.StopInstanceRequest) (*model.StopInstanceResponse, error)
停止IDE实例(不删除磁盘数据)
func (*CloudideClient) UpdateInstance ¶
func (c *CloudideClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
修改IDE实例
Click to show internal directories.
Click to hide internal directories.