set_bucket_quota

package
v7.21.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

设置用户存储空间配额限制

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Bucket      string                          // 指定存储空间
	Size        int64                           // 空间存储量配额,参数传入 0 或不传表示不更改当前配置,传入 -1 表示取消限额
	Count       int64                           // 空间文件数配额,参数传入 0 或不传表示不更改当前配置,传入 -1 表示取消限额
	Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
}

调用 API 所用的请求

type Response

type Response struct{}

获取 API 所用的响应

Jump to

Keyboard shortcuts

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