pfop

package
v7.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

触发持久化数据处理命令

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PfopId

type PfopId = Response

返回的持久化数据处理任务 ID

type Request

type Request struct {
	Credentials        credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
	BucketName         string                          // 空间名称
	ObjectName         string                          // 对象名称
	Fops               string                          // 数据处理命令列表,以 `;` 分隔,可以指定多个数据处理命令
	NotifyUrl          string                          // 处理结果通知接收 URL
	Force              int64                           // 强制执行数据处理,设为 `1`,则可强制执行数据处理并覆盖原结果
	Type               int64                           // 任务类型,支持 `0` 表示普通任务,`1` 表示闲时任务
	Pipeline           string                          // 对列名,仅适用于普通任务
	WorkflowTemplateId string                          // 工作流模板 ID
}

调用 API 所用的请求

type Response

type Response struct {
	PersistentId string // 持久化数据处理任务 ID
}

获取 API 所用的响应

func (*Response) MarshalJSON

func (j *Response) MarshalJSON() ([]byte, error)

func (*Response) UnmarshalJSON

func (j *Response) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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