v1

package
v0.1.88 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 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 DscClientBuilder

func DscClientBuilder() *httpclient.HcHttpClientBuilder

func GenReqDefForAddBuckets added in v0.1.15

func GenReqDefForAddBuckets() *def.HttpRequestDef

func GenReqDefForAddRule added in v0.1.15

func GenReqDefForAddRule() *def.HttpRequestDef

func GenReqDefForAddRuleGroup added in v0.1.15

func GenReqDefForAddRuleGroup() *def.HttpRequestDef

func GenReqDefForAddScanJob added in v0.1.15

func GenReqDefForAddScanJob() *def.HttpRequestDef

func GenReqDefForBatchAddDataMask

func GenReqDefForBatchAddDataMask() *def.HttpRequestDef

func GenReqDefForChangeDbTemplateOperation added in v0.1.15

func GenReqDefForChangeDbTemplateOperation() *def.HttpRequestDef

func GenReqDefForChangeRule added in v0.1.15

func GenReqDefForChangeRule() *def.HttpRequestDef

func GenReqDefForCreateDatabaseWaterMark

func GenReqDefForCreateDatabaseWaterMark() *def.HttpRequestDef

func GenReqDefForCreateDocWatermark

func GenReqDefForCreateDocWatermark() *def.HttpRequestDef

func GenReqDefForCreateDocWatermarkByAddress added in v0.0.83

func GenReqDefForCreateDocWatermarkByAddress() *def.HttpRequestDef

func GenReqDefForCreateImageWatermark

func GenReqDefForCreateImageWatermark() *def.HttpRequestDef

func GenReqDefForCreateImageWatermarkByAddress added in v0.0.83

func GenReqDefForCreateImageWatermarkByAddress() *def.HttpRequestDef

func GenReqDefForCreateProductOrder added in v0.1.15

func GenReqDefForCreateProductOrder() *def.HttpRequestDef

func GenReqDefForDeleteBucket added in v0.1.15

func GenReqDefForDeleteBucket() *def.HttpRequestDef

func GenReqDefForDeleteRule added in v0.1.15

func GenReqDefForDeleteRule() *def.HttpRequestDef

func GenReqDefForDeleteRuleGroup added in v0.1.15

func GenReqDefForDeleteRuleGroup() *def.HttpRequestDef

func GenReqDefForDeleteScanJob added in v0.1.78

func GenReqDefForDeleteScanJob() *def.HttpRequestDef

func GenReqDefForListBuckets added in v0.1.15

func GenReqDefForListBuckets() *def.HttpRequestDef

func GenReqDefForListDbMaskTask added in v0.1.15

func GenReqDefForListDbMaskTask() *def.HttpRequestDef

func GenReqDefForListRuleGroups added in v0.1.15

func GenReqDefForListRuleGroups() *def.HttpRequestDef

func GenReqDefForShowDatabaseWaterMark

func GenReqDefForShowDatabaseWaterMark() *def.HttpRequestDef

func GenReqDefForShowDocWatermark

func GenReqDefForShowDocWatermark() *def.HttpRequestDef

func GenReqDefForShowDocWatermarkByAddress added in v0.0.83

func GenReqDefForShowDocWatermarkByAddress() *def.HttpRequestDef

func GenReqDefForShowImageWatermark

func GenReqDefForShowImageWatermark() *def.HttpRequestDef

func GenReqDefForShowImageWatermarkByAddress added in v0.0.83

func GenReqDefForShowImageWatermarkByAddress() *def.HttpRequestDef

func GenReqDefForShowImageWatermarkWithImage added in v0.0.83

func GenReqDefForShowImageWatermarkWithImage() *def.HttpRequestDef

func GenReqDefForShowImageWatermarkWithImageByAddress added in v0.0.83

func GenReqDefForShowImageWatermarkWithImageByAddress() *def.HttpRequestDef

