v1

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 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 GenReqDefForBatchAddSharedTags

func GenReqDefForBatchAddSharedTags() *def.HttpRequestDef

func GenReqDefForChangeSecurityGroup

func GenReqDefForChangeSecurityGroup() *def.HttpRequestDef

func GenReqDefForChangeShareName added in v0.1.6

func GenReqDefForChangeShareName() *def.HttpRequestDef

func GenReqDefForCreateFsDir added in v0.1.39

func GenReqDefForCreateFsDir() *def.HttpRequestDef

func GenReqDefForCreateFsDirQuota added in v0.1.39

func GenReqDefForCreateFsDirQuota() *def.HttpRequestDef

func GenReqDefForCreateShare

func GenReqDefForCreateShare() *def.HttpRequestDef

func GenReqDefForCreateSharedTag

func GenReqDefForCreateSharedTag() *def.HttpRequestDef

func GenReqDefForDeleteFsDir added in v0.1.39

func GenReqDefForDeleteFsDir() *def.HttpRequestDef

func GenReqDefForDeleteFsDirQuota added in v0.1.39

func GenReqDefForDeleteFsDirQuota() *def.HttpRequestDef

func GenReqDefForDeleteShare

func GenReqDefForDeleteShare() *def.HttpRequestDef

func GenReqDefForDeleteSharedTag

func GenReqDefForDeleteSharedTag() *def.HttpRequestDef

func GenReqDefForExpandShare

func GenReqDefForExpandShare() *def.HttpRequestDef

func GenReqDefForListSharedTags

func GenReqDefForListSharedTags() *def.HttpRequestDef

func GenReqDefForListShares

func GenReqDefForListShares() *def.HttpRequestDef

func GenReqDefForShowFsDir added in v0.1.39

func GenReqDefForShowFsDir() *def.HttpRequestDef

func GenReqDefForShowFsDirQuota added in v0.1.39

func GenReqDefForShowFsDirQuota() *def.HttpRequestDef

func GenReqDefForShowShare

func GenReqDefForShowShare() *def.HttpRequestDef

func GenReqDefForShowSharedTags

func GenReqDefForShowSharedTags() *def.HttpRequestDef

func GenReqDefForUpdateFsDirQuota added in v0.1.39

func GenReqDefForUpdateFsDirQuota() *def.HttpRequestDef

func SFSTurboClientBuilder

func SFSTurboClientBuilder() *http_client.HcHttpClientBuilder

Types

type BatchAddSharedTagsInvoker added in v0.0.90

type BatchAddSharedTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchAddSharedTagsInvoker) Invoke added in v0.0.90

type ChangeSecurityGroupInvoker added in v0.0.90

type ChangeSecurityGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeSecurityGroupInvoker) Invoke added in v0.0.90

type ChangeShareNameInvoker added in v0.1.6

type ChangeShareNameInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeShareNameInvoker) Invoke added in v0.1.6

type CreateFsDirInvoker added in v0.1.39

type CreateFsDirInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateFsDirInvoker) Invoke added in v0.1.39

type CreateFsDirQuotaInvoker added in v0.1.39

type CreateFsDirQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateFsDirQuotaInvoker) Invoke added in v0.1.39

type CreateShareInvoker added in v0.0.90

type CreateShareInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateShareInvoker) Invoke added in v0.0.90

type CreateSharedTagInvoker added in v0.0.90

type CreateSharedTagInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSharedTagInvoker) Invoke added in v0.0.90

type DeleteFsDirInvoker added in v0.1.39

type DeleteFsDirInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteFsDirInvoker) Invoke added in v0.1.39

type DeleteFsDirQuotaInvoker added in v0.1.39

type DeleteFsDirQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteFsDirQuotaInvoker) Invoke added in v0.1.39

type DeleteShareInvoker added in v0.0.90

type DeleteShareInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteShareInvoker) Invoke added in v0.0.90

type DeleteSharedTagInvoker added in v0.0.90

type DeleteSharedTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSharedTagInvoker) Invoke added in v0.0.90

type ExpandShareInvoker added in v0.0.90

type ExpandShareInvoker struct {
	*invoker.BaseInvoker
}

func (*ExpandShareInvoker) Invoke added in v0.0.90

type ListSharedTagsInvoker added in v0.0.90

type ListSharedTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSharedTagsInvoker) Invoke added in v0.0.90

type ListSharesInvoker added in v0.0.90

type ListSharesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSharesInvoker) Invoke added in v0.0.90

type SFSTurboClient

type SFSTurboClient struct {
	HcClient *http_client.HcHttpClient
}

func NewSFSTurboClient

func NewSFSTurboClient(hcClient *http_client.HcHttpClient) *SFSTurboClient

func (*SFSTurboClient) BatchAddSharedTags

BatchAddSharedTags 批量添加共享标签

指定共享批量添加标签。

