Documentation ¶
Index ¶
- func GenReqDefForCheckProductHealthy() *def.HttpRequestDef
- func GenReqDefForImportEvents() *def.HttpRequestDef
- func SecMasterClientBuilder() *httpclient.HcHttpClientBuilder
- type CheckProductHealthyInvoker
- type ImportEventsInvoker
- type SecMasterClient
- func (c *SecMasterClient) CheckProductHealthy(request *model.CheckProductHealthyRequest) (*model.CheckProductHealthyResponse, error)
- func (c *SecMasterClient) CheckProductHealthyInvoker(request *model.CheckProductHealthyRequest) *CheckProductHealthyInvoker
- func (c *SecMasterClient) ImportEvents(request *model.ImportEventsRequest) (*model.ImportEventsResponse, error)
- func (c *SecMasterClient) 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 SecMasterClientBuilder ¶
func SecMasterClientBuilder() *httpclient.HcHttpClientBuilder
Types ¶
type CheckProductHealthyInvoker ¶
type CheckProductHealthyInvoker struct {
*invoker.BaseInvoker
}
func (*CheckProductHealthyInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CheckProductHealthyInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CheckProductHealthyInvoker) Invoke ¶
func (i *CheckProductHealthyInvoker) Invoke() (*model.CheckProductHealthyResponse, error)
type ImportEventsInvoker ¶
type ImportEventsInvoker struct {
*invoker.BaseInvoker
}
func (*ImportEventsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ImportEventsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ImportEventsInvoker) Invoke ¶
func (i *ImportEventsInvoker) Invoke() (*model.ImportEventsResponse, error)
type SecMasterClient ¶
type SecMasterClient struct {
HcClient *httpclient.HcHttpClient
}
func NewSecMasterClient ¶
func NewSecMasterClient(hcClient *httpclient.HcHttpClient) *SecMasterClient
func (*SecMasterClient) CheckProductHealthy ¶
func (c *SecMasterClient) CheckProductHealthy(request *model.CheckProductHealthyRequest) (*model.CheckProductHealthyResponse, error)
CheckProductHealthy 检查心跳健康(仅支持华北-北京四使用)
SA提供心跳接口,集成产品定时(每五分钟)发送心跳报文到态势感知,用来确认集成产品与态势感知之间的通路是否健康。
Please refer to HUAWEI cloud API Explorer for details.
func (*SecMasterClient) CheckProductHealthyInvoker ¶
func (c *SecMasterClient) CheckProductHealthyInvoker(request *model.CheckProductHealthyRequest) *CheckProductHealthyInvoker
CheckProductHealthyInvoker 检查心跳健康(仅支持华北-北京四使用)
func (*SecMasterClient) ImportEvents ¶
func (c *SecMasterClient) ImportEvents(request *model.ImportEventsRequest) (*model.ImportEventsResponse, error)
ImportEvents 上报安全产品数据(仅支持华北-北京四使用)
批量数据上报,每批次最多不超过50条。
Please refer to HUAWEI cloud API Explorer for details.
func (*SecMasterClient) ImportEventsInvoker ¶
func (c *SecMasterClient) ImportEventsInvoker(request *model.ImportEventsRequest) *ImportEventsInvoker
ImportEventsInvoker 上报安全产品数据(仅支持华北-北京四使用)
Click to show internal directories.
Click to hide internal directories.