v1

package
v0.1.96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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() *httpclient.HcHttpClientBuilder

Types

type CheckProductHealthyInvoker added in v0.0.90

type CheckProductHealthyInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckProductHealthyInvoker) Invoke added in v0.0.90

type ImportEventsInvoker added in v0.0.90

type ImportEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*ImportEventsInvoker) Invoke added in v0.0.90

type SaClient

type SaClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewSaClient

func NewSaClient(hcClient *httpclient.HcHttpClient) *SaClient

func (*SaClient) CheckProductHealthy

func (c *SaClient) CheckProductHealthy(request *model.CheckProductHealthyRequest) (*model.CheckProductHealthyResponse, error)

CheckProductHealthy 检查心跳健康(仅支持华北-北京四使用)

SA提供心跳接口,集成产品定时(每五分钟)发送心跳报文到态势感知,用来确认集成产品与态势感知之间的通路是否健康。

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 上报安全产品数据(仅支持华北-北京四使用)

批量数据上报,每批次最多不超过50条。

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 上报安全产品数据(仅支持华北-北京四使用)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL