Documentation ¶
Index ¶
- func ApmClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForListAkSk() *def.HttpRequestDef
- func GenReqDefForListBusiness() *def.HttpRequestDef
- func GenReqDefForShowMasterAddress() *def.HttpRequestDef
- type ApmClient
- func (c *ApmClient) ListAkSk(request *model.ListAkSkRequest) (*model.ListAkSkResponse, error)
- func (c *ApmClient) ListBusiness(request *model.ListBusinessRequest) (*model.ListBusinessResponse, error)
- func (c *ApmClient) ShowMasterAddress(request *model.ShowMasterAddressRequest) (*model.ShowMasterAddressResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApmClientBuilder ¶
func ApmClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForListAkSk ¶ added in v0.0.71
func GenReqDefForListAkSk() *def.HttpRequestDef
func GenReqDefForListBusiness ¶
func GenReqDefForListBusiness() *def.HttpRequestDef
func GenReqDefForShowMasterAddress ¶ added in v0.0.71
func GenReqDefForShowMasterAddress() *def.HttpRequestDef
Types ¶
type ApmClient ¶
type ApmClient struct {
HcClient *http_client.HcHttpClient
}
func NewApmClient ¶
func NewApmClient(hcClient *http_client.HcHttpClient) *ApmClient
func (*ApmClient) ListAkSk ¶ added in v0.0.71
func (c *ApmClient) ListAkSk(request *model.ListAkSkRequest) (*model.ListAkSkResponse, error)
获取ak-sk
获取该用户创建的aksk列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ApmClient) ListBusiness ¶
func (c *ApmClient) ListBusiness(request *model.ListBusinessRequest) (*model.ListBusinessResponse, error)
查询业务列表
该接口用于查询对应用户下的业务。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ApmClient) ShowMasterAddress ¶ added in v0.0.71
func (c *ApmClient) ShowMasterAddress(request *model.ShowMasterAddressRequest) (*model.ShowMasterAddressResponse, error)
查询master地址
根据region名称获取该名称下的master服务podlb地址信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
Click to show internal directories.
Click to hide internal directories.