Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct {
/* 是否启用通知 */
Enabled bool `json:"enabled"`
/* 通知endpoint,当前支持http://和https://, 未来会支持sms:, email:, queues: 等 (Optional) */
Endpoint string `json:"endpoint"`
/* 触发通知的事件集合 (Optional) */
Events []string `json:"events"`
/* 重试策略, BACKOFF_RETRY: 退避重试策略, 重试 3 次,每次重试的间隔时间是 10秒 到 20秒 之间的随机值; EXPONENTIAL_DECAY_RETRY: 指数衰减重试, 重试 176 次,每次重试的间隔时间指数递增至 512秒,总计重试时间为1天;每次重试的具体间隔为:1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512 ... 512 秒 (共167个512)。 (Optional) */
NotifyStrategy string `json:"notifyStrategy"`
/* 描述了向 Endpoint 推送的消息格式, JSON包含消息正文和消息属性, SIMPLIFIED消息体即用户发布的消息,不包含任何属性信息 (Optional) */
NotifyContentFormat string `json:"notifyContentFormat"`
}
type ThumbnailQuery ¶
type ThumbnailQuery struct {
/* (Optional) */
Status string `json:"status"`
/* (Optional) */
Begin string `json:"begin"`
/* (Optional) */
End string `json:"end"`
/* (Optional) */
Marker string `json:"marker"`
/* (Optional) */
Limit int `json:"limit"`
/* (Optional) */
NextMarker string `json:"nextMarker"`
/* (Optional) */
Truncated bool `json:"truncated"`
/* (Optional) */
TaskList []ThumbnailTask `json:"taskList"`
}
type ThumbnailStatus ¶
type ThumbnailTask ¶
type ThumbnailTask struct {
/* 任务ID (Optional) */
TaskID string `json:"taskID"`
/* 状态 (Optional) */
Status string `json:"status"`
/* 错误码 (Optional) */
ErrorCode int `json:"errorCode"`
/* 任务创建时间 (Optional) */
CreatedTime string `json:"createdTime"`
/* 任务创建时间 (Optional) */
LastUpdatedTime string `json:"lastUpdatedTime"`
/* (Optional) */
Source ThumbnailTaskSource `json:"source"`
/* (Optional) */
Target ThumbnailTaskTarget `json:"target"`
/* (Optional) */
Rule ThumbnailTaskRule `json:"rule"`
}
type ThumbnailTaskID ¶
type ThumbnailTaskID struct {
/* (Optional) */
TaskID string `json:"taskID"`
}
type ThumbnailTaskRule ¶
type ThumbnailTaskRule struct {
/* (Optional) */
Mode *string `json:"mode"`
/* (Optional) */
KeyFrame *bool `json:"keyFrame"`
/* (Optional) */
StartTimeInSecond *int `json:"startTimeInSecond"`
/* (Optional) */
EndTimeInSecond *int `json:"endTimeInSecond"`
/* (Optional) */
Count *int `json:"count"`
}
type ThumbnailTaskSource ¶
type ThumbnailTaskTarget ¶
type ThumbnailTaskTarget struct {
/* (Optional) */
DestBucket *string `json:"destBucket"`
/* (Optional) */
DestKeyPrefix *string `json:"destKeyPrefix"`
/* (Optional) */
Format *string `json:"format"`
/* (Optional) */
WidthInPixel *int `json:"widthInPixel"`
/* (Optional) */
HeightInPixel *int `json:"heightInPixel"`
/* (Optional) */
Keys []string `json:"keys"`
}
type TranscodeStatus ¶
Click to show internal directories.
Click to hide internal directories.