func GenReqDefForShowOpenApiCalledRecords added in v0.0.71

func GenReqDefForShowOpenApiCalledRecords() *def.HttpRequestDef

func GenReqDefForShowRules added in v0.1.15

func GenReqDefForShowRules() *def.HttpRequestDef

func GenReqDefForShowScanJobResults added in v0.0.68

func GenReqDefForShowScanJobResults() *def.HttpRequestDef

func GenReqDefForShowScanJobs added in v0.0.68

func GenReqDefForShowScanJobs() *def.HttpRequestDef

func GenReqDefForShowSpecification added in v0.1.15

func GenReqDefForShowSpecification() *def.HttpRequestDef

func GenReqDefForShowTopics added in v0.1.15

func GenReqDefForShowTopics() *def.HttpRequestDef

func GenReqDefForUpdateAssetName added in v0.1.15

func GenReqDefForUpdateAssetName() *def.HttpRequestDef

func GenReqDefForUpdateDefaultTopic added in v0.1.15

func GenReqDefForUpdateDefaultTopic() *def.HttpRequestDef

Types

type AddBucketsInvoker added in v0.1.15

type AddBucketsInvoker struct {
	*invoker.BaseInvoker
}

func (*AddBucketsInvoker) Invoke added in v0.1.15

type AddRuleGroupInvoker added in v0.1.15

type AddRuleGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*AddRuleGroupInvoker) Invoke added in v0.1.15

type AddRuleInvoker added in v0.1.15

type AddRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*AddRuleInvoker) Invoke added in v0.1.15

func (i *AddRuleInvoker) Invoke() (*model.AddRuleResponse, error)

type AddScanJobInvoker added in v0.1.15

type AddScanJobInvoker struct {
	*invoker.BaseInvoker
}

func (*AddScanJobInvoker) Invoke added in v0.1.15

type BatchAddDataMaskInvoker added in v0.0.90

type BatchAddDataMaskInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchAddDataMaskInvoker) Invoke added in v0.0.90

type ChangeDbTemplateOperationInvoker added in v0.1.15

type ChangeDbTemplateOperationInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeDbTemplateOperationInvoker) Invoke added in v0.1.15

type ChangeRuleInvoker added in v0.1.15

type ChangeRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeRuleInvoker) Invoke added in v0.1.15

type CreateDatabaseWaterMarkInvoker added in v0.0.90

type CreateDatabaseWaterMarkInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDatabaseWaterMarkInvoker) Invoke added in v0.0.90

type CreateDocWatermarkByAddressInvoker added in v0.0.90

type CreateDocWatermarkByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDocWatermarkByAddressInvoker) Invoke added in v0.0.90

type CreateDocWatermarkInvoker added in v0.0.90

type CreateDocWatermarkInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDocWatermarkInvoker) Invoke added in v0.0.90

type CreateImageWatermarkByAddressInvoker added in v0.0.90

type CreateImageWatermarkByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateImageWatermarkByAddressInvoker) Invoke added in v0.0.90

type CreateImageWatermarkInvoker added in v0.0.90

type CreateImageWatermarkInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateImageWatermarkInvoker) Invoke added in v0.0.90

type CreateProductOrderInvoker added in v0.1.15

type CreateProductOrderInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateProductOrderInvoker) Invoke added in v0.1.15

type DeleteBucketInvoker added in v0.1.15

type DeleteBucketInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBucketInvoker) Invoke added in v0.1.15

type DeleteRuleGroupInvoker added in v0.1.15

type DeleteRuleGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRuleGroupInvoker) Invoke added in v0.1.15

type DeleteRuleInvoker added in v0.1.15

type DeleteRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRuleInvoker) Invoke added in v0.1.15

type DeleteScanJobInvoker added in v0.1.78

type DeleteScanJobInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteScanJobInvoker) Invoke added in v0.1.78

type DscClient

type DscClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewDscClient

