Documentation ¶
Index ¶
- func GenReqDefForBatchAddSharedTags() *def.HttpRequestDef
- func GenReqDefForChangeSecurityGroup() *def.HttpRequestDef
- func GenReqDefForCreateShare() *def.HttpRequestDef
- func GenReqDefForCreateSharedTag() *def.HttpRequestDef
- func GenReqDefForDeleteShare() *def.HttpRequestDef
- func GenReqDefForDeleteSharedTag() *def.HttpRequestDef
- func GenReqDefForExpandShare() *def.HttpRequestDef
- func GenReqDefForListSharedTags() *def.HttpRequestDef
- func GenReqDefForListShares() *def.HttpRequestDef
- func GenReqDefForShowShare() *def.HttpRequestDef
- func GenReqDefForShowSharedTags() *def.HttpRequestDef
- func SFSTurboClientBuilder() *http_client.HcHttpClientBuilder
- type BatchAddSharedTagsInvoker
- type ChangeSecurityGroupInvoker
- type CreateShareInvoker
- type CreateSharedTagInvoker
- type DeleteShareInvoker
- type DeleteSharedTagInvoker
- type ExpandShareInvoker
- type ListSharedTagsInvoker
- type ListSharesInvoker
- type SFSTurboClient
- func (c *SFSTurboClient) BatchAddSharedTags(request *model.BatchAddSharedTagsRequest) (*model.BatchAddSharedTagsResponse, error)
- func (c *SFSTurboClient) BatchAddSharedTagsInvoker(request *model.BatchAddSharedTagsRequest) *BatchAddSharedTagsInvoker
- func (c *SFSTurboClient) ChangeSecurityGroup(request *model.ChangeSecurityGroupRequest) (*model.ChangeSecurityGroupResponse, error)
- func (c *SFSTurboClient) ChangeSecurityGroupInvoker(request *model.ChangeSecurityGroupRequest) *ChangeSecurityGroupInvoker
- func (c *SFSTurboClient) CreateShare(request *model.CreateShareRequest) (*model.CreateShareResponse, error)
- func (c *SFSTurboClient) CreateShareInvoker(request *model.CreateShareRequest) *CreateShareInvoker
- func (c *SFSTurboClient) CreateSharedTag(request *model.CreateSharedTagRequest) (*model.CreateSharedTagResponse, error)
- func (c *SFSTurboClient) CreateSharedTagInvoker(request *model.CreateSharedTagRequest) *CreateSharedTagInvoker
- func (c *SFSTurboClient) DeleteShare(request *model.DeleteShareRequest) (*model.DeleteShareResponse, error)
- func (c *SFSTurboClient) DeleteShareInvoker(request *model.DeleteShareRequest) *DeleteShareInvoker
- func (c *SFSTurboClient) DeleteSharedTag(request *model.DeleteSharedTagRequest) (*model.DeleteSharedTagResponse, error)
- func (c *SFSTurboClient) DeleteSharedTagInvoker(request *model.DeleteSharedTagRequest) *DeleteSharedTagInvoker
- func (c *SFSTurboClient) ExpandShare(request *model.ExpandShareRequest) (*model.ExpandShareResponse, error)
- func (c *SFSTurboClient) ExpandShareInvoker(request *model.ExpandShareRequest) *ExpandShareInvoker
- func (c *SFSTurboClient) ListSharedTags(request *model.ListSharedTagsRequest) (*model.ListSharedTagsResponse, error)
- func (c *SFSTurboClient) ListSharedTagsInvoker(request *model.ListSharedTagsRequest) *ListSharedTagsInvoker
- func (c *SFSTurboClient) ListShares(request *model.ListSharesRequest) (*model.ListSharesResponse, error)
- func (c *SFSTurboClient) ListSharesInvoker(request *model.ListSharesRequest) *ListSharesInvoker
- func (c *SFSTurboClient) ShowShare(request *model.ShowShareRequest) (*model.ShowShareResponse, error)
- func (c *SFSTurboClient) ShowShareInvoker(request *model.ShowShareRequest) *ShowShareInvoker
- func (c *SFSTurboClient) ShowSharedTags(request *model.ShowSharedTagsRequest) (*model.ShowSharedTagsResponse, error)
- func (c *SFSTurboClient) ShowSharedTagsInvoker(request *model.ShowSharedTagsRequest) *ShowSharedTagsInvoker
- type ShowShareInvoker
- type ShowSharedTagsInvoker
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 {
}func (*BatchAddSharedTagsInvoker) Invoke ¶ added in v0.0.90
func (i *BatchAddSharedTagsInvoker) Invoke() (*model.BatchAddSharedTagsResponse, error)
type ChangeSecurityGroupInvoker ¶ added in v0.0.90
type ChangeSecurityGroupInvoker struct {
*invoker.BaseInvoker
}
func (*ChangeSecurityGroupInvoker) Invoke ¶ added in v0.0.90
func (i *ChangeSecurityGroupInvoker) Invoke() (*model.ChangeSecurityGroupResponse, error)
type CreateShareInvoker ¶ added in v0.0.90
type CreateShareInvoker struct {
}func (*CreateShareInvoker) Invoke ¶ added in v0.0.90
func (i *CreateShareInvoker) Invoke() (*model.CreateShareResponse, error)
type CreateSharedTagInvoker ¶ added in v0.0.90
type CreateSharedTagInvoker struct {
}func (*CreateSharedTagInvoker) Invoke ¶ added in v0.0.90
func (i *CreateSharedTagInvoker) Invoke() (*model.CreateSharedTagResponse, error)
type DeleteShareInvoker ¶ added in v0.0.90
type DeleteShareInvoker struct {
}func (*DeleteShareInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteShareInvoker) Invoke() (*model.DeleteShareResponse, error)
type DeleteSharedTagInvoker ¶ added in v0.0.90
type DeleteSharedTagInvoker struct {
}func (*DeleteSharedTagInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteSharedTagInvoker) Invoke() (*model.DeleteSharedTagResponse, error)
type ExpandShareInvoker ¶ added in v0.0.90
type ExpandShareInvoker struct {
}func (*ExpandShareInvoker) Invoke ¶ added in v0.0.90
func (i *ExpandShareInvoker) Invoke() (*model.ExpandShareResponse, error)
type ListSharedTagsInvoker ¶ added in v0.0.90
type ListSharedTagsInvoker struct {
}func (*ListSharedTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListSharedTagsInvoker) Invoke() (*model.ListSharedTagsResponse, error)
type ListSharesInvoker ¶ added in v0.0.90
type ListSharesInvoker struct {
}func (*ListSharesInvoker) Invoke ¶ added in v0.0.90
func (i *ListSharesInvoker) Invoke() (*model.ListSharesResponse, error)
type SFSTurboClient ¶
type SFSTurboClient struct {
HcClient *http_client.HcHttpClient
}
func NewSFSTurboClient ¶
func NewSFSTurboClient(hcClient *http_client.HcHttpClient) *SFSTurboClient
func (*SFSTurboClient) BatchAddSharedTags ¶
func (c *SFSTurboClient) BatchAddSharedTags(request *model.BatchAddSharedTagsRequest) (*model.BatchAddSharedTagsResponse, error)
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 ¶
func (c *SFSTurboClient) ChangeSecurityGroup(request *model.ChangeSecurityGroupRequest) (*model.ChangeSecurityGroupResponse, error)
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 ¶
func (c *SFSTurboClient) CreateShare(request *model.CreateShareRequest) (*model.CreateShareResponse, error)
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 ¶
func (c *SFSTurboClient) CreateSharedTag(request *model.CreateSharedTagRequest) (*model.CreateSharedTagResponse, error)
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 ¶
func (c *SFSTurboClient) DeleteShare(request *model.DeleteShareRequest) (*model.DeleteShareResponse, error)
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 ¶
func (c *SFSTurboClient) DeleteSharedTag(request *model.DeleteSharedTagRequest) (*model.DeleteSharedTagResponse, error)
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 ¶
func (c *SFSTurboClient) ExpandShare(request *model.ExpandShareRequest) (*model.ExpandShareResponse, error)
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 ¶
func (c *SFSTurboClient) ListSharedTags(request *model.ListSharedTagsRequest) (*model.ListSharedTagsResponse, error)
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 ¶
func (c *SFSTurboClient) ListShares(request *model.ListSharesRequest) (*model.ListSharesResponse, error)
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 ¶
func (c *SFSTurboClient) ShowShare(request *model.ShowShareRequest) (*model.ShowShareResponse, error)
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 ¶
func (c *SFSTurboClient) ShowSharedTags(request *model.ShowSharedTagsRequest) (*model.ShowSharedTagsResponse, error)
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 {
}func (*ShowShareInvoker) Invoke ¶ added in v0.0.90
func (i *ShowShareInvoker) Invoke() (*model.ShowShareResponse, error)
type ShowSharedTagsInvoker ¶ added in v0.0.90
type ShowSharedTagsInvoker struct {
}func (*ShowSharedTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowSharedTagsInvoker) Invoke() (*model.ShowSharedTagsResponse, error)