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 SFSTurboClient
- func (c *SFSTurboClient) BatchAddSharedTags(request *model.BatchAddSharedTagsRequest) (*model.BatchAddSharedTagsResponse, error)
- func (c *SFSTurboClient) ChangeSecurityGroup(request *model.ChangeSecurityGroupRequest) (*model.ChangeSecurityGroupResponse, error)
- func (c *SFSTurboClient) CreateShare(request *model.CreateShareRequest) (*model.CreateShareResponse, error)
- func (c *SFSTurboClient) CreateSharedTag(request *model.CreateSharedTagRequest) (*model.CreateSharedTagResponse, error)
- func (c *SFSTurboClient) DeleteShare(request *model.DeleteShareRequest) (*model.DeleteShareResponse, error)
- func (c *SFSTurboClient) DeleteSharedTag(request *model.DeleteSharedTagRequest) (*model.DeleteSharedTagResponse, error)
- func (c *SFSTurboClient) ExpandShare(request *model.ExpandShareRequest) (*model.ExpandShareResponse, error)
- func (c *SFSTurboClient) ListSharedTags(request *model.ListSharedTagsRequest) (*model.ListSharedTagsResponse, error)
- func (c *SFSTurboClient) ListShares(request *model.ListSharesRequest) (*model.ListSharesResponse, error)
- func (c *SFSTurboClient) ShowShare(request *model.ShowShareRequest) (*model.ShowShareResponse, error)
- func (c *SFSTurboClient) ShowSharedTags(request *model.ShowSharedTagsRequest) (*model.ShowSharedTagsResponse, error)
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 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)
指定共享批量添加标签。 一个共享上最多有10个标签。 一个共享上的多个标签的key不允许重复。 此接口为幂等接口:如果要添加的key在共享上已存在,则覆盖更新标签。
func (*SFSTurboClient) ChangeSecurityGroup ¶
func (c *SFSTurboClient) ChangeSecurityGroup(request *model.ChangeSecurityGroupRequest) (*model.ChangeSecurityGroupResponse, error)
修改SFS Turbo文件系统绑定的安全组。修改安全组为异步任务,可以通过“查询单个文件系统”返回的子状态字段“sub_status”来判断是否修改安全组状态,子状态为“232”即为修改安全组成功。
func (*SFSTurboClient) CreateShare ¶
func (c *SFSTurboClient) CreateShare(request *model.CreateShareRequest) (*model.CreateShareResponse, error)
创建文件系统。
func (*SFSTurboClient) CreateSharedTag ¶
func (c *SFSTurboClient) CreateSharedTag(request *model.CreateSharedTagRequest) (*model.CreateSharedTagResponse, error)
指定共享添加一个标签。 一个共享上最多有10个标签。 一个共享上的多个标签的key不允许重复。 此接口为幂等接口:如果要添加的key在共享上已存在,则覆盖更新标签。
func (*SFSTurboClient) DeleteShare ¶
func (c *SFSTurboClient) DeleteShare(request *model.DeleteShareRequest) (*model.DeleteShareResponse, error)
删除文件系统。
func (*SFSTurboClient) DeleteSharedTag ¶
func (c *SFSTurboClient) DeleteSharedTag(request *model.DeleteSharedTagRequest) (*model.DeleteSharedTagResponse, error)
指定共享删除一个标签。当共享中不存在指定要删除的key时,接口调用将会返回404错误。
func (*SFSTurboClient) ExpandShare ¶
func (c *SFSTurboClient) ExpandShare(request *model.ExpandShareRequest) (*model.ExpandShareResponse, error)
扩容文件系统。
func (*SFSTurboClient) ListSharedTags ¶
func (c *SFSTurboClient) ListSharedTags(request *model.ListSharedTagsRequest) (*model.ListSharedTagsResponse, error)
查询租户所有共享的标签集合。
func (*SFSTurboClient) ListShares ¶
func (c *SFSTurboClient) ListShares(request *model.ListSharesRequest) (*model.ListSharesResponse, error)
获取文件系统列表
func (*SFSTurboClient) ShowShare ¶
func (c *SFSTurboClient) ShowShare(request *model.ShowShareRequest) (*model.ShowShareResponse, error)
查询SFS Turbo文件系统详细信息。
func (*SFSTurboClient) ShowSharedTags ¶
func (c *SFSTurboClient) ShowSharedTags(request *model.ShowSharedTagsRequest) (*model.ShowSharedTagsResponse, error)
查询指定共享的所有标签信息。
Click to show internal directories.
Click to hide internal directories.