func NewDscClient(hcClient *httpclient.HcHttpClient) *DscClient

func (*DscClient) AddBuckets added in v0.1.15

func (c *DscClient) AddBuckets(request *model.AddBucketsRequest) (*model.AddBucketsResponse, error)

AddBuckets 添加资产授权

添加数据资产扫描授权

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) AddBucketsInvoker added in v0.1.15

func (c *DscClient) AddBucketsInvoker(request *model.AddBucketsRequest) *AddBucketsInvoker

AddBucketsInvoker 添加资产授权

func (*DscClient) AddRule added in v0.1.15

func (c *DscClient) AddRule(request *model.AddRuleRequest) (*model.AddRuleResponse, error)

AddRule 创建扫描规则

根据指定的规则名称、规则类型、风险等级、最小匹配次数等参数创建自定义的敏感数据识别规则

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) AddRuleGroup added in v0.1.15

func (c *DscClient) AddRuleGroup(request *model.AddRuleGroupRequest) (*model.AddRuleGroupResponse, error)

AddRuleGroup 创建扫描规则组

根据指定的规则组名称和扫描规则列表创建敏感数据扫描规则组

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) AddRuleGroupInvoker added in v0.1.15

func (c *DscClient) AddRuleGroupInvoker(request *model.AddRuleGroupRequest) *AddRuleGroupInvoker

AddRuleGroupInvoker 创建扫描规则组

func (*DscClient) AddRuleInvoker added in v0.1.15

func (c *DscClient) AddRuleInvoker(request *model.AddRuleRequest) *AddRuleInvoker

AddRuleInvoker 创建扫描规则

func (*DscClient) AddScanJob added in v0.1.15

func (c *DscClient) AddScanJob(request *model.AddScanJobRequest) (*model.AddScanJobResponse, error)

AddScanJob 创建扫描任务

根据指定的任务名称、扫描方式、扫描周期、扫描规则组、扫描时间创建扫描任务

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) AddScanJobInvoker added in v0.1.15

func (c *DscClient) AddScanJobInvoker(request *model.AddScanJobRequest) *AddScanJobInvoker

AddScanJobInvoker 创建扫描任务

func (*DscClient) BatchAddDataMask

func (c *DscClient) BatchAddDataMask(request *model.BatchAddDataMaskRequest) (*model.BatchAddDataMaskResponse, error)

BatchAddDataMask 对数据进行脱敏

对数据进行脱敏

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) BatchAddDataMaskInvoker added in v0.0.90

func (c *DscClient) BatchAddDataMaskInvoker(request *model.BatchAddDataMaskRequest) *BatchAddDataMaskInvoker

BatchAddDataMaskInvoker 对数据进行脱敏

func (*DscClient) ChangeDbTemplateOperation added in v0.1.15

ChangeDbTemplateOperation 开启/停止脱敏任务

开启/停止脱敏任务

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ChangeDbTemplateOperationInvoker added in v0.1.15

func (c *DscClient) ChangeDbTemplateOperationInvoker(request *model.ChangeDbTemplateOperationRequest) *ChangeDbTemplateOperationInvoker

ChangeDbTemplateOperationInvoker 开启/停止脱敏任务

func (*DscClient) ChangeRule added in v0.1.15

func (c *DscClient) ChangeRule(request *model.ChangeRuleRequest) (*model.ChangeRuleResponse, error)

ChangeRule 修改扫描规则

修改自定义的敏感数据识别规则

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ChangeRuleInvoker added in v0.1.15

func (c *DscClient) ChangeRuleInvoker(request *model.ChangeRuleRequest) *ChangeRuleInvoker

ChangeRuleInvoker 修改扫描规则

func (*DscClient) CreateDatabaseWaterMark

CreateDatabaseWaterMark 嵌入数据水印

对json体中数据动态添加水印

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) CreateDatabaseWaterMarkInvoker added in v0.0.90

