Documentation ¶
Index ¶
- func CloudIDEClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCheckName() *def.HttpRequestDef
- func GenReqDefForCreateInstance() *def.HttpRequestDef
- func GenReqDefForCreateInstanceBy3rd() *def.HttpRequestDef
- func GenReqDefForDeleteInstance() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForListOrgInstances() *def.HttpRequestDef
- func GenReqDefForListProjectTemplates() *def.HttpRequestDef
- func GenReqDefForListStacksByTag() *def.HttpRequestDef
- func GenReqDefForShowAccountStatus() *def.HttpRequestDef
- func GenReqDefForShowInstance() *def.HttpRequestDef
- func GenReqDefForShowPrice() *def.HttpRequestDef
- func GenReqDefForStartInstance() *def.HttpRequestDef
- func GenReqDefForStopInstance() *def.HttpRequestDef
- func GenReqDefForUpdateInstance() *def.HttpRequestDef
- 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) ShowAccountStatus(request *model.ShowAccountStatusRequest) (*model.ShowAccountStatusResponse, 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() *def.HttpRequestDef
func GenReqDefForCreateInstance ¶
func GenReqDefForCreateInstance() *def.HttpRequestDef
func GenReqDefForCreateInstanceBy3rd ¶
func GenReqDefForCreateInstanceBy3rd() *def.HttpRequestDef
func GenReqDefForDeleteInstance ¶
func GenReqDefForDeleteInstance() *def.HttpRequestDef
func GenReqDefForListInstances ¶
func GenReqDefForListInstances() *def.HttpRequestDef
func GenReqDefForListOrgInstances ¶
func GenReqDefForListOrgInstances() *def.HttpRequestDef
func GenReqDefForListProjectTemplates ¶
func GenReqDefForListProjectTemplates() *def.HttpRequestDef
func GenReqDefForListStacksByTag ¶
func GenReqDefForListStacksByTag() *def.HttpRequestDef
func GenReqDefForShowAccountStatus ¶
func GenReqDefForShowAccountStatus() *def.HttpRequestDef
func GenReqDefForShowInstance ¶
func GenReqDefForShowInstance() *def.HttpRequestDef
func GenReqDefForShowPrice ¶
func GenReqDefForShowPrice() *def.HttpRequestDef
func GenReqDefForStartInstance ¶
func GenReqDefForStartInstance() *def.HttpRequestDef
func GenReqDefForStopInstance ¶
func GenReqDefForStopInstance() *def.HttpRequestDef
func GenReqDefForUpdateInstance ¶
func GenReqDefForUpdateInstance() *def.HttpRequestDef
Types ¶
type CloudIDEClient ¶
type CloudIDEClient struct {
HcClient *http_client.HcHttpClient
}
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) ShowAccountStatus ¶
func (c *CloudIDEClient) ShowAccountStatus(request *model.ShowAccountStatusRequest) (*model.ShowAccountStatusResponse, 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.