Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadFileParams ¶
type DownloadFileParams struct { *utils.PathDetails TargetPath string IncludeUnpublished bool Flat bool }
func NewDownloadFileParams ¶
func NewDownloadFileParams() *DownloadFileParams
type DownloadService ¶
type DownloadService struct { BintrayDetails auth.BintrayDetails Threads int MinSplitSize int64 SplitCount int // contains filtered or unexported fields }
func NewDownloadService ¶
func NewDownloadService(client *httpclient.HttpClient) *DownloadService
func (*DownloadService) DownloadFile ¶
func (ds *DownloadService) DownloadFile(downloadParams *DownloadFileParams) (totalDownloded, totalFailed int, err error)
func (*DownloadService) DownloadVersion ¶
func (ds *DownloadService) DownloadVersion(downloadParams *DownloadVersionParams) (totalDownloded, totalFailed int, err error)
type DownloadVersionParams ¶
func NewDownloadVersionParams ¶
func NewDownloadVersionParams() *DownloadVersionParams
type UploadParams ¶
type UploadParams struct { // Files pattern to be uploaded Pattern string // Target version details *versions.Params // Target local path TargetPath string UseRegExp bool Flat bool Recursive bool Explode bool Override bool Publish bool Deb string }
func NewUploadParams ¶
func NewUploadParams() *UploadParams
type UploadService ¶
type UploadService struct { BintrayDetails auth.BintrayDetails DryRun bool Threads int // contains filtered or unexported fields }
func NewUploadService ¶
func NewUploadService(client *httpclient.HttpClient) *UploadService
func (*UploadService) Upload ¶
func (us *UploadService) Upload(uploadDetails *UploadParams) (totalUploaded, totalFailed int, err error)
type VersionFilesResult ¶
type VersionFilesResult struct {
Path string
}
Click to show internal directories.
Click to hide internal directories.