func (c *DscClient) CreateDatabaseWaterMarkInvoker(request *model.CreateDatabaseWaterMarkRequest) *CreateDatabaseWaterMarkInvoker

CreateDatabaseWaterMarkInvoker 嵌入数据水印

func (*DscClient) CreateDocWatermark

func (c *DscClient) CreateDocWatermark(request *model.CreateDocWatermarkRequest) (*model.CreateDocWatermarkResponse, error)

CreateDocWatermark 文档嵌入水印

对WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf) 类型的文件嵌入文字暗水印、文字明水印或者图片明水印,用户以formData的格式传入待加水印的文件和水印相关信息,DSC服务给文件加完水印后返回给用户已嵌入水印的文件的二进制流。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) CreateDocWatermarkByAddress added in v0.0.83

CreateDocWatermarkByAddress 文档嵌入水印(文件地址版本)

对WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf)*类型的文档嵌入文字暗水印、文字明水印或者图片明水印,用户传入待加水印的文档地址(目前支持OBS)和水印相关信息,DSC服务对文档加完水印后返回给用户已嵌入水印的文档的存放地址。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) CreateDocWatermarkByAddressInvoker added in v0.0.90

func (c *DscClient) CreateDocWatermarkByAddressInvoker(request *model.CreateDocWatermarkByAddressRequest) *CreateDocWatermarkByAddressInvoker

CreateDocWatermarkByAddressInvoker 文档嵌入水印(文件地址版本)

func (*DscClient) CreateDocWatermarkInvoker added in v0.0.90

func (c *DscClient) CreateDocWatermarkInvoker(request *model.CreateDocWatermarkRequest) *CreateDocWatermarkInvoker

CreateDocWatermarkInvoker 文档嵌入水印

func (*DscClient) CreateImageWatermark

CreateImageWatermark 图片嵌入暗水印

对图片嵌入文字暗水印或者图片暗水印,用户以formData的格式传入待加水印图片和水印相关信息,DSC服务对图片加完水印后返回给用户已嵌入水印的图片二进制流,目前支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) CreateImageWatermarkByAddress added in v0.0.83

CreateImageWatermarkByAddress 图片嵌入暗水印(文件地址版本)

对指定存储地址信息(目前支持华为云OBS)的图片嵌入文字暗水印或者图片暗水印,已嵌入的水印的图片将存放在用户指定的位置(目前支持华为云OBS),支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) CreateImageWatermarkByAddressInvoker added in v0.0.90

func (c *DscClient) CreateImageWatermarkByAddressInvoker(request *model.CreateImageWatermarkByAddressRequest) *CreateImageWatermarkByAddressInvoker

CreateImageWatermarkByAddressInvoker 图片嵌入暗水印(文件地址版本)

func (*DscClient) CreateImageWatermarkInvoker added in v0.0.90

func (c *DscClient) CreateImageWatermarkInvoker(request *model.CreateImageWatermarkRequest) *CreateImageWatermarkInvoker

CreateImageWatermarkInvoker 图片嵌入暗水印

func (*DscClient) CreateProductOrder added in v0.1.15

func (c *DscClient) CreateProductOrder(request *model.CreateProductOrderRequest) (*model.CreateProductOrderResponse, error)

CreateProductOrder 实例下单

根据计费方式、计费周期等信息进行实例下单

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) CreateProductOrderInvoker added in v0.1.15

func (c *DscClient) CreateProductOrderInvoker(request *model.CreateProductOrderRequest) *CreateProductOrderInvoker

CreateProductOrderInvoker 实例下单

func (*DscClient) DeleteBucket added in v0.1.15

func (c *DscClient) DeleteBucket(request *model.DeleteBucketRequest) (*model.DeleteBucketResponse, error)

DeleteBucket 删除资产授权

删除数据资产扫描授权

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) DeleteBucketInvoker added in v0.1.15

