v1

package
v0.0.5-beta Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 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 EpsClientBuilder

func EpsClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForCreateEP

func GenReqDefForCreateEP(request *model.CreateEPRequest) *def.HttpRequestDef

func GenReqDefForDisableEP

func GenReqDefForDisableEP(request *model.DisableEPRequest) *def.HttpRequestDef

func GenReqDefForEnableEP

func GenReqDefForEnableEP(request *model.EnableEPRequest) *def.HttpRequestDef

func GenReqDefForListApiVersions

func GenReqDefForListApiVersions(request *model.ListApiVersionsRequest) *def.HttpRequestDef

func GenReqDefForListEP

func GenReqDefForListEP(request *model.ListEPRequest) *def.HttpRequestDef

func GenReqDefForMigrateResource

func GenReqDefForMigrateResource(request *model.MigrateResourceRequest) *def.HttpRequestDef

func GenReqDefForModifyEP

func GenReqDefForModifyEP(request *model.ModifyEPRequest) *def.HttpRequestDef

func GenReqDefForShowApiVersion

func GenReqDefForShowApiVersion(request *model.ShowApiVersionRequest) *def.HttpRequestDef

func GenReqDefForShowEP

func GenReqDefForShowEP(request *model.ShowEPRequest) *def.HttpRequestDef

func GenReqDefForShowEPQuota

func GenReqDefForShowEPQuota(request *model.ShowEPQuotaRequest) *def.HttpRequestDef

func GenReqDefForShowResourceBindEP

func GenReqDefForShowResourceBindEP(request *model.ShowResourceBindEPRequest) *def.HttpRequestDef

func GenRespForCreateEP

func GenRespForCreateEP() (*model.CreateEPResponse, *def.HttpResponseDef)

func GenRespForDisableEP

func GenRespForDisableEP() (*model.DisableEPResponse, *def.HttpResponseDef)

func GenRespForEnableEP

func GenRespForEnableEP() (*model.EnableEPResponse, *def.HttpResponseDef)

func GenRespForListApiVersions

func GenRespForListApiVersions() (*model.ListApiVersionsResponse, *def.HttpResponseDef)

func GenRespForListEP

func GenRespForListEP() (*model.ListEPResponse, *def.HttpResponseDef)

func GenRespForMigrateResource

func GenRespForMigrateResource() (*model.MigrateResourceResponse, *def.HttpResponseDef)

func GenRespForModifyEP

func GenRespForModifyEP() (*model.ModifyEPResponse, *def.HttpResponseDef)

func GenRespForShowApiVersion

func GenRespForShowApiVersion() (*model.ShowApiVersionResponse, *def.HttpResponseDef)

func GenRespForShowEP

func GenRespForShowEP() (*model.ShowEPResponse, *def.HttpResponseDef)

func GenRespForShowEPQuota

func GenRespForShowEPQuota() (*model.ShowEPQuotaResponse, *def.HttpResponseDef)

func GenRespForShowResourceBindEP

func GenRespForShowResourceBindEP() (*model.ShowResourceBindEPResponse, *def.HttpResponseDef)

Types

type EpsClient

type EpsClient struct {
	// contains filtered or unexported fields
}

func NewEpsClient

func NewEpsClient(hcClient *http_client.HcHttpClient) *EpsClient

func (*EpsClient) CreateEP

func (c *EpsClient) CreateEP(request *model.CreateEPRequest) (*model.CreateEPResponse, error)

创建企业项目。

func (*EpsClient) DisableEP

func (c *EpsClient) DisableEP(request *model.DisableEPRequest) (*model.DisableEPResponse, error)

停用企业项目。

func (*EpsClient) EnableEP

func (c *EpsClient) EnableEP(request *model.EnableEPRequest) (*model.EnableEPResponse, error)

启用企业项目。

func (*EpsClient) ListApiVersions

func (c *EpsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)

查询企业项目的API版本列表。

func (*EpsClient) ListEP

func (c *EpsClient) ListEP(request *model.ListEPRequest) (*model.ListEPResponse, error)

查询当前用户已授权的企业项目列表,用户可以使用企业项目绑定资源。

func (*EpsClient) MigrateResource

func (c *EpsClient) MigrateResource(request *model.MigrateResourceRequest) (*model.MigrateResourceResponse, error)

迁移资源到目标企业项目。

func (*EpsClient) ModifyEP

func (c *EpsClient) ModifyEP(request *model.ModifyEPRequest) (*model.ModifyEPResponse, error)

修改企业项目。当前仅支持修改名称和描述。

func (*EpsClient) ShowApiVersion

func (c *EpsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)

查询指定的企业项目API版本号详情

func (*EpsClient) ShowEP

func (c *EpsClient) ShowEP(request *model.ShowEPRequest) (*model.ShowEPResponse, error)

查询企业项目详情。

func (*EpsClient) ShowEPQuota

func (c *EpsClient) ShowEPQuota(request *model.ShowEPQuotaRequest) (*model.ShowEPQuotaResponse, error)

查询企业项目的配额信息。

func (*EpsClient) ShowResourceBindEP

func (c *EpsClient) ShowResourceBindEP(request *model.ShowResourceBindEPRequest) (*model.ShowResourceBindEPResponse, error)

查询企业项目下绑定的资源详情。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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