一个共享上最多有10个标签。 一个共享上的多个标签的key不允许重复。 此接口为幂等接口:如果要添加的key在共享上已存在,则覆盖更新标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) BatchAddSharedTagsInvoker added in v0.0.90

func (c *SFSTurboClient) BatchAddSharedTagsInvoker(request *model.BatchAddSharedTagsRequest) *BatchAddSharedTagsInvoker

BatchAddSharedTagsInvoker 批量添加共享标签

func (*SFSTurboClient) ChangeSecurityGroup

ChangeSecurityGroup 修改文件系统绑定的安全组

修改SFS Turbo文件系统绑定的安全组。修改安全组为异步任务,可以通过“查询单个文件系统”返回的子状态字段“sub_status”来判断是否修改安全组状态,子状态为“232”即为修改安全组成功。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) ChangeSecurityGroupInvoker added in v0.0.90

func (c *SFSTurboClient) ChangeSecurityGroupInvoker(request *model.ChangeSecurityGroupRequest) *ChangeSecurityGroupInvoker

ChangeSecurityGroupInvoker 修改文件系统绑定的安全组

func (*SFSTurboClient) ChangeShareName added in v0.1.6

ChangeShareName 修改文件系统名称

修改文件系统名称

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) ChangeShareNameInvoker added in v0.1.6

func (c *SFSTurboClient) ChangeShareNameInvoker(request *model.ChangeShareNameRequest) *ChangeShareNameInvoker

ChangeShareNameInvoker 修改文件系统名称

func (*SFSTurboClient) CreateFsDir added in v0.1.39

CreateFsDir 创建目录

创建目录 (目前已上线的局点:上海一、上海二、北京二、北京四、乌兰察布一、广州、贵阳一、中国-香港、亚太-新加坡、亚太-曼谷)

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) CreateFsDirInvoker added in v0.1.39

func (c *SFSTurboClient) CreateFsDirInvoker(request *model.CreateFsDirRequest) *CreateFsDirInvoker

CreateFsDirInvoker 创建目录

func (*SFSTurboClient) CreateFsDirQuota added in v0.1.39

CreateFsDirQuota 创建目标文件夹quota

创建目标文件夹quota。只支持对空目录设置目录quota (目前已上线的局点:上海一、上海二、北京二、北京四、乌兰察布一、广州、贵阳一、中国-香港、亚太-新加坡、亚太-曼谷)

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) CreateFsDirQuotaInvoker added in v0.1.39

func (c *SFSTurboClient) CreateFsDirQuotaInvoker(request *model.CreateFsDirQuotaRequest) *CreateFsDirQuotaInvoker

CreateFsDirQuotaInvoker 创建目标文件夹quota

func (*SFSTurboClient) CreateShare

CreateShare 创建文件系统

创建文件系统。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) CreateShareInvoker added in v0.0.90

func (c *SFSTurboClient) CreateShareInvoker(request *model.CreateShareRequest) *CreateShareInvoker

CreateShareInvoker 创建文件系统

func (*SFSTurboClient) CreateSharedTag

CreateSharedTag 创建共享标签

指定共享添加一个标签。 一个共享上最多有10个标签。 一个共享上的多个标签的key不允许重复。 此接口为幂等接口:如果要添加的key在共享上已存在,则覆盖更新标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) CreateSharedTagInvoker added in v0.0.90

func (c *SFSTurboClient) CreateSharedTagInvoker(request *model.CreateSharedTagRequest) *CreateSharedTagInvoker

CreateSharedTagInvoker 创建共享标签

func (*SFSTurboClient) DeleteFsDir added in v0.1.39

DeleteFsDir 删除文件系统目录

删除文件系统目录 (目前已上线的局点:上海一、上海二、北京二、北京四、乌兰察布一、广州、贵阳一、中国-香港、亚太-新加坡、亚太-曼谷)

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) DeleteFsDirInvoker added in v0.1.39

func (c *SFSTurboClient) DeleteFsDirInvoker(request *model.DeleteFsDirRequest) *DeleteFsDirInvoker

DeleteFsDirInvoker 删除文件系统目录

func (*SFSTurboClient) DeleteFsDirQuota added in v0.1.39

DeleteFsDirQuota 删除目标文件夹quota

删除目标文件夹quota。只支持对空目录进行删除quota (目前已上线的局点:上海一、上海二、北京二、北京四、乌兰察布一、广州、贵阳一、中国-香港、亚太-新加坡、亚太-曼谷)

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) DeleteFsDirQuotaInvoker added in v0.1.39

func (c *SFSTurboClient) DeleteFsDirQuotaInvoker(request *model.DeleteFsDirQuotaRequest) *DeleteFsDirQuotaInvoker

DeleteFsDirQuotaInvoker 删除目标文件夹quota

func (*SFSTurboClient) DeleteShare

DeleteShare 删除文件系统

删除文件系统。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) DeleteShareInvoker added in v0.0.90

func (c *SFSTurboClient) DeleteShareInvoker(request *model.DeleteShareRequest) *DeleteShareInvoker