func (c *DscClient) DeleteBucketInvoker(request *model.DeleteBucketRequest) *DeleteBucketInvoker

DeleteBucketInvoker 删除资产授权

func (*DscClient) DeleteRule added in v0.1.15

func (c *DscClient) DeleteRule(request *model.DeleteRuleRequest) (*model.DeleteRuleResponse, error)

DeleteRule 删除扫描规则

删除指定的敏感数据识别规则

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) DeleteRuleGroup added in v0.1.15

func (c *DscClient) DeleteRuleGroup(request *model.DeleteRuleGroupRequest) (*model.DeleteRuleGroupResponse, error)

DeleteRuleGroup 删除扫描规则组

根据扫描规则组ID删除指定的扫描规则组

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) DeleteRuleGroupInvoker added in v0.1.15

func (c *DscClient) DeleteRuleGroupInvoker(request *model.DeleteRuleGroupRequest) *DeleteRuleGroupInvoker

DeleteRuleGroupInvoker 删除扫描规则组

func (*DscClient) DeleteRuleInvoker added in v0.1.15

func (c *DscClient) DeleteRuleInvoker(request *model.DeleteRuleRequest) *DeleteRuleInvoker

DeleteRuleInvoker 删除扫描规则

func (*DscClient) DeleteScanJob added in v0.1.78

func (c *DscClient) DeleteScanJob(request *model.DeleteScanJobRequest) (*model.DeleteScanJobResponse, error)

DeleteScanJob 删除扫描任务

删除扫描任务

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) DeleteScanJobInvoker added in v0.1.78

func (c *DscClient) DeleteScanJobInvoker(request *model.DeleteScanJobRequest) *DeleteScanJobInvoker

DeleteScanJobInvoker 删除扫描任务

func (*DscClient) ListBuckets added in v0.1.15

func (c *DscClient) ListBuckets(request *model.ListBucketsRequest) (*model.ListBucketsResponse, error)

ListBuckets 查看资产列表

查询数据资产扫描授权列表

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ListBucketsInvoker added in v0.1.15

func (c *DscClient) ListBucketsInvoker(request *model.ListBucketsRequest) *ListBucketsInvoker

ListBucketsInvoker 查看资产列表

func (*DscClient) ListDbMaskTask added in v0.1.15

func (c *DscClient) ListDbMaskTask(request *model.ListDbMaskTaskRequest) (*model.ListDbMaskTaskResponse, error)

ListDbMaskTask 查询脱敏任务执行列表

查询脱敏任务执行列表

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ListDbMaskTaskInvoker added in v0.1.15

func (c *DscClient) ListDbMaskTaskInvoker(request *model.ListDbMaskTaskRequest) *ListDbMaskTaskInvoker

ListDbMaskTaskInvoker 查询脱敏任务执行列表

func (*DscClient) ListRuleGroups added in v0.1.15

func (c *DscClient) ListRuleGroups(request *model.ListRuleGroupsRequest) (*model.ListRuleGroupsResponse, error)

ListRuleGroups 查询扫描规则组列表

根据指定的项目ID查询扫描规则组列表

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ListRuleGroupsInvoker added in v0.1.15

func (c *DscClient) ListRuleGroupsInvoker(request *model.ListRuleGroupsRequest) *ListRuleGroupsInvoker

ListRuleGroupsInvoker 查询扫描规则组列表

func (*DscClient) ShowDatabaseWaterMark

ShowDatabaseWaterMark 提取数据水印

提取请求数据中水印内容

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowDatabaseWaterMarkInvoker added in v0.0.90

func (c *DscClient) ShowDatabaseWaterMarkInvoker(request *model.ShowDatabaseWaterMarkRequest) *ShowDatabaseWaterMarkInvoker

ShowDatabaseWaterMarkInvoker 提取数据水印

func (*DscClient) ShowDocWatermark

