Documentation ¶
Index ¶
- func MakeGetBucketsOpts() cios.ApiGetBucketsRequest
- func MakeGetNodesOpts() cios.ApiGetNodesRequest
- func MakeUploadFileOpts() cios.ApiUploadFileRequest
- type CiosFileStorage
- func (self *CiosFileStorage) CopyNode(ctx ciosctx.RequestCtx, bucketID string, nodeID string, destBucketID *string, ...) (cios.Node, *_nethttp.Response, error)
- func (self *CiosFileStorage) CreateBucket(ctx ciosctx.RequestCtx, resourceOwnerID string, name string) (cios.Bucket, *_nethttp.Response, error)
- func (self *CiosFileStorage) CreateNode(ctx ciosctx.RequestCtx, bucketID string, name string, parentNodeID *string) (cios.Node, *_nethttp.Response, error)
- func (self *CiosFileStorage) CreateNodeOnNodeID(ctx ciosctx.RequestCtx, bucketID string, body cios.NodeRequest) (cios.Node, *_nethttp.Response, error)
- func (self *CiosFileStorage) DeleteBucket(ctx ciosctx.RequestCtx, bucketID string) (*_nethttp.Response, error)
- func (self *CiosFileStorage) DeleteNode(ctx ciosctx.RequestCtx, bucketID string, nodeID string) (*_nethttp.Response, error)
- func (self *CiosFileStorage) DownloadFile(ctx ciosctx.RequestCtx, bucketID string, nodeID string) ([]byte, *_nethttp.Response, error)
- func (self *CiosFileStorage) DownloadFileByKey(ctx ciosctx.RequestCtx, bucketID string, key string) ([]byte, *_nethttp.Response, error)
- func (self *CiosFileStorage) GetBucket(ctx ciosctx.RequestCtx, bucketID string) (cios.Bucket, *_nethttp.Response, error)
- func (self *CiosFileStorage) GetBucketByResourceOwnerIDAndName(ctx ciosctx.RequestCtx, resourceOwnerID string, name string) (cios.Bucket, *_nethttp.Response, error)
- func (self *CiosFileStorage) GetBuckets(ctx ciosctx.RequestCtx, params cios.ApiGetBucketsRequest) (response cios.MultipleBucket, httpResponse *_nethttp.Response, err error)
- func (self *CiosFileStorage) GetBucketsAll(ctx ciosctx.RequestCtx, params cios.ApiGetBucketsRequest) ([]cios.Bucket, *_nethttp.Response, error)
- func (self *CiosFileStorage) GetBucketsUnlimited(ctx ciosctx.RequestCtx, params cios.ApiGetBucketsRequest) ([]cios.Bucket, *_nethttp.Response, error)
- func (self *CiosFileStorage) GetNode(ctx ciosctx.RequestCtx, bucketID string, nodeID string) (cios.Node, *_nethttp.Response, error)
- func (self *CiosFileStorage) GetNodes(ctx ciosctx.RequestCtx, bucketID string, params cios.ApiGetNodesRequest) (response cios.MultipleNode, httpResponse *_nethttp.Response, err error)
- func (self *CiosFileStorage) GetNodesAll(ctx ciosctx.RequestCtx, bucketID string, params cios.ApiGetNodesRequest) ([]cios.Node, *_nethttp.Response, error)
- func (self *CiosFileStorage) GetNodesUnlimited(ctx ciosctx.RequestCtx, bucketID string, params cios.ApiGetNodesRequest) ([]cios.Node, *_nethttp.Response, error)
- func (self *CiosFileStorage) GetOrCreateBucket(ctx ciosctx.RequestCtx, resourceOwnerID string, name string) (cios.Bucket, *_nethttp.Response, error)
- func (self *CiosFileStorage) MoveNode(ctx ciosctx.RequestCtx, bucketID string, nodeID string, destBucketID *string, ...) (cios.Node, *_nethttp.Response, error)
- func (self *CiosFileStorage) RenameNode(ctx ciosctx.RequestCtx, bucketID string, nodeID string, name string) (cios.Node, *_nethttp.Response, error)
- func (self *CiosFileStorage) SetRefresh(refresh func() error)
- func (self *CiosFileStorage) SetWithHost(withHost func(context.Context) context.Context)
- func (self *CiosFileStorage) UpdateBucket(ctx ciosctx.RequestCtx, bucketID string, name string) (*_nethttp.Response, error)
- func (self *CiosFileStorage) UploadFile(ctx ciosctx.RequestCtx, bucketID string, body []byte, ...) (*_nethttp.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeGetBucketsOpts ¶
func MakeGetBucketsOpts() cios.ApiGetBucketsRequest
func MakeGetNodesOpts ¶
func MakeGetNodesOpts() cios.ApiGetNodesRequest
func MakeUploadFileOpts ¶
func MakeUploadFileOpts() cios.ApiUploadFileRequest
Types ¶
type CiosFileStorage ¶
type CiosFileStorage struct { ApiClient *cios.APIClient Url string Host string // contains filtered or unexported fields }
func NewCiosFileStorage ¶
func (*CiosFileStorage) CreateBucket ¶
func (self *CiosFileStorage) CreateBucket(ctx ciosctx.RequestCtx, resourceOwnerID string, name string) (cios.Bucket, *_nethttp.Response, error)
func (*CiosFileStorage) CreateNode ¶
func (*CiosFileStorage) CreateNodeOnNodeID ¶
func (self *CiosFileStorage) CreateNodeOnNodeID(ctx ciosctx.RequestCtx, bucketID string, body cios.NodeRequest) (cios.Node, *_nethttp.Response, error)
func (*CiosFileStorage) DeleteBucket ¶
func (self *CiosFileStorage) DeleteBucket(ctx ciosctx.RequestCtx, bucketID string) (*_nethttp.Response, error)
func (*CiosFileStorage) DeleteNode ¶
func (self *CiosFileStorage) DeleteNode(ctx ciosctx.RequestCtx, bucketID string, nodeID string) (*_nethttp.Response, error)
func (*CiosFileStorage) DownloadFile ¶
func (self *CiosFileStorage) DownloadFile(ctx ciosctx.RequestCtx, bucketID string, nodeID string) ([]byte, *_nethttp.Response, error)
func (*CiosFileStorage) DownloadFileByKey ¶
func (self *CiosFileStorage) DownloadFileByKey(ctx ciosctx.RequestCtx, bucketID string, key string) ([]byte, *_nethttp.Response, error)
func (*CiosFileStorage) GetBucket ¶
func (self *CiosFileStorage) GetBucket(ctx ciosctx.RequestCtx, bucketID string) (cios.Bucket, *_nethttp.Response, error)
func (*CiosFileStorage) GetBucketByResourceOwnerIDAndName ¶
func (self *CiosFileStorage) GetBucketByResourceOwnerIDAndName(ctx ciosctx.RequestCtx, resourceOwnerID string, name string) (cios.Bucket, *_nethttp.Response, error)
func (*CiosFileStorage) GetBuckets ¶
func (self *CiosFileStorage) GetBuckets(ctx ciosctx.RequestCtx, params cios.ApiGetBucketsRequest) (response cios.MultipleBucket, httpResponse *_nethttp.Response, err error)
func (*CiosFileStorage) GetBucketsAll ¶
func (self *CiosFileStorage) GetBucketsAll(ctx ciosctx.RequestCtx, params cios.ApiGetBucketsRequest) ([]cios.Bucket, *_nethttp.Response, error)
func (*CiosFileStorage) GetBucketsUnlimited ¶
func (self *CiosFileStorage) GetBucketsUnlimited(ctx ciosctx.RequestCtx, params cios.ApiGetBucketsRequest) ([]cios.Bucket, *_nethttp.Response, error)
func (*CiosFileStorage) GetNode ¶
func (self *CiosFileStorage) GetNode(ctx ciosctx.RequestCtx, bucketID string, nodeID string) (cios.Node, *_nethttp.Response, error)
func (*CiosFileStorage) GetNodes ¶
func (self *CiosFileStorage) GetNodes(ctx ciosctx.RequestCtx, bucketID string, params cios.ApiGetNodesRequest) (response cios.MultipleNode, httpResponse *_nethttp.Response, err error)
func (*CiosFileStorage) GetNodesAll ¶
func (self *CiosFileStorage) GetNodesAll(ctx ciosctx.RequestCtx, bucketID string, params cios.ApiGetNodesRequest) ([]cios.Node, *_nethttp.Response, error)
func (*CiosFileStorage) GetNodesUnlimited ¶
func (self *CiosFileStorage) GetNodesUnlimited(ctx ciosctx.RequestCtx, bucketID string, params cios.ApiGetNodesRequest) ([]cios.Node, *_nethttp.Response, error)
func (*CiosFileStorage) GetOrCreateBucket ¶
func (self *CiosFileStorage) GetOrCreateBucket(ctx ciosctx.RequestCtx, resourceOwnerID string, name string) (cios.Bucket, *_nethttp.Response, error)
func (*CiosFileStorage) RenameNode ¶
func (*CiosFileStorage) SetRefresh ¶
func (self *CiosFileStorage) SetRefresh(refresh func() error)
func (*CiosFileStorage) SetWithHost ¶
func (self *CiosFileStorage) SetWithHost(withHost func(context.Context) context.Context)
func (*CiosFileStorage) UpdateBucket ¶
func (self *CiosFileStorage) UpdateBucket(ctx ciosctx.RequestCtx, bucketID string, name string) (*_nethttp.Response, error)
func (*CiosFileStorage) UploadFile ¶
func (self *CiosFileStorage) UploadFile(ctx ciosctx.RequestCtx, bucketID string, body []byte, params cios.ApiUploadFileRequest) (*_nethttp.Response, error)
Click to show internal directories.
Click to hide internal directories.