Documentation ¶
Index ¶
- func GenReqDefForCheckProductHealthy() *def.HttpRequestDef
- func GenReqDefForImportEvents() *def.HttpRequestDef
- func SaClientBuilder() *http_client.HcHttpClientBuilder
- type CheckProductHealthyInvoker
- type ImportEventsInvoker
- type SaClient
- func (c *SaClient) CheckProductHealthy(request *model.CheckProductHealthyRequest) (*model.CheckProductHealthyResponse, error)
- func (c *SaClient) CheckProductHealthyInvoker(request *model.CheckProductHealthyRequest) *CheckProductHealthyInvoker
- func (c *SaClient) ImportEvents(request *model.ImportEventsRequest) (*model.ImportEventsResponse, error)
- func (c *SaClient) ImportEventsInvoker(request *model.ImportEventsRequest) *ImportEventsInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCheckProductHealthy ¶
func GenReqDefForCheckProductHealthy() *def.HttpRequestDef
func GenReqDefForImportEvents ¶
func GenReqDefForImportEvents() *def.HttpRequestDef
func SaClientBuilder ¶
func SaClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type CheckProductHealthyInvoker ¶ added in v0.0.90
type CheckProductHealthyInvoker struct {
*invoker.BaseInvoker
}
func (*CheckProductHealthyInvoker) Invoke ¶ added in v0.0.90
func (i *CheckProductHealthyInvoker) Invoke() (*model.CheckProductHealthyResponse, error)
type ImportEventsInvoker ¶ added in v0.0.90
type ImportEventsInvoker struct {
*invoker.BaseInvoker
}
func (*ImportEventsInvoker) Invoke ¶ added in v0.0.90
func (i *ImportEventsInvoker) Invoke() (*model.ImportEventsResponse, error)
type SaClient ¶
type SaClient struct {
HcClient *http_client.HcHttpClient
}
func NewSaClient ¶
func NewSaClient(hcClient *http_client.HcHttpClient) *SaClient
func (*SaClient) CheckProductHealthy ¶
func (c *SaClient) CheckProductHealthy(request *model.CheckProductHealthyRequest) (*model.CheckProductHealthyResponse, error)
CheckProductHealthy 检查心跳健康
SA提供心跳接口,集成产品定时(例如:每五分钟)发送心跳报文到SA,用来确认集成产品与SA之间的通路是否健康。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SaClient) CheckProductHealthyInvoker ¶ added in v0.0.90
func (c *SaClient) CheckProductHealthyInvoker(request *model.CheckProductHealthyRequest) *CheckProductHealthyInvoker
CheckProductHealthyInvoker 检查心跳健康
func (*SaClient) ImportEvents ¶
func (c *SaClient) ImportEvents(request *model.ImportEventsRequest) (*model.ImportEventsResponse, error)
ImportEvents 上报安全产品数据(V2)
批量数据上报,每批次最多不超过50条。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SaClient) ImportEventsInvoker ¶ added in v0.0.90
func (c *SaClient) ImportEventsInvoker(request *model.ImportEventsRequest) *ImportEventsInvoker
ImportEventsInvoker 上报安全产品数据(V2)
Click to show internal directories.
Click to hide internal directories.