func (c *DscClient) ShowDocWatermark(request *model.ShowDocWatermarkRequest) (*model.ShowDocWatermarkResponse, error)

ShowDocWatermark 文档提取暗水印

对已嵌入文字暗水印的WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf)类型的文档进行文字暗水印提取,用户以formData的格式传入待提取水印的文件,DSC服务以JSON的格式返回从文档里提取的出的文字暗水印内容。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowDocWatermarkByAddress added in v0.0.83

ShowDocWatermarkByAddress 文档提取暗水印(文档地址版本)

支持对已嵌入文字暗水印的WORD(.docx),PPT(.pptx),EXCEL(.xlsx),PDF(.pdf)类型的文档进行水印提取,用户传入待提取水印的文档地址(目前支持OBS),DSC服务以JSON的格式返回从文档里提取的出的文字暗水印内容。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowDocWatermarkByAddressInvoker added in v0.0.90

func (c *DscClient) ShowDocWatermarkByAddressInvoker(request *model.ShowDocWatermarkByAddressRequest) *ShowDocWatermarkByAddressInvoker

ShowDocWatermarkByAddressInvoker 文档提取暗水印(文档地址版本)

func (*DscClient) ShowDocWatermarkInvoker added in v0.0.90

func (c *DscClient) ShowDocWatermarkInvoker(request *model.ShowDocWatermarkRequest) *ShowDocWatermarkInvoker

ShowDocWatermarkInvoker 文档提取暗水印

func (*DscClient) ShowImageWatermark

func (c *DscClient) ShowImageWatermark(request *model.ShowImageWatermarkRequest) (*model.ShowImageWatermarkResponse, error)

ShowImageWatermark 提取图片中的文字暗水印

对已嵌入文字暗水印的图片进行水印提取,用户以formData的格式传入待提取水印的图片,DSC服务以JSON的格式返回从图片里提取的出的文字暗水印。目前支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowImageWatermarkByAddress added in v0.0.83

ShowImageWatermarkByAddress 提取图片中的文字暗水印(文件地址版本)

对指定存储地址信息(目前支持华为云OBS)的已嵌入文字暗水印的图片提取文字暗水印,支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowImageWatermarkByAddressInvoker added in v0.0.90

func (c *DscClient) ShowImageWatermarkByAddressInvoker(request *model.ShowImageWatermarkByAddressRequest) *ShowImageWatermarkByAddressInvoker

ShowImageWatermarkByAddressInvoker 提取图片中的文字暗水印(文件地址版本)

func (*DscClient) ShowImageWatermarkInvoker added in v0.0.90

func (c *DscClient) ShowImageWatermarkInvoker(request *model.ShowImageWatermarkRequest) *ShowImageWatermarkInvoker

ShowImageWatermarkInvoker 提取图片中的文字暗水印

func (*DscClient) ShowImageWatermarkWithImage added in v0.0.83

ShowImageWatermarkWithImage 提取图片中的图片暗水印

对已嵌入图片暗水印的图片进行水印提取,用户以formData的格式传入待提取水印的图片,DSC服务以图片二进制流的格式返回从图片里提取的出的图片暗水印。目前支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowImageWatermarkWithImageByAddress added in v0.0.83

ShowImageWatermarkWithImageByAddress 提取图片中的图片暗水印(文件地址版本)

对指定存储地址信息(目前支持华为云OBS)的已嵌入图片暗水印的图片提取图片暗水印,提取出的水印图片将存放在用户指定的位置(目前支持华为云OBS),支持的图片格式为:*.jpg, *.jpeg, *.jpe, *.png, *.bmp, *.dib, *.rle, *.tiff, *.tif, *.ppm, *.webp, *.tga, *.tpic, *.gif。

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowImageWatermarkWithImageByAddressInvoker added in v0.0.90

func (c *DscClient) ShowImageWatermarkWithImageByAddressInvoker(request *model.ShowImageWatermarkWithImageByAddressRequest) *ShowImageWatermarkWithImageByAddressInvoker

