Documentation ¶
Index ¶
- func EpsClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateEP(request *model.CreateEPRequest) *def.HttpRequestDef
- func GenReqDefForDisableEP(request *model.DisableEPRequest) *def.HttpRequestDef
- func GenReqDefForEnableEP(request *model.EnableEPRequest) *def.HttpRequestDef
- func GenReqDefForListApiVersions(request *model.ListApiVersionsRequest) *def.HttpRequestDef
- func GenReqDefForListEP(request *model.ListEPRequest) *def.HttpRequestDef
- func GenReqDefForMigrateResource(request *model.MigrateResourceRequest) *def.HttpRequestDef
- func GenReqDefForModifyEP(request *model.ModifyEPRequest) *def.HttpRequestDef
- func GenReqDefForShowApiVersion(request *model.ShowApiVersionRequest) *def.HttpRequestDef
- func GenReqDefForShowEP(request *model.ShowEPRequest) *def.HttpRequestDef
- func GenReqDefForShowEPQuota(request *model.ShowEPQuotaRequest) *def.HttpRequestDef
- func GenReqDefForShowResourceBindEP(request *model.ShowResourceBindEPRequest) *def.HttpRequestDef
- func GenRespForCreateEP() (*model.CreateEPResponse, *def.HttpResponseDef)
- func GenRespForDisableEP() (*model.DisableEPResponse, *def.HttpResponseDef)
- func GenRespForEnableEP() (*model.EnableEPResponse, *def.HttpResponseDef)
- func GenRespForListApiVersions() (*model.ListApiVersionsResponse, *def.HttpResponseDef)
- func GenRespForListEP() (*model.ListEPResponse, *def.HttpResponseDef)
- func GenRespForMigrateResource() (*model.MigrateResourceResponse, *def.HttpResponseDef)
- func GenRespForModifyEP() (*model.ModifyEPResponse, *def.HttpResponseDef)
- func GenRespForShowApiVersion() (*model.ShowApiVersionResponse, *def.HttpResponseDef)
- func GenRespForShowEP() (*model.ShowEPResponse, *def.HttpResponseDef)
- func GenRespForShowEPQuota() (*model.ShowEPQuotaResponse, *def.HttpResponseDef)
- func GenRespForShowResourceBindEP() (*model.ShowResourceBindEPResponse, *def.HttpResponseDef)
- type EpsClient
- func (c *EpsClient) CreateEP(request *model.CreateEPRequest) (*model.CreateEPResponse, error)
- func (c *EpsClient) DisableEP(request *model.DisableEPRequest) (*model.DisableEPResponse, error)
- func (c *EpsClient) EnableEP(request *model.EnableEPRequest) (*model.EnableEPResponse, error)
- func (c *EpsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
- func (c *EpsClient) ListEP(request *model.ListEPRequest) (*model.ListEPResponse, error)
- func (c *EpsClient) MigrateResource(request *model.MigrateResourceRequest) (*model.MigrateResourceResponse, error)
- func (c *EpsClient) ModifyEP(request *model.ModifyEPRequest) (*model.ModifyEPResponse, error)
- func (c *EpsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
- func (c *EpsClient) ShowEP(request *model.ShowEPRequest) (*model.ShowEPResponse, error)
- func (c *EpsClient) ShowEPQuota(request *model.ShowEPQuotaRequest) (*model.ShowEPQuotaResponse, error)
- func (c *EpsClient) ShowResourceBindEP(request *model.ShowResourceBindEPRequest) (*model.ShowResourceBindEPResponse, error)
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)
查询企业项目下绑定的资源详情。
Click to show internal directories.
Click to hide internal directories.