Documentation
¶
Index ¶
- type SAuthPasswordReq
- type SAuthPasswordReqUser
- type SAuthTokenReq
- type STokenCreateReq
- type STokenCreateReqAuth
- type STokenCreateReqAuthIdentity
- type SXskyAdminApi
- type SXskyBucket
- type SXskyClient
- func (cli *SXskyClient) About() jsonutils.JSONObject
- func (cli *SXskyClient) GetAccountId() string
- func (cli *SXskyClient) GetProvider() string
- func (cli *SXskyClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (cli *SXskyClient) GetVersion() string
- func (cli *SXskyClient) NewBucket(bucket s3cli.BucketInfo) cloudprovider.ICloudBucket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SAuthPasswordReq ¶
type SAuthPasswordReq struct {
User SAuthPasswordReqUser `json:"user"`
}
type SAuthPasswordReqUser ¶
type SAuthTokenReq ¶
type SAuthTokenReq struct {
// uuid of authorized token
Uuid string `json:"uuid"`
}
type STokenCreateReq ¶
type STokenCreateReq struct {
Auth STokenCreateReqAuth `json:"auth"`
}
type STokenCreateReqAuth ¶
type STokenCreateReqAuth struct {
Identity STokenCreateReqAuthIdentity `json:"identity"`
}
type STokenCreateReqAuthIdentity ¶
type STokenCreateReqAuthIdentity struct {
// password for auth
Password SAuthPasswordReq `json:"password,omitempty"`
// token for auth
Token SAuthTokenReq `json:"token,omitempty"`
}
type SXskyAdminApi ¶
type SXskyAdminApi struct {
// contains filtered or unexported fields
}
type SXskyBucket ¶
type SXskyBucket struct {
*objectstore.SBucket
// contains filtered or unexported fields
}
func (*SXskyBucket) GetLimit ¶
func (b *SXskyBucket) GetLimit() cloudprovider.SBucketStats
func (*SXskyBucket) GetStats ¶
func (b *SXskyBucket) GetStats() cloudprovider.SBucketStats
func (*SXskyBucket) LimitSupport ¶
func (b *SXskyBucket) LimitSupport() cloudprovider.SBucketStats
func (*SXskyBucket) SetLimit ¶
func (b *SXskyBucket) SetLimit(limit cloudprovider.SBucketStats) error
type SXskyClient ¶
type SXskyClient struct {
*objectstore.SObjectStoreClient
// contains filtered or unexported fields
}
func NewXskyClient ¶
func NewXskyClient(cfg *objectstore.ObjectStoreClientConfig) (*SXskyClient, error)
func (*SXskyClient) About ¶
func (cli *SXskyClient) About() jsonutils.JSONObject
func (*SXskyClient) GetAccountId ¶
func (cli *SXskyClient) GetAccountId() string
func (*SXskyClient) GetProvider ¶
func (cli *SXskyClient) GetProvider() string
func (*SXskyClient) GetSubAccounts ¶
func (cli *SXskyClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SXskyClient) GetVersion ¶
func (cli *SXskyClient) GetVersion() string
func (*SXskyClient) NewBucket ¶
func (cli *SXskyClient) NewBucket(bucket s3cli.BucketInfo) cloudprovider.ICloudBucket
Click to show internal directories.
Click to hide internal directories.