ShowImageWatermarkWithImageByAddressInvoker 提取图片中的图片暗水印(文件地址版本)

func (*DscClient) ShowImageWatermarkWithImageInvoker added in v0.0.90

func (c *DscClient) ShowImageWatermarkWithImageInvoker(request *model.ShowImageWatermarkWithImageRequest) *ShowImageWatermarkWithImageInvoker

ShowImageWatermarkWithImageInvoker 提取图片中的图片暗水印

func (*DscClient) ShowOpenApiCalledRecords added in v0.0.71

ShowOpenApiCalledRecords 查询OpenApi调用记录

查询OpenApi调用记录

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowOpenApiCalledRecordsInvoker added in v0.0.90

func (c *DscClient) ShowOpenApiCalledRecordsInvoker(request *model.ShowOpenApiCalledRecordsRequest) *ShowOpenApiCalledRecordsInvoker

ShowOpenApiCalledRecordsInvoker 查询OpenApi调用记录

func (*DscClient) ShowRules added in v0.1.15

func (c *DscClient) ShowRules(request *model.ShowRulesRequest) (*model.ShowRulesResponse, error)

ShowRules 查看规则列表

查询扫描规则列表,返回扫描规则总数和扫描规则列表

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowRulesInvoker added in v0.1.15

func (c *DscClient) ShowRulesInvoker(request *model.ShowRulesRequest) *ShowRulesInvoker

ShowRulesInvoker 查看规则列表

func (*DscClient) ShowScanJobResults added in v0.0.68

func (c *DscClient) ShowScanJobResults(request *model.ShowScanJobResultsRequest) (*model.ShowScanJobResultsResponse, error)

ShowScanJobResults 查询指定任务扫描结果

查询指定任务扫描结果

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowScanJobResultsInvoker added in v0.0.90

func (c *DscClient) ShowScanJobResultsInvoker(request *model.ShowScanJobResultsRequest) *ShowScanJobResultsInvoker

ShowScanJobResultsInvoker 查询指定任务扫描结果

func (*DscClient) ShowScanJobs added in v0.0.68

func (c *DscClient) ShowScanJobs(request *model.ShowScanJobsRequest) (*model.ShowScanJobsResponse, error)

ShowScanJobs 查询扫描任务列表

查询扫描任务列表

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowScanJobsInvoker added in v0.0.90

func (c *DscClient) ShowScanJobsInvoker(request *model.ShowScanJobsRequest) *ShowScanJobsInvoker

ShowScanJobsInvoker 查询扫描任务列表

func (*DscClient) ShowSpecification added in v0.1.15

func (c *DscClient) ShowSpecification(request *model.ShowSpecificationRequest) (*model.ShowSpecificationResponse, error)

ShowSpecification 查询资源开通信息

查询资源开通信息,根据项目ID查询订单详情

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowSpecificationInvoker added in v0.1.15

func (c *DscClient) ShowSpecificationInvoker(request *model.ShowSpecificationRequest) *ShowSpecificationInvoker

ShowSpecificationInvoker 查询资源开通信息

func (*DscClient) ShowTopics added in v0.1.15

func (c *DscClient) ShowTopics(request *model.ShowTopicsRequest) (*model.ShowTopicsResponse, error)

ShowTopics 查询告警通知主题

查询告警通知主题,返回默认主题、已确认主题数量及列表

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) ShowTopicsInvoker added in v0.1.15

func (c *DscClient) ShowTopicsInvoker(request *model.ShowTopicsRequest) *ShowTopicsInvoker

ShowTopicsInvoker 查询告警通知主题

func (*DscClient) UpdateAssetName added in v0.1.15

func (c *DscClient) UpdateAssetName(request *model.UpdateAssetNameRequest) (*model.UpdateAssetNameResponse, error)

UpdateAssetName 编辑资产名称

