Documentation ¶
Index ¶
- func CloudPondClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForCreateEdgeSite() *def.HttpRequestDef
- func GenReqDefForDeleteEdgeSite() *def.HttpRequestDef
- func GenReqDefForListEdgeSiteMetrics() *def.HttpRequestDef
- func GenReqDefForListEdgeSites() *def.HttpRequestDef
- func GenReqDefForListQuotas() *def.HttpRequestDef
- func GenReqDefForListRacks() *def.HttpRequestDef
- func GenReqDefForListStoragePools() *def.HttpRequestDef
- func GenReqDefForListSupportedRegions() *def.HttpRequestDef
- func GenReqDefForListSupportedZones() *def.HttpRequestDef
- func GenReqDefForShowEdgeSite() *def.HttpRequestDef
- func GenReqDefForShowRack() *def.HttpRequestDef
- func GenReqDefForShowStoragePool() *def.HttpRequestDef
- func GenReqDefForUpdateEdgeSite() *def.HttpRequestDef
- type CloudPondClient
- func (c *CloudPondClient) CreateEdgeSite(request *model.CreateEdgeSiteRequest) (*model.CreateEdgeSiteResponse, error)
- func (c *CloudPondClient) CreateEdgeSiteInvoker(request *model.CreateEdgeSiteRequest) *CreateEdgeSiteInvoker
- func (c *CloudPondClient) DeleteEdgeSite(request *model.DeleteEdgeSiteRequest) (*model.DeleteEdgeSiteResponse, error)
- func (c *CloudPondClient) DeleteEdgeSiteInvoker(request *model.DeleteEdgeSiteRequest) *DeleteEdgeSiteInvoker
- func (c *CloudPondClient) ListEdgeSiteMetrics(request *model.ListEdgeSiteMetricsRequest) (*model.ListEdgeSiteMetricsResponse, error)
- func (c *CloudPondClient) ListEdgeSiteMetricsInvoker(request *model.ListEdgeSiteMetricsRequest) *ListEdgeSiteMetricsInvoker
- func (c *CloudPondClient) ListEdgeSites(request *model.ListEdgeSitesRequest) (*model.ListEdgeSitesResponse, error)
- func (c *CloudPondClient) ListEdgeSitesInvoker(request *model.ListEdgeSitesRequest) *ListEdgeSitesInvoker
- func (c *CloudPondClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
- func (c *CloudPondClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker
- func (c *CloudPondClient) ListRacks(request *model.ListRacksRequest) (*model.ListRacksResponse, error)
- func (c *CloudPondClient) ListRacksInvoker(request *model.ListRacksRequest) *ListRacksInvoker
- func (c *CloudPondClient) ListStoragePools(request *model.ListStoragePoolsRequest) (*model.ListStoragePoolsResponse, error)
- func (c *CloudPondClient) ListStoragePoolsInvoker(request *model.ListStoragePoolsRequest) *ListStoragePoolsInvoker
- func (c *CloudPondClient) ListSupportedRegions(request *model.ListSupportedRegionsRequest) (*model.ListSupportedRegionsResponse, error)
- func (c *CloudPondClient) ListSupportedRegionsInvoker(request *model.ListSupportedRegionsRequest) *ListSupportedRegionsInvoker
- func (c *CloudPondClient) ListSupportedZones(request *model.ListSupportedZonesRequest) (*model.ListSupportedZonesResponse, error)
- func (c *CloudPondClient) ListSupportedZonesInvoker(request *model.ListSupportedZonesRequest) *ListSupportedZonesInvoker
- func (c *CloudPondClient) ShowEdgeSite(request *model.ShowEdgeSiteRequest) (*model.ShowEdgeSiteResponse, error)
- func (c *CloudPondClient) ShowEdgeSiteInvoker(request *model.ShowEdgeSiteRequest) *ShowEdgeSiteInvoker
- func (c *CloudPondClient) ShowRack(request *model.ShowRackRequest) (*model.ShowRackResponse, error)
- func (c *CloudPondClient) ShowRackInvoker(request *model.ShowRackRequest) *ShowRackInvoker
- func (c *CloudPondClient) ShowStoragePool(request *model.ShowStoragePoolRequest) (*model.ShowStoragePoolResponse, error)
- func (c *CloudPondClient) ShowStoragePoolInvoker(request *model.ShowStoragePoolRequest) *ShowStoragePoolInvoker
- func (c *CloudPondClient) UpdateEdgeSite(request *model.UpdateEdgeSiteRequest) (*model.UpdateEdgeSiteResponse, error)
- func (c *CloudPondClient) UpdateEdgeSiteInvoker(request *model.UpdateEdgeSiteRequest) *UpdateEdgeSiteInvoker
- type CreateEdgeSiteInvoker
- type DeleteEdgeSiteInvoker
- type ListEdgeSiteMetricsInvoker
- type ListEdgeSitesInvoker
- type ListQuotasInvoker
- type ListRacksInvoker
- type ListStoragePoolsInvoker
- type ListSupportedRegionsInvoker
- type ListSupportedZonesInvoker
- type ShowEdgeSiteInvoker
- type ShowRackInvoker
- type ShowStoragePoolInvoker
- type UpdateEdgeSiteInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudPondClientBuilder ¶
func CloudPondClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForCreateEdgeSite ¶
func GenReqDefForCreateEdgeSite() *def.HttpRequestDef
func GenReqDefForDeleteEdgeSite ¶
func GenReqDefForDeleteEdgeSite() *def.HttpRequestDef
func GenReqDefForListEdgeSiteMetrics ¶
func GenReqDefForListEdgeSiteMetrics() *def.HttpRequestDef
func GenReqDefForListEdgeSites ¶
func GenReqDefForListEdgeSites() *def.HttpRequestDef
func GenReqDefForListQuotas ¶
func GenReqDefForListQuotas() *def.HttpRequestDef
func GenReqDefForListRacks ¶
func GenReqDefForListRacks() *def.HttpRequestDef
func GenReqDefForListStoragePools ¶
func GenReqDefForListStoragePools() *def.HttpRequestDef
func GenReqDefForListSupportedRegions ¶
func GenReqDefForListSupportedRegions() *def.HttpRequestDef
func GenReqDefForListSupportedZones ¶ added in v0.1.95
func GenReqDefForListSupportedZones() *def.HttpRequestDef
func GenReqDefForShowEdgeSite ¶
func GenReqDefForShowEdgeSite() *def.HttpRequestDef
func GenReqDefForShowRack ¶
func GenReqDefForShowRack() *def.HttpRequestDef
func GenReqDefForShowStoragePool ¶
func GenReqDefForShowStoragePool() *def.HttpRequestDef
func GenReqDefForUpdateEdgeSite ¶
func GenReqDefForUpdateEdgeSite() *def.HttpRequestDef
Types ¶
type CloudPondClient ¶
type CloudPondClient struct {
HcClient *httpclient.HcHttpClient
}
func NewCloudPondClient ¶
func NewCloudPondClient(hcClient *httpclient.HcHttpClient) *CloudPondClient
func (*CloudPondClient) CreateEdgeSite ¶
func (c *CloudPondClient) CreateEdgeSite(request *model.CreateEdgeSiteRequest) (*model.CreateEdgeSiteResponse, error)
CreateEdgeSite 创建边缘小站
创建边缘小站。 - 一个边缘小站关联一个华为云指定的区域。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) CreateEdgeSiteInvoker ¶
func (c *CloudPondClient) CreateEdgeSiteInvoker(request *model.CreateEdgeSiteRequest) *CreateEdgeSiteInvoker
CreateEdgeSiteInvoker 创建边缘小站
func (*CloudPondClient) DeleteEdgeSite ¶
func (c *CloudPondClient) DeleteEdgeSite(request *model.DeleteEdgeSiteRequest) (*model.DeleteEdgeSiteResponse, error)
DeleteEdgeSite 删除边缘小站
删除指定的边缘小站。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) DeleteEdgeSiteInvoker ¶
func (c *CloudPondClient) DeleteEdgeSiteInvoker(request *model.DeleteEdgeSiteRequest) *DeleteEdgeSiteInvoker
DeleteEdgeSiteInvoker 删除边缘小站
func (*CloudPondClient) ListEdgeSiteMetrics ¶
func (c *CloudPondClient) ListEdgeSiteMetrics(request *model.ListEdgeSiteMetricsRequest) (*model.ListEdgeSiteMetricsResponse, error)
ListEdgeSiteMetrics 查看站点容量信息
查看站点容量信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ListEdgeSiteMetricsInvoker ¶
func (c *CloudPondClient) ListEdgeSiteMetricsInvoker(request *model.ListEdgeSiteMetricsRequest) *ListEdgeSiteMetricsInvoker
ListEdgeSiteMetricsInvoker 查看站点容量信息
func (*CloudPondClient) ListEdgeSites ¶
func (c *CloudPondClient) ListEdgeSites(request *model.ListEdgeSitesRequest) (*model.ListEdgeSitesResponse, error)
ListEdgeSites 查询边缘小站列表
查询边缘小站列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ListEdgeSitesInvoker ¶
func (c *CloudPondClient) ListEdgeSitesInvoker(request *model.ListEdgeSitesRequest) *ListEdgeSitesInvoker
ListEdgeSitesInvoker 查询边缘小站列表
func (*CloudPondClient) ListQuotas ¶
func (c *CloudPondClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
ListQuotas 查询配额
查询租户资源配额。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ListQuotasInvoker ¶
func (c *CloudPondClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker
ListQuotasInvoker 查询配额
func (*CloudPondClient) ListRacks ¶
func (c *CloudPondClient) ListRacks(request *model.ListRacksRequest) (*model.ListRacksResponse, error)
ListRacks 查询机柜列表
查询机柜列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ListRacksInvoker ¶
func (c *CloudPondClient) ListRacksInvoker(request *model.ListRacksRequest) *ListRacksInvoker
ListRacksInvoker 查询机柜列表
func (*CloudPondClient) ListStoragePools ¶
func (c *CloudPondClient) ListStoragePools(request *model.ListStoragePoolsRequest) (*model.ListStoragePoolsResponse, error)
ListStoragePools 查询存储池列表
查询存储池列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ListStoragePoolsInvoker ¶
func (c *CloudPondClient) ListStoragePoolsInvoker(request *model.ListStoragePoolsRequest) *ListStoragePoolsInvoker
ListStoragePoolsInvoker 查询存储池列表
func (*CloudPondClient) ListSupportedRegions ¶
func (c *CloudPondClient) ListSupportedRegions(request *model.ListSupportedRegionsRequest) (*model.ListSupportedRegionsResponse, error)
ListSupportedRegions 查询支持的区域列表
查询支持CloudPond接入的华为云区域(region)列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ListSupportedRegionsInvoker ¶
func (c *CloudPondClient) ListSupportedRegionsInvoker(request *model.ListSupportedRegionsRequest) *ListSupportedRegionsInvoker
ListSupportedRegionsInvoker 查询支持的区域列表
func (*CloudPondClient) ListSupportedZones ¶ added in v0.1.95
func (c *CloudPondClient) ListSupportedZones(request *model.ListSupportedZonesRequest) (*model.ListSupportedZonesResponse, error)
ListSupportedZones 查询支持的地区列表
查询支持CloudPond接入的华为云地区列表。 - 该接口支持企业项目细粒度权限的校验,具体细粒度请参见 ies:zone:list
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ListSupportedZonesInvoker ¶ added in v0.1.95
func (c *CloudPondClient) ListSupportedZonesInvoker(request *model.ListSupportedZonesRequest) *ListSupportedZonesInvoker
ListSupportedZonesInvoker 查询支持的地区列表
func (*CloudPondClient) ShowEdgeSite ¶
func (c *CloudPondClient) ShowEdgeSite(request *model.ShowEdgeSiteRequest) (*model.ShowEdgeSiteResponse, error)
ShowEdgeSite 查询边缘小站详情
查询边缘小站详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ShowEdgeSiteInvoker ¶
func (c *CloudPondClient) ShowEdgeSiteInvoker(request *model.ShowEdgeSiteRequest) *ShowEdgeSiteInvoker
ShowEdgeSiteInvoker 查询边缘小站详情
func (*CloudPondClient) ShowRack ¶
func (c *CloudPondClient) ShowRack(request *model.ShowRackRequest) (*model.ShowRackResponse, error)
ShowRack 查询机柜详情
查询机柜详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ShowRackInvoker ¶
func (c *CloudPondClient) ShowRackInvoker(request *model.ShowRackRequest) *ShowRackInvoker
ShowRackInvoker 查询机柜详情
func (*CloudPondClient) ShowStoragePool ¶
func (c *CloudPondClient) ShowStoragePool(request *model.ShowStoragePoolRequest) (*model.ShowStoragePoolResponse, error)
ShowStoragePool 查询存储池详情
查询存储池详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) ShowStoragePoolInvoker ¶
func (c *CloudPondClient) ShowStoragePoolInvoker(request *model.ShowStoragePoolRequest) *ShowStoragePoolInvoker
ShowStoragePoolInvoker 查询存储池详情
func (*CloudPondClient) UpdateEdgeSite ¶
func (c *CloudPondClient) UpdateEdgeSite(request *model.UpdateEdgeSiteRequest) (*model.UpdateEdgeSiteResponse, error)
UpdateEdgeSite 更新边缘小站
更新边缘小站。 - 允许更新边缘小站描述或场地信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CloudPondClient) UpdateEdgeSiteInvoker ¶
func (c *CloudPondClient) UpdateEdgeSiteInvoker(request *model.UpdateEdgeSiteRequest) *UpdateEdgeSiteInvoker
UpdateEdgeSiteInvoker 更新边缘小站
type CreateEdgeSiteInvoker ¶
type CreateEdgeSiteInvoker struct {
*invoker.BaseInvoker
}
func (*CreateEdgeSiteInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CreateEdgeSiteInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CreateEdgeSiteInvoker) Invoke ¶
func (i *CreateEdgeSiteInvoker) Invoke() (*model.CreateEdgeSiteResponse, error)
type DeleteEdgeSiteInvoker ¶
type DeleteEdgeSiteInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteEdgeSiteInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DeleteEdgeSiteInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DeleteEdgeSiteInvoker) Invoke ¶
func (i *DeleteEdgeSiteInvoker) Invoke() (*model.DeleteEdgeSiteResponse, error)
type ListEdgeSiteMetricsInvoker ¶
type ListEdgeSiteMetricsInvoker struct {
*invoker.BaseInvoker
}
func (*ListEdgeSiteMetricsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListEdgeSiteMetricsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListEdgeSiteMetricsInvoker) Invoke ¶
func (i *ListEdgeSiteMetricsInvoker) Invoke() (*model.ListEdgeSiteMetricsResponse, error)
type ListEdgeSitesInvoker ¶
type ListEdgeSitesInvoker struct {
*invoker.BaseInvoker
}
func (*ListEdgeSitesInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListEdgeSitesInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListEdgeSitesInvoker) Invoke ¶
func (i *ListEdgeSitesInvoker) Invoke() (*model.ListEdgeSitesResponse, error)
type ListQuotasInvoker ¶
type ListQuotasInvoker struct {
*invoker.BaseInvoker
}
func (*ListQuotasInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListQuotasInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListQuotasInvoker) Invoke ¶
func (i *ListQuotasInvoker) Invoke() (*model.ListQuotasResponse, error)
type ListRacksInvoker ¶
type ListRacksInvoker struct {
*invoker.BaseInvoker
}
func (*ListRacksInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListRacksInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListRacksInvoker) Invoke ¶
func (i *ListRacksInvoker) Invoke() (*model.ListRacksResponse, error)
type ListStoragePoolsInvoker ¶
type ListStoragePoolsInvoker struct {
*invoker.BaseInvoker
}
func (*ListStoragePoolsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListStoragePoolsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListStoragePoolsInvoker) Invoke ¶
func (i *ListStoragePoolsInvoker) Invoke() (*model.ListStoragePoolsResponse, error)
type ListSupportedRegionsInvoker ¶
type ListSupportedRegionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListSupportedRegionsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListSupportedRegionsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListSupportedRegionsInvoker) Invoke ¶
func (i *ListSupportedRegionsInvoker) Invoke() (*model.ListSupportedRegionsResponse, error)
type ListSupportedZonesInvoker ¶ added in v0.1.95
type ListSupportedZonesInvoker struct {
*invoker.BaseInvoker
}
func (*ListSupportedZonesInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListSupportedZonesInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListSupportedZonesInvoker) Invoke ¶ added in v0.1.95
func (i *ListSupportedZonesInvoker) Invoke() (*model.ListSupportedZonesResponse, error)
type ShowEdgeSiteInvoker ¶
type ShowEdgeSiteInvoker struct {
*invoker.BaseInvoker
}
func (*ShowEdgeSiteInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowEdgeSiteInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowEdgeSiteInvoker) Invoke ¶
func (i *ShowEdgeSiteInvoker) Invoke() (*model.ShowEdgeSiteResponse, error)
type ShowRackInvoker ¶
type ShowRackInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRackInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowRackInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowRackInvoker) Invoke ¶
func (i *ShowRackInvoker) Invoke() (*model.ShowRackResponse, error)
type ShowStoragePoolInvoker ¶
type ShowStoragePoolInvoker struct {
*invoker.BaseInvoker
}
func (*ShowStoragePoolInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowStoragePoolInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowStoragePoolInvoker) Invoke ¶
func (i *ShowStoragePoolInvoker) Invoke() (*model.ShowStoragePoolResponse, error)
type UpdateEdgeSiteInvoker ¶
type UpdateEdgeSiteInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateEdgeSiteInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *UpdateEdgeSiteInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*UpdateEdgeSiteInvoker) Invoke ¶
func (i *UpdateEdgeSiteInvoker) Invoke() (*model.UpdateEdgeSiteResponse, error)