DeleteShareInvoker 删除文件系统

func (*SFSTurboClient) DeleteSharedTag

DeleteSharedTag 删除共享标签

指定共享删除一个标签。当共享中不存在指定要删除的key时,接口调用将会返回404错误。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) DeleteSharedTagInvoker added in v0.0.90

func (c *SFSTurboClient) DeleteSharedTagInvoker(request *model.DeleteSharedTagRequest) *DeleteSharedTagInvoker

DeleteSharedTagInvoker 删除共享标签

func (*SFSTurboClient) ExpandShare

ExpandShare 扩容文件系统

扩容文件系统。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) ExpandShareInvoker added in v0.0.90

func (c *SFSTurboClient) ExpandShareInvoker(request *model.ExpandShareRequest) *ExpandShareInvoker

ExpandShareInvoker 扩容文件系统

func (*SFSTurboClient) ListSharedTags

ListSharedTags 查询租户所有共享的标签

查询租户所有共享的标签集合。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) ListSharedTagsInvoker added in v0.0.90

func (c *SFSTurboClient) ListSharedTagsInvoker(request *model.ListSharedTagsRequest) *ListSharedTagsInvoker

ListSharedTagsInvoker 查询租户所有共享的标签

func (*SFSTurboClient) ListShares

ListShares 获取文件系统列表

获取文件系统列表

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) ListSharesInvoker added in v0.0.90

func (c *SFSTurboClient) ListSharesInvoker(request *model.ListSharesRequest) *ListSharesInvoker

ListSharesInvoker 获取文件系统列表

func (*SFSTurboClient) ShowFsDir added in v0.1.39

ShowFsDir 查询目录是否存在

查询目录是否存在 (目前已上线的局点:上海一、上海二、北京二、北京四、乌兰察布一、广州、贵阳一、中国-香港、亚太-新加坡、亚太-曼谷)

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) ShowFsDirInvoker added in v0.1.39

func (c *SFSTurboClient) ShowFsDirInvoker(request *model.ShowFsDirRequest) *ShowFsDirInvoker

ShowFsDirInvoker 查询目录是否存在

func (*SFSTurboClient) ShowFsDirQuota added in v0.1.39

ShowFsDirQuota 查询目标文件夹quota

查询目标文件夹quota (目前已上线的局点:上海一、上海二、北京二、北京四、乌兰察布一、广州、贵阳一、中国-香港、亚太-新加坡、亚太-曼谷)

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) ShowFsDirQuotaInvoker added in v0.1.39

func (c *SFSTurboClient) ShowFsDirQuotaInvoker(request *model.ShowFsDirQuotaRequest) *ShowFsDirQuotaInvoker

ShowFsDirQuotaInvoker 查询目标文件夹quota

func (*SFSTurboClient) ShowShare

ShowShare 查询文件系统详细信息

查询SFS Turbo文件系统详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) ShowShareInvoker added in v0.0.90

func (c *SFSTurboClient) ShowShareInvoker(request *model.ShowShareRequest) *ShowShareInvoker

ShowShareInvoker 查询文件系统详细信息

func (*SFSTurboClient) ShowSharedTags

ShowSharedTags 查询共享标签

查询指定共享的所有标签信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) ShowSharedTagsInvoker added in v0.0.90

func (c *SFSTurboClient) ShowSharedTagsInvoker(request *model.ShowSharedTagsRequest) *ShowSharedTagsInvoker

ShowSharedTagsInvoker 查询共享标签

func (*SFSTurboClient) UpdateFsDirQuota added in v0.1.39

UpdateFsDirQuota 更新目标文件夹quota

更新目标文件夹quota (目前已上线的局点:上海一、上海二、北京二、北京四、乌兰察布一、广州、贵阳一、中国-香港、亚太-新加坡、亚太-曼谷)

Please refer to HUAWEI cloud API Explorer for details.

func (*SFSTurboClient) UpdateFsDirQuotaInvoker added in v0.1.39

func (c *SFSTurboClient) UpdateFsDirQuotaInvoker(request *model.UpdateFsDirQuotaRequest) *UpdateFsDirQuotaInvoker

UpdateFsDirQuotaInvoker 更新目标文件夹quota

type ShowFsDirInvoker added in v0.1.39

type ShowFsDirInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowFsDirInvoker) Invoke added in v0.1.39

type ShowFsDirQuotaInvoker added in v0.1.39

type ShowFsDirQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowFsDirQuotaInvoker) Invoke added in v0.1.39

type ShowShareInvoker added in v0.0.90

type ShowShareInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowShareInvoker) Invoke added in v0.0.90

type ShowSharedTagsInvoker added in v0.0.90

type ShowSharedTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSharedTagsInvoker) Invoke added in v0.0.90

type UpdateFsDirQuotaInvoker added in v0.1.39

type UpdateFsDirQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateFsDirQuotaInvoker) Invoke added in v0.1.39

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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