Documentation ¶
Index ¶
- func CloudIDEClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCheckInstanceAccess() *def.HttpRequestDef
- func GenReqDefForCheckName() *def.HttpRequestDef
- func GenReqDefForCreateExtensionAuthorization() *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 GenReqDefForListStacks() *def.HttpRequestDef
- func GenReqDefForShowAccountStatus() *def.HttpRequestDef
- func GenReqDefForShowExtensionAuthorization() *def.HttpRequestDef
- func GenReqDefForShowInstance() *def.HttpRequestDef
- func GenReqDefForShowPrice() *def.HttpRequestDef
- func GenReqDefForStartInstance() *def.HttpRequestDef
- func GenReqDefForStopInstance() *def.HttpRequestDef
- func GenReqDefForUpdateInstance() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceActivity() *def.HttpRequestDef
- type CloudIDEClient
- func (c *CloudIDEClient) CheckInstanceAccess(request *model.CheckInstanceAccessRequest) (*model.CheckInstanceAccessResponse, error)
- func (c *CloudIDEClient) CheckName(request *model.CheckNameRequest) (*model.CheckNameResponse, error)
- func (c *CloudIDEClient) CreateExtensionAuthorization(request *model.CreateExtensionAuthorizationRequest) (*model.CreateExtensionAuthorizationResponse, 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) ListStacks(request *model.ListStacksRequest) (*model.ListStacksResponse, error)
- func (c *CloudIDEClient) ShowAccountStatus(request *model.ShowAccountStatusRequest) (*model.ShowAccountStatusResponse, error)
- func (c *CloudIDEClient) ShowExtensionAuthorization(request *model.ShowExtensionAuthorizationRequest) (*model.ShowExtensionAuthorizationResponse, 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)
- func (c *CloudIDEClient) UpdateInstanceActivity(request *model.UpdateInstanceActivityRequest) (*model.UpdateInstanceActivityResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudIDEClientBuilder ¶
func CloudIDEClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCheckInstanceAccess ¶ added in v0.0.71
func GenReqDefForCheckInstanceAccess() *def.HttpRequestDef
func GenReqDefForCheckName ¶
func GenReqDefForCheckName() *def.HttpRequestDef
func GenReqDefForCreateExtensionAuthorization ¶ added in v0.0.71
func GenReqDefForCreateExtensionAuthorization() *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 GenReqDefForListStacks ¶ added in v0.0.74
func GenReqDefForListStacks() *def.HttpRequestDef
func GenReqDefForShowAccountStatus ¶
func GenReqDefForShowAccountStatus() *def.HttpRequestDef
func GenReqDefForShowExtensionAuthorization ¶ added in v0.0.71
func GenReqDefForShowExtensionAuthorization() *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
func GenReqDefForUpdateInstanceActivity ¶ added in v0.0.71
func GenReqDefForUpdateInstanceActivity() *def.HttpRequestDef
Types ¶
type CloudIDEClient ¶
type CloudIDEClient struct {
HcClient *http_client.HcHttpClient
}
func NewCloudIDEClient ¶
func NewCloudIDEClient(hcClient *http_client.HcHttpClient) *CloudIDEClient
func (*CloudIDEClient) CheckInstanceAccess ¶ added in v0.0.71
func (c *CloudIDEClient) CheckInstanceAccess(request *model.CheckInstanceAccessRequest) (*model.CheckInstanceAccessResponse, error)
查询用户是否有权限访问某个IDE实例
func (*CloudIDEClient) CheckName ¶
func (c *CloudIDEClient) CheckName(request *model.CheckNameRequest) (*model.CheckNameResponse, error)
查询IDE实例名是否重复
func (*CloudIDEClient) CreateExtensionAuthorization ¶ added in v0.0.71
func (c *CloudIDEClient) CreateExtensionAuthorization(request *model.CreateExtensionAuthorizationRequest) (*model.CreateExtensionAuthorizationResponse, 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) ListStacks ¶ added in v0.0.74
func (c *CloudIDEClient) ListStacks(request *model.ListStacksRequest) (*model.ListStacksResponse, error)
按region获取标签所有技术栈
func (*CloudIDEClient) ShowAccountStatus ¶
func (c *CloudIDEClient) ShowAccountStatus(request *model.ShowAccountStatusRequest) (*model.ShowAccountStatusResponse, error)
查询当前帐号访问权限
func (*CloudIDEClient) ShowExtensionAuthorization ¶ added in v0.0.71
func (c *CloudIDEClient) ShowExtensionAuthorization(request *model.ShowExtensionAuthorizationRequest) (*model.ShowExtensionAuthorizationResponse, error)
查询ide实例对插件的授权情况,同意授权的插件能在ide实例内携带登陆用户的token调用第三方服务
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实例
func (*CloudIDEClient) UpdateInstanceActivity ¶ added in v0.0.71
func (c *CloudIDEClient) UpdateInstanceActivity(request *model.UpdateInstanceActivityRequest) (*model.UpdateInstanceActivityResponse, error)
刷新IDE实例活跃状态,超过该实例设置的过期时间后实例自动关闭。
Click to show internal directories.
Click to hide internal directories.