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)
获取该用户创建的aksk列表
func (*ApmClient) ListBusiness ¶
func (c *ApmClient) ListBusiness(request *model.ListBusinessRequest) (*model.ListBusinessResponse, error)
该接口用于查询对应用户下的业务。
func (*ApmClient) ShowMasterAddress ¶ added in v0.0.71
func (c *ApmClient) ShowMasterAddress(request *model.ShowMasterAddressRequest) (*model.ShowMasterAddressResponse, error)
根据region名称获取该名称下的master服务podlb地址信息
Click to show internal directories.
Click to hide internal directories.