xsky

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 SAuthPasswordReqUser struct {
	// user email for auth
	Email string `json:"email,omitempty"`
	// user id for auth
	Id int64 `json:"id,omitzero"`
	// user name or email for auth
	Name string `json:"name,omitempty"`
	// password for auth
	Password string `json:"password"`
}

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 (*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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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