编辑数据资产名称

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) UpdateAssetNameInvoker added in v0.1.15

func (c *DscClient) UpdateAssetNameInvoker(request *model.UpdateAssetNameRequest) *UpdateAssetNameInvoker

UpdateAssetNameInvoker 编辑资产名称

func (*DscClient) UpdateDefaultTopic added in v0.1.15

func (c *DscClient) UpdateDefaultTopic(request *model.UpdateDefaultTopicRequest) (*model.UpdateDefaultTopicResponse, error)

UpdateDefaultTopic 修改告警通知主题

修改告警通知的关联项目ID、通知主题、通知状态(0为关闭通知,1为开启通知)等通用配置

Please refer to HUAWEI cloud API Explorer for details.

func (*DscClient) UpdateDefaultTopicInvoker added in v0.1.15

func (c *DscClient) UpdateDefaultTopicInvoker(request *model.UpdateDefaultTopicRequest) *UpdateDefaultTopicInvoker

UpdateDefaultTopicInvoker 修改告警通知主题

type ListBucketsInvoker added in v0.1.15

type ListBucketsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBucketsInvoker) Invoke added in v0.1.15

type ListDbMaskTaskInvoker added in v0.1.15

type ListDbMaskTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDbMaskTaskInvoker) Invoke added in v0.1.15

type ListRuleGroupsInvoker added in v0.1.15

type ListRuleGroupsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRuleGroupsInvoker) Invoke added in v0.1.15

type ShowDatabaseWaterMarkInvoker added in v0.0.90

type ShowDatabaseWaterMarkInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDatabaseWaterMarkInvoker) Invoke added in v0.0.90

type ShowDocWatermarkByAddressInvoker added in v0.0.90

type ShowDocWatermarkByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDocWatermarkByAddressInvoker) Invoke added in v0.0.90

type ShowDocWatermarkInvoker added in v0.0.90

type ShowDocWatermarkInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDocWatermarkInvoker) Invoke added in v0.0.90

type ShowImageWatermarkByAddressInvoker added in v0.0.90

type ShowImageWatermarkByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowImageWatermarkByAddressInvoker) Invoke added in v0.0.90

type ShowImageWatermarkInvoker added in v0.0.90

type ShowImageWatermarkInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowImageWatermarkInvoker) Invoke added in v0.0.90

type ShowImageWatermarkWithImageByAddressInvoker added in v0.0.90

type ShowImageWatermarkWithImageByAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowImageWatermarkWithImageByAddressInvoker) Invoke added in v0.0.90

type ShowImageWatermarkWithImageInvoker added in v0.0.90

type ShowImageWatermarkWithImageInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowImageWatermarkWithImageInvoker) Invoke added in v0.0.90

type ShowOpenApiCalledRecordsInvoker added in v0.0.90

type ShowOpenApiCalledRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOpenApiCalledRecordsInvoker) Invoke added in v0.0.90

type ShowRulesInvoker added in v0.1.15

type ShowRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRulesInvoker) Invoke added in v0.1.15

type ShowScanJobResultsInvoker added in v0.0.90

type ShowScanJobResultsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowScanJobResultsInvoker) Invoke added in v0.0.90

type ShowScanJobsInvoker added in v0.0.90

type ShowScanJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowScanJobsInvoker) Invoke added in v0.0.90

type ShowSpecificationInvoker added in v0.1.15

type ShowSpecificationInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSpecificationInvoker) Invoke added in v0.1.15

type ShowTopicsInvoker added in v0.1.15

type ShowTopicsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTopicsInvoker) Invoke added in v0.1.15

type UpdateAssetNameInvoker added in v0.1.15

type UpdateAssetNameInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAssetNameInvoker) Invoke added in v0.1.15

type UpdateDefaultTopicInvoker added in v0.1.15

type UpdateDefaultTopicInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDefaultTopicInvoker) Invoke added in v0.1.15

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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