github.com/jfrog/jfrog-cli-go@v1.22.1-0.20200318093948-4826ef344ffd/artifactory/utils/upload.go (about)

     1  package utils
     2  
     3  import (
     4  	"github.com/jfrog/jfrog-cli-go/utils/config"
     5  	"github.com/jfrog/jfrog-client-go/artifactory"
     6  	"github.com/jfrog/jfrog-client-go/utils/io"
     7  )
     8  
     9  func CreateUploadServiceManager(artDetails *config.ArtifactoryDetails, threads int, dryRun bool, progressBar io.Progress) (*artifactory.ArtifactoryServicesManager, error) {
    10  	return CreateServiceManagerWithProgressBar(artDetails, threads, dryRun, progressBar)
    11  }
    12  
    13  type UploadConfiguration struct {
    14  	Deb                   string
    15  	Threads               int
    16  	MinChecksumDeploySize int64
    17  	Symlink               bool
    18  	ExplodeArchive        bool
    19  	Retries               int
    20  }