v1

package
v0.0.96 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 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 GenReqDefForCreateShare

func GenReqDefForCreateShare() *def.HttpRequestDef

func GenReqDefForCreateSharedTag

func GenReqDefForCreateSharedTag() *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 GenReqDefForShowShare

func GenReqDefForShowShare() *def.HttpRequestDef

func GenReqDefForShowSharedTags

func GenReqDefForShowSharedTags() *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 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 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在共享上已存在,则覆盖更新标签。

详细说明请参考华为云API Explorer。 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”即为修改安全组成功。

详细说明请参考华为云API Explorer。 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) CreateShare

CreateShare 创建文件系统

创建文件系统。

详细说明请参考华为云API Explorer。 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在共享上已存在,则覆盖更新标签。

详细说明请参考华为云API Explorer。 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) DeleteShare

DeleteShare 删除文件系统

删除文件系统。

详细说明请参考华为云API Explorer。 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错误。

详细说明请参考华为云API Explorer。 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 扩容文件系统

扩容文件系统。

详细说明请参考华为云API Explorer。 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 查询租户所有共享的标签

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

详细说明请参考华为云API Explorer。 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 获取文件系统列表

获取文件系统列表

详细说明请参考华为云API Explorer。 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) ShowShare

ShowShare 查询文件系统详细信息

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

详细说明请参考华为云API Explorer。 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 查询共享标签

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

详细说明请参考华为云API Explorer。 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 查询共享标签

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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