v2

package
v0.0.84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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

查询用户是否有权限访问某个IDE实例

func (*CloudIDEClient) CheckName

查询IDE实例名是否重复

func (*CloudIDEClient) CreateExtensionAuthorization added in v0.0.71

设置ide实例对插件的授权。同意、不同意、未知(下次重新询问)

func (*CloudIDEClient) CreateInstance

创建IDE实例

func (*CloudIDEClient) CreateInstanceBy3rd

创建IDE实例

func (*CloudIDEClient) DeleteInstance

删除IDE实例(同时删除磁盘数据)

func (*CloudIDEClient) ListInstances

查询IDE实例列表

func (*CloudIDEClient) ListOrgInstances

查询某个租户下的IDE实例列表

func (*CloudIDEClient) ListProjectTemplates

查询技术栈模板工程

func (*CloudIDEClient) ListStacks added in v0.0.74

按region获取标签所有技术栈

func (*CloudIDEClient) ShowAccountStatus

查询当前帐号访问权限

func (*CloudIDEClient) ShowExtensionAuthorization added in v0.0.71

查询ide实例对插件的授权情况,同意授权的插件能在ide实例内携带登陆用户的token调用第三方服务

func (*CloudIDEClient) ShowInstance

查询某个IDE实例

func (*CloudIDEClient) ShowPrice

获取技术栈计费信息

func (*CloudIDEClient) StartInstance

启动IDE实例

func (*CloudIDEClient) StopInstance

停止IDE实例(不删除磁盘数据)

func (*CloudIDEClient) UpdateInstance

修改IDE实例

func (*CloudIDEClient) UpdateInstanceActivity added in v0.0.71

刷新IDE实例活跃状态,超过该实例设置的过期时间后实例自动关闭。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL