Versions in this module Expand all Collapse all v0 v0.77.4 Sep 24, 2024 v0.77.3 Sep 20, 2024 v0.77.2 Sep 20, 2024 v0.77.1 Sep 20, 2024 v0.77.0 Jul 30, 2024 v0.75.1 May 7, 2024 v0.74.4 May 1, 2024 v0.74.3 May 1, 2024 v0.74.2 May 1, 2024 v0.74.1 Apr 29, 2024 v0.74.0 Apr 27, 2024 v0.73.1 Apr 25, 2024 v0.73.0 Apr 24, 2024 v0.72.0 Apr 22, 2024 v0.71.0 Apr 19, 2024 v0.70.1 Apr 8, 2024 Changes in this version + const ServiceID + func Copy(context *endly.Context, transfers ...*copy.Rule) (interface{}, error) + func GetResourceWithOptions(context *endly.Context, resource *location.Resource, options ...storage.Option) (*location.Resource, []storage.Option, error) + func IsCompressable(protScheme string) bool + func New() endly.Service + func StorageOptions(ctx *endly.Context, resource *location.Resource, options ...storage.Option) ([]storage.Option, error) + func StorageService(ctx *endly.Context, resources ...*location.Resource) (afs.Service, error) + func UseMemoryService(context *endly.Context) afs.Service + type CopyRequest struct + Assets copy.Assets + Transfers []*copy.Rule + Udf string + func NewCopyRequest(assets copy.Assets, transfers ...*copy.Rule) *CopyRequest + func NewCopyRequestFromURL(URL string) (*CopyRequest, error) + func (r *CopyRequest) Init() error + func (r *CopyRequest) Messages() []*msg.Message + func (r *CopyRequest) Validate() error + type CopyResponse struct + URLs []string + type CreateRequest struct + Dest *location.Resource + IsDir bool + Mode int + Region string + SourceKey string + func (r *CreateRequest) Init() error + func (r *CreateRequest) Validate() error + type CreateResponse struct + Size int + URL string + type DownloadRequest struct + DestKey string + Expect interface{} + Source *location.Resource + Udf string + func (r *DownloadRequest) Messages() []*msg.Message + func (r *DownloadRequest) Validate() error + type DownloadResponse struct + Assert *validator.AssertResponse + Info toolbox.FileInfo + Payload string + Transformed interface{} + type ExistsRequest struct + Assets []*location.Resource + Expect map[string]bool + func (r *ExistsRequest) Validate() error + type ExistsResponse struct + Assert *validator.AssertResponse + Exists map[string]bool + func (r *ExistsResponse) Messages() []*msg.Message + type GenerateRequest struct + Dest *location.Resource + FileCount int + InBackground bool + Index int + IndexVariable string + LineTemplate string + Lines int + Mode int + Size int + SizeInMb int + Template string + func (r *GenerateRequest) Init() error + func (r *GenerateRequest) Messages() []*msg.Message + func (r *GenerateRequest) Validate() error + type GenerateResponse struct + Size int + URLs []string + func (r *GenerateResponse) Messages() []*msg.Message + type ListRequest struct + Content bool + Expect interface{} + Match *copy.Matcher + Recursive bool + Source *location.Resource + func (r *ListRequest) Validate() error + type ListResponse struct + Assert *validator.AssertResponse + Assets []*asset.Resource + URL string + func (r *ListResponse) Messages() []*msg.Message + type RemoveRequest struct + Assets []*location.Resource + func NewRemoveRequest(assets ...*location.Resource) *RemoveRequest + func (r *RemoveRequest) Messages() []*msg.Message + func (r *RemoveRequest) Validate() error + type RemoveResponse struct + Removed []string + type UploadRequest struct + Dest *location.Resource + Mode int + Region string + SourceKey string + Udf string + func (r *UploadRequest) Init() error + func (r *UploadRequest) Messages() []*msg.Message + func (r *UploadRequest) Validate() error + type UploadResponse struct + Size int + Transformed string + URL string