Documentation ¶
Index ¶
- Constants
- func CollectFilesForUpload(uploadParams UploadParams, progressMgr ioutils.ProgressMgr, ...) error
- func SearchBySpecFiles(searchParams SearchParams, flags utils.CommonConf, ...) (*content.ContentReader, error)
- type Actions
- type AdditionalRepositoryBaseParams
- type AlpineFederatedRepositoryParams
- type AlpineLocalRepositoryParams
- type AlpineRemoteRepositoryParams
- type AlpineVirtualRepositoryParams
- type AqlService
- type ArchiveUploadData
- type ArtifactoryRefreshTokenParams
- type BowerFederatedRepositoryParams
- type BowerLocalRepositoryParams
- type BowerRemoteRepositoryParams
- type BowerVirtualRepositoryParams
- type BuildDistributionBody
- type BuildDistributionParams
- func (bd *BuildDistributionParams) GetBuildName() string
- func (bd *BuildDistributionParams) GetBuildNumber() string
- func (bd *BuildDistributionParams) GetGpgPassphrase() string
- func (bd *BuildDistributionParams) GetSourceRepos() string
- func (bd *BuildDistributionParams) GetTargetRepo() string
- func (bd *BuildDistributionParams) IsAsync() bool
- func (bd *BuildDistributionParams) IsOverrideExistingFiles() bool
- func (bd *BuildDistributionParams) IsPublish() bool
- type BuildInfoParams
- type BuildInfoService
- func (bis *BuildInfoService) GetArtifactoryDetails() auth.ServiceDetails
- func (bis *BuildInfoService) GetBuildInfo(params BuildInfoParams) (pbi *buildinfo.PublishedBuildInfo, found bool, err error)
- func (bis *BuildInfoService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (bis *BuildInfoService) IsDryRun() bool
- func (bis *BuildInfoService) PublishBuildInfo(build *buildinfo.BuildInfo, projectKey string) (*clientutils.Sha256Summary, error)
- type BuildPromotionBody
- type CargoFederatedRepositoryParams
- type CargoLocalRepositoryParams
- type CargoRemoteRepositoryParams
- type CargoRepositoryParams
- type ChefFederatedRepositoryParams
- type ChefLocalRepositoryParams
- type ChefRemoteRepositoryParams
- type ChefVirtualRepositoryParams
- type CocoapodsFederatedRepositoryParams
- type CocoapodsLocalRepositoryParams
- type CocoapodsRemoteRepositoryParams
- type CommonCacheVirtualRepositoryParams
- type CommonJavaVirtualRepositoryParams
- type ComposerFederatedRepositoryParams
- type ComposerLocalRepositoryParams
- type ComposerRemoteRepositoryParams
- type ConanFederatedRepositoryParams
- type ConanLocalRepositoryParams
- type ConanRemoteRepositoryParams
- type ConanVirtualRepositoryParams
- type CondaFederatedRepositoryParams
- type CondaLocalRepositoryParams
- type CondaRemoteRepositoryParams
- type CondaVirtualRepositoryParams
- type ContentSynchronisation
- type ContentSynchronisationProperties
- type ContentSynchronisationSource
- type ContentSynchronisationStatistics
- type CranFederatedRepositoryParams
- type CranLocalRepositoryParams
- type CranRemoteRepositoryParams
- type CranVirtualRepositoryParams
- type CreateReplicationParams
- type CreateReplicationService
- type CreateTokenParams
- type DebianFederatedRepositoryParams
- type DebianLocalRepositoryParams
- type DebianRemoteRepositoryParams
- type DebianRepositoryParams
- type DebianVirtualRepositoryParams
- type DeleteConfiguration
- type DeleteParams
- type DeleteReplicationService
- type DeleteRepositoryService
- type DeleteService
- func (ds *DeleteService) DeleteFiles(deleteItems *content.ContentReader) (int, error)
- func (ds *DeleteService) GetArtifactoryDetails() auth.ServiceDetails
- func (ds *DeleteService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (ds *DeleteService) GetPathsToDelete(deleteParams DeleteParams) (resultItems *content.ContentReader, err error)
- func (ds *DeleteService) GetThreads() int
- func (ds *DeleteService) IsDryRun() bool
- func (ds *DeleteService) SetThreads(threads int)
- type DiscardBuildsBody
- type DiscardBuildsParams
- func (bd *DiscardBuildsParams) GetBuildName() string
- func (bd *DiscardBuildsParams) GetExcludeBuilds() string
- func (bd *DiscardBuildsParams) GetMaxBuilds() string
- func (bd *DiscardBuildsParams) GetMaxDays() string
- func (bd *DiscardBuildsParams) GetProjectKey() string
- func (bd *DiscardBuildsParams) IsAsync() bool
- func (bd *DiscardBuildsParams) IsDeleteArtifacts() bool
- type DiscardBuildsService
- type DistributeService
- type DockerFederatedRepositoryParams
- type DockerLocalRepositoryParams
- type DockerPromoteBody
- type DockerPromoteParams
- func (dp *DockerPromoteParams) GetSourceDockerImage() string
- func (dp *DockerPromoteParams) GetSourceTag() string
- func (dp *DockerPromoteParams) GetTargetDockerRepository() string
- func (dp *DockerPromoteParams) GetTargetRepo() string
- func (dp *DockerPromoteParams) GetTargetTag() string
- func (dp *DockerPromoteParams) IsCopy() bool
- type DockerPromoteService
- type DockerRemoteRepositoryParams
- type DockerRepositoryParams
- type DockerVirtualRepositoryParams
- type DownloadData
- type DownloadParams
- func (ds *DownloadParams) GetFile() *utils.CommonParams
- func (ds *DownloadParams) GetPublicGpgKey() string
- func (ds *DownloadParams) IsBypassArchiveInspection() bool
- func (ds *DownloadParams) IsExplode() bool
- func (ds *DownloadParams) IsFlat() bool
- func (ds *DownloadParams) IsSkipChecksum() bool
- func (ds *DownloadParams) IsSymlink() bool
- func (ds *DownloadParams) ValidateSymlinks() bool
- type DownloadService
- func (ds *DownloadService) DownloadFiles(downloadParams ...DownloadParams) (*utils.OperationSummary, error)
- func (ds *DownloadService) GetArtifactoryDetails() auth.ServiceDetails
- func (ds *DownloadService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (ds *DownloadService) GetThreads() int
- func (ds *DownloadService) IsDryRun() bool
- func (ds *DownloadService) SetDryRun(isDryRun bool)
- func (ds *DownloadService) SetSaveSummary(saveSummary bool)
- func (ds *DownloadService) SetThreads(threads int)
- type ExportBody
- type ExportParams
- type ExportService
- type FederatedRepositoryBaseParams
- type FederatedRepositoryMember
- type FederatedRepositoryService
- func (frs *FederatedRepositoryService) Alpine(params AlpineFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Bower(params BowerFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Cargo(params CargoFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Chef(params ChefFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Cocoapods(params CocoapodsFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Composer(params ComposerFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Conan(params ConanFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Conda(params CondaFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Cran(params CranFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Debian(params DebianFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Docker(params DockerFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Gems(params GemsFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Generic(params GenericFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (frs *FederatedRepositoryService) Gitlfs(params GitlfsFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Go(params GoFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Gradle(params GradleFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Helm(params HelmFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Ivy(params IvyFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Maven(params MavenFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Npm(params NpmFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Nuget(params NugetFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Opkg(params OpkgFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Puppet(params PuppetFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Pypi(params PypiFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Rpm(params RpmFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Sbt(params SbtFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Swift(params SwiftFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Vagrant(params VagrantFederatedRepositoryParams) error
- func (frs *FederatedRepositoryService) Yum(params YumFederatedRepositoryParams) error
- type FederationService
- func (fs *FederationService) ConvertLocalToFederated(repoKey string) error
- func (fs *FederationService) SetArtifactoryDetails(rt auth.ServiceDetails)
- func (fs *FederationService) TriggerFederatedFullSyncAll(repoKey string) error
- func (fs *FederationService) TriggerFederatedFullSyncMirror(repoKey string, mirrorUrl string) error
- type GemsFederatedRepositoryParams
- type GemsLocalRepositoryParams
- type GemsRemoteRepositoryParams
- type GemsVirtualRepositoryParams
- type GenericFederatedRepositoryParams
- type GenericLocalRepositoryParams
- type GenericRemoteRepositoryParams
- type GenericVirtualRepositoryParams
- type GetReplicationService
- type GetTokensResponseData
- type GitLfsCleanParams
- type GitLfsCleanService
- func (glc *GitLfsCleanService) GetArtifactoryDetails() auth.ServiceDetails
- func (glc *GitLfsCleanService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (glc *GitLfsCleanService) GetUnreferencedGitLfsFiles(gitLfsCleanParams GitLfsCleanParams) (*content.ContentReader, error)
- func (glc *GitLfsCleanService) IsDryRun() bool
- type GitlfsFederatedRepositoryParams
- type GitlfsLocalRepositoryParams
- type GitlfsRemoteRepositoryParams
- type GitlfsVirtualRepositoryParams
- type GoFederatedRepositoryParams
- type GoLocalRepositoryParams
- type GoRemoteRepositoryParams
- type GoVirtualRepositoryParams
- type GradleFederatedRepositoryParams
- type GradleLocalRepositoryParams
- type GradleRemoteRepositoryParams
- type GradleVirtualRepositoryParams
- type Group
- type GroupAlreadyExistsError
- type GroupParams
- type GroupService
- func (gs *GroupService) CreateGroup(params GroupParams) error
- func (gs *GroupService) DeleteGroup(name string) error
- func (gs *GroupService) GetAllGroups() (*[]string, error)
- func (gs *GroupService) GetGroup(params GroupParams) (*Group, error)
- func (gs *GroupService) SetArtifactoryDetails(rt auth.ServiceDetails)
- func (gs *GroupService) UpdateGroup(params GroupParams) error
- type HelmFederatedRepositoryParams
- type HelmLocalRepositoryParams
- type HelmRemoteRepositoryParams
- type HelmVirtualRepositoryParams
- type ImportBody
- type ImportParams
- type ImportService
- type IvyFederatedRepositoryParams
- type IvyLocalRepositoryParams
- type IvyRemoteRepositoryParams
- type IvyVirtualRepositoryParams
- type JavaPackageManagersRemoteRepositoryParams
- type JavaPackageManagersRepositoryParams
- type KeyPairRefsRepositoryParams
- type LocalRepositoryBaseParams
- type LocalRepositoryService
- func (lrs *LocalRepositoryService) Alpine(params AlpineLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Bower(params BowerLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Cargo(params CargoLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Chef(params ChefLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Cocoapods(params CocoapodsLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Composer(params ComposerLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Conan(params ConanLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Conda(params CondaLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Cran(params CranLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Debian(params DebianLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Docker(params DockerLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Gems(params GemsLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Generic(params GenericLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (lrs *LocalRepositoryService) Gitlfs(params GitlfsLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Go(params GoLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Gradle(params GradleLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Helm(params HelmLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Ivy(params IvyLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Maven(params MavenLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Npm(params NpmLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Nuget(params NugetLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Opkg(params OpkgLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Puppet(params PuppetLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Pypi(params PypiLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Rpm(params RpmLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Sbt(params SbtLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Swift(params SwiftLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Vagrant(params VagrantLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Yum(params YumLocalRepositoryParams) error
- type MavenFederatedRepositoryParams
- type MavenLocalRepositoryParams
- type MavenRemoteRepositoryParams
- type MavenVirtualRepositoryParams
- type MoveCopyParams
- type MoveCopyService
- func (mc *MoveCopyService) GetArtifactoryDetails() auth.ServiceDetails
- func (mc *MoveCopyService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (mc *MoveCopyService) GetThreads() int
- func (mc *MoveCopyService) IsDryRun() bool
- func (mc *MoveCopyService) MoveCopyServiceMoveFilesWrapper(moveSpecs ...MoveCopyParams) (successCount, failedCount int, err error)
- func (mc *MoveCopyService) SetThreads(threads int)
- type MoveOptions
- type MoveResultItem
- type MoveType
- type NpmFederatedRepositoryParams
- type NpmLocalRepositoryParams
- type NpmRemoteRepositoryParams
- type NpmVirtualRepositoryParams
- type NugetFederatedRepositoryParams
- type NugetLocalRepositoryParams
- type NugetRemoteRepositoryParams
- type NugetRepositoryParams
- type NugetVirtualRepositoryParams
- type OpkgFederatedRepositoryParams
- type OpkgLocalRepositoryParams
- type OpkgRemoteRepositoryParams
- type P2RemoteRepositoryParams
- type P2VirtualRepositoryParams
- type PermissionTargetAlreadyExistsError
- type PermissionTargetParams
- type PermissionTargetSection
- type PermissionTargetService
- func (pts *PermissionTargetService) Create(params PermissionTargetParams) error
- func (pts *PermissionTargetService) Delete(permissionTargetName string) error
- func (pts *PermissionTargetService) Get(permissionTargetName string) (*PermissionTargetParams, error)
- func (pts *PermissionTargetService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (pts *PermissionTargetService) Update(params PermissionTargetParams) error
- type PingService
- type PromoteService
- type PromotionParams
- func (bp *PromotionParams) GetBuildName() string
- func (bp *PromotionParams) GetBuildNumber() string
- func (bp *PromotionParams) GetComment() string
- func (bp *PromotionParams) GetProjectKey() string
- func (bp *PromotionParams) GetProperties() string
- func (bp *PromotionParams) GetSourceRepo() string
- func (bp *PromotionParams) GetStatus() string
- func (bp *PromotionParams) GetTargetRepo() string
- func (bp *PromotionParams) IsCopy() *bool
- func (bp *PromotionParams) IsFailFast() bool
- func (bp *PromotionParams) IsIncludeDependencies() *bool
- type PropsParams
- type PropsService
- func (ps *PropsService) DeleteProps(propsParams PropsParams) (int, error)
- func (ps *PropsService) GetArtifactoryDetails() auth.ServiceDetails
- func (ps *PropsService) GetItemProperties(relativePath string) (*utils.ItemProperties, error)
- func (ps *PropsService) GetThreads() int
- func (ps *PropsService) IsDryRun() bool
- func (ps *PropsService) SetArtifactoryDetails(rt auth.ServiceDetails)
- func (ps *PropsService) SetProps(propsParams PropsParams) (int, error)
- type PuppetFederatedRepositoryParams
- type PuppetLocalRepositoryParams
- type PuppetRemoteRepositoryParams
- type PuppetVirtualRepositoryParams
- type PypiFederatedRepositoryParams
- type PypiLocalRepositoryParams
- type PypiRemoteRepositoryParams
- type PypiVirtualRepositoryParams
- type ReadFileService
- func (ds *ReadFileService) GetArtifactoryDetails() auth.ServiceDetails
- func (ds *ReadFileService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (ds *ReadFileService) IsDryRun() bool
- func (ds *ReadFileService) ReadRemoteFile(downloadPath string) (io.ReadCloser, error)
- func (ds *ReadFileService) SetDryRun(isDryRun bool)
- type ReaderSpecTuple
- type RemoteRepositoryBaseParams
- type RemoteRepositoryService
- func (rrs *RemoteRepositoryService) Alpine(params AlpineRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Bower(params BowerRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Cargo(params CargoRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Chef(params ChefRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Cocoapods(params CocoapodsRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Composer(params ComposerRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Conan(params ConanRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Conda(params CondaRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Cran(params CranRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Debian(params DebianRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Docker(params DockerRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Gems(params GemsRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Generic(params GenericRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (rrs *RemoteRepositoryService) Gitlfs(params GitlfsRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Go(params GoRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Gradle(params GradleRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Helm(params HelmRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Ivy(params IvyRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Maven(params MavenRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Npm(params NpmRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Nuget(params NugetRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Opkg(params OpkgRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) P2(params P2RemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Puppet(params PuppetRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Pypi(params PypiRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Rpm(params RpmRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Sbt(params SbtRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Swift(params SwiftRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Vcs(params VcsRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Yum(params YumRemoteRepositoryParams) error
- type RepositoriesFilterParams
- type RepositoriesService
- func (rs *RepositoriesService) Create(params interface{}, repoName string) error
- func (rs *RepositoriesService) Get(repoKey string, repoDetails interface{}) error
- func (rs *RepositoriesService) GetAll() (*[]RepositoryDetails, error)
- func (rs *RepositoriesService) GetWithFilter(params RepositoriesFilterParams) (*[]RepositoryDetails, error)
- func (rs *RepositoriesService) IsExists(repoKey string) (exists bool, err error)
- func (rs *RepositoriesService) Update(params interface{}, repoName string) error
- type RepositoryBaseParams
- type RepositoryDetails
- type RepositoryService
- type RevokeTokenParams
- type RpmFederatedRepositoryParams
- type RpmLocalRepositoryParams
- type RpmRemoteRepositoryParams
- type RpmRepositoryParams
- type RpmVirtualRepositoryParams
- type SbtFederatedRepositoryParams
- type SbtLocalRepositoryParams
- type SbtRemoteRepositoryParams
- type SbtVirtualRepositoryParams
- type SearchParams
- type SearchService
- type SecurityService
- func (ss *SecurityService) CreateAPIKey() (string, error)
- func (ss *SecurityService) CreateToken(params CreateTokenParams) (auth.CreateTokenResponseData, error)
- func (ss *SecurityService) GetAPIKey() (string, error)
- func (ss *SecurityService) GetTokens() (GetTokensResponseData, error)
- func (ss *SecurityService) GetUserTokens(username string) ([]string, error)
- func (ss *SecurityService) RefreshToken(params ArtifactoryRefreshTokenParams) (auth.CreateTokenResponseData, error)
- func (ss *SecurityService) RegenerateAPIKey() (string, error)
- func (ss *SecurityService) RevokeToken(params RevokeTokenParams) (string, error)
- type StorageService
- func (s *StorageService) FileList(relativePath string, optionalParams utils.FileListParams) (*utils.FileListResponse, error)
- func (s *StorageService) FolderInfo(relativePath string) (*utils.FolderInfo, error)
- func (s *StorageService) GetArtifactoryDetails() auth.ServiceDetails
- func (s *StorageService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (s *StorageService) StorageInfo() (*utils.StorageInfo, error)
- func (s *StorageService) StorageInfoRefresh() error
- type SwiftFederatedRepositoryParams
- type SwiftLocalRepositoryParams
- type SwiftRemoteRepositoryParams
- type SwiftVirtualRepositoryParams
- type SystemService
- func (ss *SystemService) ActivateKeyEncryption() error
- func (ss *SystemService) DeactivateKeyEncryption() (wasEncrypted bool, err error)
- func (ss *SystemService) GetArtifactoryDetails() auth.ServiceDetails
- func (ss *SystemService) GetConfigDescriptor() (string, error)
- func (ss *SystemService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (ss *SystemService) GetRunningNodes() ([]string, error)
- func (ss *SystemService) GetServiceId() (string, error)
- func (ss *SystemService) GetVersion() (string, error)
- func (ss *SystemService) IsDryRun() bool
- type Token
- type UpdateReplicationParams
- type UpdateReplicationService
- type UploadData
- type UploadDataHandlerFunc
- type UploadParams
- type UploadService
- func (us *UploadService) CreateUploadAsZipFunc(uploadResult *utils.Result, targetPath string, archiveData *ArchiveUploadData, ...) parallel.TaskFunc
- func (us *UploadService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (us *UploadService) SetDryRun(isDryRun bool)
- func (us *UploadService) SetSaveSummary(saveSummary bool)
- func (us *UploadService) SetServiceDetails(artDetails auth.ServiceDetails)
- func (us *UploadService) SetThreads(threads int)
- func (us *UploadService) UploadFiles(uploadParams ...UploadParams) (summary *utils.OperationSummary, err error)
- type User
- type UserParams
- type UserService
- func (us *UserService) CreateUser(params UserParams) error
- func (us *UserService) DeleteUser(name string) error
- func (us *UserService) GetAllUsers() ([]*User, error)
- func (us *UserService) GetLockedUsers() ([]string, error)
- func (us *UserService) GetUser(params UserParams) (u *User, err error)
- func (us *UserService) SetArtifactoryDetails(rt auth.ServiceDetails)
- func (us *UserService) UnlockUser(name string) error
- func (us *UserService) UpdateUser(params UserParams) error
- type VagrantFederatedRepositoryParams
- type VagrantLocalRepositoryParams
- type VcsGitRemoteRepositoryParams
- type VcsRemoteRepositoryParams
- type VirtualRepositoryBaseParams
- type VirtualRepositoryService
- func (vrs *VirtualRepositoryService) Alpine(params AlpineVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Bower(params BowerVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Chef(params ChefVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Conan(params ConanVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Conda(params CondaVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Cran(params CranVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Debian(params DebianVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Docker(params DockerVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Gems(params GemsVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Generic(params GenericVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
- func (vrs *VirtualRepositoryService) Gitlfs(params GitlfsVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Go(params GoVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Gradle(params GradleVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Helm(params HelmVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Ivy(params IvyVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Maven(params MavenVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Npm(params NpmVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Nuget(params NugetVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) P2(params P2VirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Puppet(params PuppetVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Pypi(params PypiVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Rpm(params RpmVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Sbt(params SbtVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Swift(params SwiftVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Yum(params YumVirtualRepositoryParams) error
- type XrayScanBody
- type XrayScanParams
- type XrayScanService
- type YumFederatedRepositoryParams
- type YumLocalRepositoryParams
- type YumRemoteRepositoryParams
- type YumVirtualRepositoryParams
Constants ¶
const APIKeyPath = "api/security/apiKey"
const FederatedRepositoryRepoType = "federated"
const LocalRepositoryRepoType = "local"
const RemoteRepositoryRepoType = "remote"
const StorageRestApi = "api/storage/"
const VirtualRepositoryRepoType = "virtual"
Variables ¶
This section is empty.
Functions ¶
func CollectFilesForUpload ¶
func CollectFilesForUpload(uploadParams UploadParams, progressMgr ioutils.ProgressMgr, vcsCache *clientutils.VcsCache, dataHandlerFunc UploadDataHandlerFunc) error
func SearchBySpecFiles ¶
func SearchBySpecFiles(searchParams SearchParams, flags utils.CommonConf, requiredArtifactProps utils.RequiredArtifactProps) (*content.ContentReader, error)
Types ¶
type AdditionalRepositoryBaseParams ¶
type AdditionalRepositoryBaseParams struct { BlackedOut *bool `json:"blackedOut,omitempty"` XrayIndex *bool `json:"xrayIndex,omitempty"` PropertySets []string `json:"propertySets,omitempty"` DownloadRedirect *bool `json:"downloadRedirect,omitempty"` PriorityResolution *bool `json:"priorityResolution,omitempty"` }
type AlpineFederatedRepositoryParams ¶
type AlpineFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewAlpineFederatedRepositoryParams ¶
func NewAlpineFederatedRepositoryParams() AlpineFederatedRepositoryParams
type AlpineLocalRepositoryParams ¶
type AlpineLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewAlpineLocalRepositoryParams ¶
func NewAlpineLocalRepositoryParams() AlpineLocalRepositoryParams
type AlpineRemoteRepositoryParams ¶
type AlpineRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewAlpineRemoteRepositoryParams ¶
func NewAlpineRemoteRepositoryParams() AlpineRemoteRepositoryParams
type AlpineVirtualRepositoryParams ¶
type AlpineVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams }
func NewAlpineVirtualRepositoryParams ¶
func NewAlpineVirtualRepositoryParams() AlpineVirtualRepositoryParams
type AqlService ¶
type AqlService struct {
// contains filtered or unexported fields
}
func NewAqlService ¶
func NewAqlService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *AqlService
func (*AqlService) ExecAql ¶
func (s *AqlService) ExecAql(aql string) (io.ReadCloser, error)
func (*AqlService) GetArtifactoryDetails ¶
func (s *AqlService) GetArtifactoryDetails() auth.ServiceDetails
func (*AqlService) GetJfrogHttpClient ¶
func (s *AqlService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*AqlService) IsDryRun ¶
func (s *AqlService) IsDryRun() bool
type ArchiveUploadData ¶
type ArchiveUploadData struct {
// contains filtered or unexported fields
}
func (*ArchiveUploadData) GetWriter ¶
func (aud *ArchiveUploadData) GetWriter() *content.ContentWriter
func (*ArchiveUploadData) SetUploadParams ¶
func (aud *ArchiveUploadData) SetUploadParams(uploadParams UploadParams) *ArchiveUploadData
func (*ArchiveUploadData) SetWriter ¶
func (aud *ArchiveUploadData) SetWriter(writer *content.ContentWriter) *ArchiveUploadData
type ArtifactoryRefreshTokenParams ¶
type ArtifactoryRefreshTokenParams struct { Token CreateTokenParams RefreshToken string AccessToken string }
func NewArtifactoryRefreshTokenParams ¶
func NewArtifactoryRefreshTokenParams() ArtifactoryRefreshTokenParams
type BowerFederatedRepositoryParams ¶
type BowerFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewBowerFederatedRepositoryParams ¶
func NewBowerFederatedRepositoryParams() BowerFederatedRepositoryParams
type BowerLocalRepositoryParams ¶
type BowerLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewBowerLocalRepositoryParams ¶
func NewBowerLocalRepositoryParams() BowerLocalRepositoryParams
type BowerRemoteRepositoryParams ¶
type BowerRemoteRepositoryParams struct { RemoteRepositoryBaseParams VcsGitRemoteRepositoryParams BowerRegistryUrl string `json:"bowerRegistryUrl,omitempty"` }
func NewBowerRemoteRepositoryParams ¶
func NewBowerRemoteRepositoryParams() BowerRemoteRepositoryParams
type BowerVirtualRepositoryParams ¶
type BowerVirtualRepositoryParams struct { VirtualRepositoryBaseParams ExternalDependenciesEnabled *bool `json:"externalDependenciesEnabled,omitempty"` ExternalDependenciesPatterns []string `json:"externalDependenciesPatterns,omitempty"` ExternalDependenciesRemoteRepo string `json:"externalDependenciesRemoteRepo,omitempty"` }
func NewBowerVirtualRepositoryParams ¶
func NewBowerVirtualRepositoryParams() BowerVirtualRepositoryParams
type BuildDistributionBody ¶
type BuildDistributionBody struct { SourceRepos []string `json:"sourceRepos,omitempty"` TargetRepo string `json:"targetRepo,omitempty"` GpgPassphrase string `json:"gpgPassphrase,omitempty"` Publish bool `json:"publish"` OverrideExistingFiles *bool `json:"overrideExistingFiles,omitempty"` Async *bool `json:"async,omitempty"` DryRun *bool `json:"dryRun,omitempty"` }
type BuildDistributionParams ¶
type BuildDistributionParams struct { SourceRepos string TargetRepo string GpgPassphrase string Publish bool OverrideExistingFiles bool Async bool BuildName string BuildNumber string }
func NewBuildDistributionParams ¶
func NewBuildDistributionParams() BuildDistributionParams
func (*BuildDistributionParams) GetBuildName ¶
func (bd *BuildDistributionParams) GetBuildName() string
func (*BuildDistributionParams) GetBuildNumber ¶
func (bd *BuildDistributionParams) GetBuildNumber() string
func (*BuildDistributionParams) GetGpgPassphrase ¶
func (bd *BuildDistributionParams) GetGpgPassphrase() string
func (*BuildDistributionParams) GetSourceRepos ¶
func (bd *BuildDistributionParams) GetSourceRepos() string
func (*BuildDistributionParams) GetTargetRepo ¶
func (bd *BuildDistributionParams) GetTargetRepo() string
func (*BuildDistributionParams) IsAsync ¶
func (bd *BuildDistributionParams) IsAsync() bool
func (*BuildDistributionParams) IsOverrideExistingFiles ¶
func (bd *BuildDistributionParams) IsOverrideExistingFiles() bool
func (*BuildDistributionParams) IsPublish ¶
func (bd *BuildDistributionParams) IsPublish() bool
type BuildInfoParams ¶
func NewBuildInfoParams ¶
func NewBuildInfoParams() BuildInfoParams
type BuildInfoService ¶
type BuildInfoService struct { DryRun bool // contains filtered or unexported fields }
func NewBuildInfoService ¶
func NewBuildInfoService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *BuildInfoService
func (*BuildInfoService) GetArtifactoryDetails ¶
func (bis *BuildInfoService) GetArtifactoryDetails() auth.ServiceDetails
func (*BuildInfoService) GetBuildInfo ¶
func (bis *BuildInfoService) GetBuildInfo(params BuildInfoParams) (pbi *buildinfo.PublishedBuildInfo, found bool, err error)
Returns the build info and its uri of the provided parameters. If build info was not found (404), returns found=false (with error nil). For any other response that isn't 200, an error is returned.
func (*BuildInfoService) GetJfrogHttpClient ¶
func (bis *BuildInfoService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*BuildInfoService) IsDryRun ¶
func (bis *BuildInfoService) IsDryRun() bool
func (*BuildInfoService) PublishBuildInfo ¶
func (bis *BuildInfoService) PublishBuildInfo(build *buildinfo.BuildInfo, projectKey string) (*clientutils.Sha256Summary, error)
type BuildPromotionBody ¶
type BuildPromotionBody struct { Comment string `json:"comment,omitempty"` SourceRepo string `json:"sourceRepo,omitempty"` TargetRepo string `json:"targetRepo,omitempty"` Status string `json:"status,omitempty"` IncludeDependencies *bool `json:"dependencies,omitempty"` Copy *bool `json:"copy,omitempty"` // Notice that FailFast is boolean and therfore if not assigned, FailFast is false. FailFast bool `json:"failFast"` DryRun *bool `json:"dryRun,omitempty"` Properties map[string][]string `json:"properties,omitempty"` }
type CargoFederatedRepositoryParams ¶
type CargoFederatedRepositoryParams struct { FederatedRepositoryBaseParams CargoRepositoryParams }
func NewCargoFederatedRepositoryParams ¶
func NewCargoFederatedRepositoryParams() CargoFederatedRepositoryParams
type CargoLocalRepositoryParams ¶
type CargoLocalRepositoryParams struct { LocalRepositoryBaseParams CargoRepositoryParams }
func NewCargoLocalRepositoryParams ¶
func NewCargoLocalRepositoryParams() CargoLocalRepositoryParams
type CargoRemoteRepositoryParams ¶
type CargoRemoteRepositoryParams struct { RemoteRepositoryBaseParams CargoRepositoryParams GitRegistryUrl string `json:"gitRegistryUrl,omitempty"` }
func NewCargoRemoteRepositoryParams ¶
func NewCargoRemoteRepositoryParams() CargoRemoteRepositoryParams
type CargoRepositoryParams ¶
type CargoRepositoryParams struct {
CargoAnonymousAccess *bool `json:"cargoAnonymousAccess,omitempty"`
}
type ChefFederatedRepositoryParams ¶
type ChefFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewChefFederatedRepositoryParams ¶
func NewChefFederatedRepositoryParams() ChefFederatedRepositoryParams
type ChefLocalRepositoryParams ¶
type ChefLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewChefLocalRepositoryParams ¶
func NewChefLocalRepositoryParams() ChefLocalRepositoryParams
type ChefRemoteRepositoryParams ¶
type ChefRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewChefRemoteRepositoryParams ¶
func NewChefRemoteRepositoryParams() ChefRemoteRepositoryParams
type ChefVirtualRepositoryParams ¶
type ChefVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams }
func NewChefVirtualRepositoryParams ¶
func NewChefVirtualRepositoryParams() ChefVirtualRepositoryParams
type CocoapodsFederatedRepositoryParams ¶
type CocoapodsFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewCocoapodsFederatedRepositoryParams ¶
func NewCocoapodsFederatedRepositoryParams() CocoapodsFederatedRepositoryParams
type CocoapodsLocalRepositoryParams ¶
type CocoapodsLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewCocoapodsLocalRepositoryParams ¶
func NewCocoapodsLocalRepositoryParams() CocoapodsLocalRepositoryParams
type CocoapodsRemoteRepositoryParams ¶
type CocoapodsRemoteRepositoryParams struct { RemoteRepositoryBaseParams VcsGitRemoteRepositoryParams PodsSpecsRepoUrl string `json:"podsSpecsRepoUrl,omitempty"` }
func NewCocoapodsRemoteRepositoryParams ¶
func NewCocoapodsRemoteRepositoryParams() CocoapodsRemoteRepositoryParams
type CommonCacheVirtualRepositoryParams ¶
type CommonCacheVirtualRepositoryParams struct {
VirtualRetrievalCachePeriodSecs int `json:"virtualRetrievalCachePeriodSecs,omitempty"`
}
type ComposerFederatedRepositoryParams ¶
type ComposerFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewComposerFederatedRepositoryParams ¶
func NewComposerFederatedRepositoryParams() ComposerFederatedRepositoryParams
type ComposerLocalRepositoryParams ¶
type ComposerLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewComposerLocalRepositoryParams ¶
func NewComposerLocalRepositoryParams() ComposerLocalRepositoryParams
type ComposerRemoteRepositoryParams ¶
type ComposerRemoteRepositoryParams struct { RemoteRepositoryBaseParams VcsGitRemoteRepositoryParams ComposerRegistryUrl string `json:"composerRegistryUrl,omitempty"` }
func NewComposerRemoteRepositoryParams ¶
func NewComposerRemoteRepositoryParams() ComposerRemoteRepositoryParams
type ConanFederatedRepositoryParams ¶
type ConanFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewConanFederatedRepositoryParams ¶
func NewConanFederatedRepositoryParams() ConanFederatedRepositoryParams
type ConanLocalRepositoryParams ¶
type ConanLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewConanLocalRepositoryParams ¶
func NewConanLocalRepositoryParams() ConanLocalRepositoryParams
type ConanRemoteRepositoryParams ¶
type ConanRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewConanRemoteRepositoryParams ¶
func NewConanRemoteRepositoryParams() ConanRemoteRepositoryParams
type ConanVirtualRepositoryParams ¶
type ConanVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams }
func NewConanVirtualRepositoryParams ¶
func NewConanVirtualRepositoryParams() ConanVirtualRepositoryParams
type CondaFederatedRepositoryParams ¶
type CondaFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewCondaFederatedRepositoryParams ¶
func NewCondaFederatedRepositoryParams() CondaFederatedRepositoryParams
type CondaLocalRepositoryParams ¶
type CondaLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewCondaLocalRepositoryParams ¶
func NewCondaLocalRepositoryParams() CondaLocalRepositoryParams
type CondaRemoteRepositoryParams ¶
type CondaRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewCondaRemoteRepositoryParams ¶
func NewCondaRemoteRepositoryParams() CondaRemoteRepositoryParams
type CondaVirtualRepositoryParams ¶
type CondaVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams }
func NewCondaVirtualRepositoryParams ¶
func NewCondaVirtualRepositoryParams() CondaVirtualRepositoryParams
type ContentSynchronisation ¶
type ContentSynchronisation struct { Enabled *bool `json:"enabled,omitempty"` Statistics *ContentSynchronisationStatistics `json:"statistics,omitempty"` Properties *ContentSynchronisationProperties `json:"properties,omitempty"` Source *ContentSynchronisationSource `json:"source,omitempty"` }
type ContentSynchronisationProperties ¶
type ContentSynchronisationProperties struct {
Enabled *bool `json:"enabled,omitempty"`
}
type ContentSynchronisationSource ¶
type ContentSynchronisationSource struct {
OriginAbsenceDetection *bool `json:"originAbsenceDetection,omitempty"`
}
type ContentSynchronisationStatistics ¶
type ContentSynchronisationStatistics struct {
Enabled *bool `json:"enabled,omitempty"`
}
type CranFederatedRepositoryParams ¶
type CranFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewCranFederatedRepositoryParams ¶
func NewCranFederatedRepositoryParams() CranFederatedRepositoryParams
type CranLocalRepositoryParams ¶
type CranLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewCranLocalRepositoryParams ¶
func NewCranLocalRepositoryParams() CranLocalRepositoryParams
type CranRemoteRepositoryParams ¶
type CranRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewCranRemoteRepositoryParams ¶
func NewCranRemoteRepositoryParams() CranRemoteRepositoryParams
type CranVirtualRepositoryParams ¶
type CranVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams }
func NewCranVirtualRepositoryParams ¶
func NewCranVirtualRepositoryParams() CranVirtualRepositoryParams
type CreateReplicationParams ¶
type CreateReplicationParams struct {
utils.ReplicationParams
}
func NewCreateReplicationParams ¶
func NewCreateReplicationParams() CreateReplicationParams
type CreateReplicationService ¶
type CreateReplicationService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewCreateReplicationService ¶
func NewCreateReplicationService(client *jfroghttpclient.JfrogHttpClient) *CreateReplicationService
func (*CreateReplicationService) CreateReplication ¶
func (rs *CreateReplicationService) CreateReplication(params CreateReplicationParams) error
func (*CreateReplicationService) GetJfrogHttpClient ¶
func (rs *CreateReplicationService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
type CreateTokenParams ¶
type CreateTokenParams struct { Scope string Username string ExpiresIn int Refreshable bool Audience string }
func NewCreateTokenParams ¶
func NewCreateTokenParams() CreateTokenParams
type DebianFederatedRepositoryParams ¶
type DebianFederatedRepositoryParams struct { FederatedRepositoryBaseParams DebianRepositoryParams }
func NewDebianFederatedRepositoryParams ¶
func NewDebianFederatedRepositoryParams() DebianFederatedRepositoryParams
type DebianLocalRepositoryParams ¶
type DebianLocalRepositoryParams struct { LocalRepositoryBaseParams DebianRepositoryParams }
func NewDebianLocalRepositoryParams ¶
func NewDebianLocalRepositoryParams() DebianLocalRepositoryParams
type DebianRemoteRepositoryParams ¶
type DebianRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewDebianRemoteRepositoryParams ¶
func NewDebianRemoteRepositoryParams() DebianRemoteRepositoryParams
type DebianRepositoryParams ¶
type DebianVirtualRepositoryParams ¶
type DebianVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams DebianDefaultArchitectures string `json:"debianDefaultArchitectures,omitempty"` OptionalIndexCompressionFormats []string `json:"optionalIndexCompressionFormats,omitempty"` }
func NewDebianVirtualRepositoryParams ¶
func NewDebianVirtualRepositoryParams() DebianVirtualRepositoryParams
type DeleteConfiguration ¶
type DeleteConfiguration struct { ArtDetails auth.ServiceDetails DryRun bool }
func (*DeleteConfiguration) GetArtifactoryDetails ¶
func (conf *DeleteConfiguration) GetArtifactoryDetails() auth.ServiceDetails
func (*DeleteConfiguration) IsDryRun ¶
func (conf *DeleteConfiguration) IsDryRun() bool
func (*DeleteConfiguration) SetArtifactoryDetails ¶
func (conf *DeleteConfiguration) SetArtifactoryDetails(art auth.ServiceDetails)
type DeleteParams ¶
type DeleteParams struct {
*utils.CommonParams
}
func NewDeleteParams ¶
func NewDeleteParams() DeleteParams
func (*DeleteParams) GetFile ¶
func (ds *DeleteParams) GetFile() *utils.CommonParams
func (*DeleteParams) SetIncludeDirs ¶
func (ds *DeleteParams) SetIncludeDirs(includeDirs bool)
type DeleteReplicationService ¶
type DeleteReplicationService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewDeleteReplicationService ¶
func NewDeleteReplicationService(client *jfroghttpclient.JfrogHttpClient) *DeleteReplicationService
func (*DeleteReplicationService) DeleteReplication ¶
func (drs *DeleteReplicationService) DeleteReplication(repoKey string) error
func (*DeleteReplicationService) GetJfrogHttpClient ¶
func (drs *DeleteReplicationService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
type DeleteRepositoryService ¶
type DeleteRepositoryService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewDeleteRepositoryService ¶
func NewDeleteRepositoryService(client *jfroghttpclient.JfrogHttpClient) *DeleteRepositoryService
func (*DeleteRepositoryService) Delete ¶
func (drs *DeleteRepositoryService) Delete(repoKey string) error
func (*DeleteRepositoryService) GetJfrogHttpClient ¶
func (drs *DeleteRepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
type DeleteService ¶
func NewDeleteService ¶
func NewDeleteService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *DeleteService
func (*DeleteService) DeleteFiles ¶
func (ds *DeleteService) DeleteFiles(deleteItems *content.ContentReader) (int, error)
func (*DeleteService) GetArtifactoryDetails ¶
func (ds *DeleteService) GetArtifactoryDetails() auth.ServiceDetails
func (*DeleteService) GetJfrogHttpClient ¶
func (ds *DeleteService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*DeleteService) GetPathsToDelete ¶
func (ds *DeleteService) GetPathsToDelete(deleteParams DeleteParams) (resultItems *content.ContentReader, err error)
func (*DeleteService) GetThreads ¶
func (ds *DeleteService) GetThreads() int
func (*DeleteService) IsDryRun ¶
func (ds *DeleteService) IsDryRun() bool
func (*DeleteService) SetThreads ¶
func (ds *DeleteService) SetThreads(threads int)
type DiscardBuildsBody ¶
type DiscardBuildsParams ¶
type DiscardBuildsParams struct { DeleteArtifacts bool BuildName string ProjectKey string MaxDays string MaxBuilds string ExcludeBuilds string Async bool }
func NewDiscardBuildsParams ¶
func NewDiscardBuildsParams() DiscardBuildsParams
func (*DiscardBuildsParams) GetBuildName ¶
func (bd *DiscardBuildsParams) GetBuildName() string
func (*DiscardBuildsParams) GetExcludeBuilds ¶
func (bd *DiscardBuildsParams) GetExcludeBuilds() string
func (*DiscardBuildsParams) GetMaxBuilds ¶
func (bd *DiscardBuildsParams) GetMaxBuilds() string
func (*DiscardBuildsParams) GetMaxDays ¶
func (bd *DiscardBuildsParams) GetMaxDays() string
func (*DiscardBuildsParams) GetProjectKey ¶
func (bd *DiscardBuildsParams) GetProjectKey() string
func (*DiscardBuildsParams) IsAsync ¶
func (bd *DiscardBuildsParams) IsAsync() bool
func (*DiscardBuildsParams) IsDeleteArtifacts ¶
func (bd *DiscardBuildsParams) IsDeleteArtifacts() bool
type DiscardBuildsService ¶
type DiscardBuildsService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewDiscardBuildsService ¶
func NewDiscardBuildsService(client *jfroghttpclient.JfrogHttpClient) *DiscardBuildsService
func (*DiscardBuildsService) DiscardBuilds ¶
func (ds *DiscardBuildsService) DiscardBuilds(params DiscardBuildsParams) error
type DistributeService ¶
type DistributeService struct { ArtDetails auth.ServiceDetails DryRun bool // contains filtered or unexported fields }
func NewDistributionService ¶
func NewDistributionService(client *jfroghttpclient.JfrogHttpClient) *DistributeService
func (*DistributeService) BuildDistribute ¶
func (ds *DistributeService) BuildDistribute(params BuildDistributionParams) error
type DockerFederatedRepositoryParams ¶
type DockerFederatedRepositoryParams struct { FederatedRepositoryBaseParams DockerRepositoryParams }
func NewDockerFederatedRepositoryParams ¶
func NewDockerFederatedRepositoryParams() DockerFederatedRepositoryParams
type DockerLocalRepositoryParams ¶
type DockerLocalRepositoryParams struct { LocalRepositoryBaseParams DockerRepositoryParams }
func NewDockerLocalRepositoryParams ¶
func NewDockerLocalRepositoryParams() DockerLocalRepositoryParams
type DockerPromoteBody ¶
type DockerPromoteParams ¶
type DockerPromoteParams struct { // Mandatory: // The name of the source repository in Artifactory, e.g. "docker-local-1". Supported by local repositories only. SourceRepo string // The name of the target repository in Artifactory, e.g. "docker-local-2". Supported by local repositories only. TargetRepo string // The name of the source Docker image, e.g. "hello-world". SourceDockerImage string // Optional: // The name of the target Docker image, e.g "hello-world2". If not specified - will use the same name as 'SourceDockerImage'. TargetDockerImage string // The name of the source image tag. If not specified - the entire docker repository will be promoted. SourceTag string // The name of the target image tag. If not specified - will use the same tag as 'SourceTag'. TargetTag string // If set to true, will do copy instead of move. Copy bool }
func NewDockerPromoteParams ¶
func NewDockerPromoteParams(sourceDockerImage, sourceRepo, targetRepo string) DockerPromoteParams
func (*DockerPromoteParams) GetSourceDockerImage ¶
func (dp *DockerPromoteParams) GetSourceDockerImage() string
func (*DockerPromoteParams) GetSourceTag ¶
func (dp *DockerPromoteParams) GetSourceTag() string
func (*DockerPromoteParams) GetTargetDockerRepository ¶
func (dp *DockerPromoteParams) GetTargetDockerRepository() string
func (*DockerPromoteParams) GetTargetRepo ¶
func (dp *DockerPromoteParams) GetTargetRepo() string
func (*DockerPromoteParams) GetTargetTag ¶
func (dp *DockerPromoteParams) GetTargetTag() string
func (*DockerPromoteParams) IsCopy ¶
func (dp *DockerPromoteParams) IsCopy() bool
type DockerPromoteService ¶
type DockerPromoteService struct {
// contains filtered or unexported fields
}
func NewDockerPromoteService ¶
func NewDockerPromoteService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *DockerPromoteService
func (*DockerPromoteService) GetArtifactoryDetails ¶
func (ps *DockerPromoteService) GetArtifactoryDetails() auth.ServiceDetails
func (*DockerPromoteService) GetJfrogHttpClient ¶
func (ps *DockerPromoteService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*DockerPromoteService) IsDryRun ¶
func (ps *DockerPromoteService) IsDryRun() bool
func (*DockerPromoteService) PromoteDocker ¶
func (ps *DockerPromoteService) PromoteDocker(params DockerPromoteParams) error
type DockerRemoteRepositoryParams ¶
type DockerRemoteRepositoryParams struct { RemoteRepositoryBaseParams ExternalDependenciesEnabled *bool `json:"externalDependenciesEnabled,omitempty"` ExternalDependenciesPatterns []string `json:"externalDependenciesPatterns,omitempty"` EnableTokenAuthentication *bool `json:"enableTokenAuthentication,omitempty"` BlockPushingSchema1 *bool `json:"blockPushingSchema1,omitempty"` }
func NewDockerRemoteRepositoryParams ¶
func NewDockerRemoteRepositoryParams() DockerRemoteRepositoryParams
type DockerRepositoryParams ¶
type DockerVirtualRepositoryParams ¶
type DockerVirtualRepositoryParams struct { VirtualRepositoryBaseParams ResolveDockerTagsByTimestamp *bool `json:"resolveDockerTagsByTimestamp,omitempty"` }
func NewDockerVirtualRepositoryParams ¶
func NewDockerVirtualRepositoryParams() DockerVirtualRepositoryParams
type DownloadData ¶
type DownloadData struct { Dependency utils.ResultItem DownloadPath string Target string Flat bool }
type DownloadParams ¶
type DownloadParams struct { *utils.CommonParams Symlink bool ValidateSymlink bool Flat bool Explode bool BypassArchiveInspection bool MinSplitSize int64 SplitCount int PublicGpgKey string SkipChecksum bool }
func NewDownloadParams ¶
func NewDownloadParams() DownloadParams
func (*DownloadParams) GetFile ¶
func (ds *DownloadParams) GetFile() *utils.CommonParams
func (*DownloadParams) GetPublicGpgKey ¶
func (ds *DownloadParams) GetPublicGpgKey() string
func (*DownloadParams) IsBypassArchiveInspection ¶
func (ds *DownloadParams) IsBypassArchiveInspection() bool
func (*DownloadParams) IsExplode ¶
func (ds *DownloadParams) IsExplode() bool
func (*DownloadParams) IsFlat ¶
func (ds *DownloadParams) IsFlat() bool
func (*DownloadParams) IsSkipChecksum ¶
func (ds *DownloadParams) IsSkipChecksum() bool
func (*DownloadParams) IsSymlink ¶
func (ds *DownloadParams) IsSymlink() bool
func (*DownloadParams) ValidateSymlinks ¶
func (ds *DownloadParams) ValidateSymlinks() bool
type DownloadService ¶
type DownloadService struct { Progress clientio.ProgressMgr DryRun bool Threads int // contains filtered or unexported fields }
func NewDownloadService ¶
func NewDownloadService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *DownloadService
func (*DownloadService) DownloadFiles ¶
func (ds *DownloadService) DownloadFiles(downloadParams ...DownloadParams) (*utils.OperationSummary, error)
func (*DownloadService) GetArtifactoryDetails ¶
func (ds *DownloadService) GetArtifactoryDetails() auth.ServiceDetails
func (*DownloadService) GetJfrogHttpClient ¶
func (ds *DownloadService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*DownloadService) GetThreads ¶
func (ds *DownloadService) GetThreads() int
func (*DownloadService) IsDryRun ¶
func (ds *DownloadService) IsDryRun() bool
func (*DownloadService) SetDryRun ¶
func (ds *DownloadService) SetDryRun(isDryRun bool)
func (*DownloadService) SetSaveSummary ¶
func (ds *DownloadService) SetSaveSummary(saveSummary bool)
func (*DownloadService) SetThreads ¶
func (ds *DownloadService) SetThreads(threads int)
type ExportBody ¶
type ExportBody struct { ExportPath string `json:"exportPath,omitempty"` IncludeMetadata *bool `json:"includeMetadata,omitempty"` CreateArchive *bool `json:"createArchive,omitempty"` Verbose *bool `json:"verbose,omitempty"` M2 *bool `json:"m2,omitempty"` ExcludeContent *bool `json:"excludeContent,omitempty"` }
type ExportParams ¶
type ExportParams struct { // Mandatory: // A path to a directory on the local file system of Artifactory server ExportPath string // Optional: // If true, repository metadata is included in export (Maven 2 metadata is unaffected by this setting) IncludeMetadata *bool // If true, creates and exports to a Zip archive CreateArchive *bool // If true, prints more verbose logging Verbose *bool // If true, includes Maven 2 repository metadata and checksum files as part of the export M2 *bool // If true, repository binaries are excluded from the export ExcludeContent *bool }
func NewExportParams ¶
func NewExportParams(exportPath string) ExportParams
type ExportService ¶
type ExportService struct { // If true, the export will only print the parameters DryRun bool // contains filtered or unexported fields }
func NewExportService ¶
func NewExportService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *ExportService
func (*ExportService) Export ¶
func (drs *ExportService) Export(exportParams ExportParams) error
func (*ExportService) GetJfrogHttpClient ¶
func (drs *ExportService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
type FederatedRepositoryBaseParams ¶
type FederatedRepositoryBaseParams struct { RepositoryBaseParams AdditionalRepositoryBaseParams KeyPairRefsRepositoryParams ArchiveBrowsingEnabled *bool `json:"archiveBrowsingEnabled,omitempty"` Members []FederatedRepositoryMember `json:"members,omitempty"` }
func NewFederatedRepositoryBaseParams ¶
func NewFederatedRepositoryBaseParams() FederatedRepositoryBaseParams
func NewFederatedRepositoryPackageParams ¶
func NewFederatedRepositoryPackageParams(packageType string) FederatedRepositoryBaseParams
type FederatedRepositoryService ¶
type FederatedRepositoryService struct {
RepositoryService
}
func NewFederatedRepositoryService ¶
func NewFederatedRepositoryService(client *jfroghttpclient.JfrogHttpClient, isUpdate bool) *FederatedRepositoryService
func (*FederatedRepositoryService) Alpine ¶
func (frs *FederatedRepositoryService) Alpine(params AlpineFederatedRepositoryParams) error
func (*FederatedRepositoryService) Bower ¶
func (frs *FederatedRepositoryService) Bower(params BowerFederatedRepositoryParams) error
func (*FederatedRepositoryService) Cargo ¶
func (frs *FederatedRepositoryService) Cargo(params CargoFederatedRepositoryParams) error
func (*FederatedRepositoryService) Chef ¶
func (frs *FederatedRepositoryService) Chef(params ChefFederatedRepositoryParams) error
func (*FederatedRepositoryService) Cocoapods ¶
func (frs *FederatedRepositoryService) Cocoapods(params CocoapodsFederatedRepositoryParams) error
func (*FederatedRepositoryService) Composer ¶
func (frs *FederatedRepositoryService) Composer(params ComposerFederatedRepositoryParams) error
func (*FederatedRepositoryService) Conan ¶
func (frs *FederatedRepositoryService) Conan(params ConanFederatedRepositoryParams) error
func (*FederatedRepositoryService) Conda ¶
func (frs *FederatedRepositoryService) Conda(params CondaFederatedRepositoryParams) error
func (*FederatedRepositoryService) Cran ¶
func (frs *FederatedRepositoryService) Cran(params CranFederatedRepositoryParams) error
func (*FederatedRepositoryService) Debian ¶
func (frs *FederatedRepositoryService) Debian(params DebianFederatedRepositoryParams) error
func (*FederatedRepositoryService) Docker ¶
func (frs *FederatedRepositoryService) Docker(params DockerFederatedRepositoryParams) error
func (*FederatedRepositoryService) Gems ¶
func (frs *FederatedRepositoryService) Gems(params GemsFederatedRepositoryParams) error
func (*FederatedRepositoryService) Generic ¶
func (frs *FederatedRepositoryService) Generic(params GenericFederatedRepositoryParams) error
func (*FederatedRepositoryService) GetJfrogHttpClient ¶
func (frs *FederatedRepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*FederatedRepositoryService) Gitlfs ¶
func (frs *FederatedRepositoryService) Gitlfs(params GitlfsFederatedRepositoryParams) error
func (*FederatedRepositoryService) Go ¶
func (frs *FederatedRepositoryService) Go(params GoFederatedRepositoryParams) error
func (*FederatedRepositoryService) Gradle ¶
func (frs *FederatedRepositoryService) Gradle(params GradleFederatedRepositoryParams) error
func (*FederatedRepositoryService) Helm ¶
func (frs *FederatedRepositoryService) Helm(params HelmFederatedRepositoryParams) error
func (*FederatedRepositoryService) Ivy ¶
func (frs *FederatedRepositoryService) Ivy(params IvyFederatedRepositoryParams) error
func (*FederatedRepositoryService) Maven ¶
func (frs *FederatedRepositoryService) Maven(params MavenFederatedRepositoryParams) error
func (*FederatedRepositoryService) Npm ¶
func (frs *FederatedRepositoryService) Npm(params NpmFederatedRepositoryParams) error
func (*FederatedRepositoryService) Nuget ¶
func (frs *FederatedRepositoryService) Nuget(params NugetFederatedRepositoryParams) error
func (*FederatedRepositoryService) Opkg ¶
func (frs *FederatedRepositoryService) Opkg(params OpkgFederatedRepositoryParams) error
func (*FederatedRepositoryService) Puppet ¶
func (frs *FederatedRepositoryService) Puppet(params PuppetFederatedRepositoryParams) error
func (*FederatedRepositoryService) Pypi ¶
func (frs *FederatedRepositoryService) Pypi(params PypiFederatedRepositoryParams) error
func (*FederatedRepositoryService) Rpm ¶
func (frs *FederatedRepositoryService) Rpm(params RpmFederatedRepositoryParams) error
func (*FederatedRepositoryService) Sbt ¶
func (frs *FederatedRepositoryService) Sbt(params SbtFederatedRepositoryParams) error
func (*FederatedRepositoryService) Swift ¶
func (frs *FederatedRepositoryService) Swift(params SwiftFederatedRepositoryParams) error
func (*FederatedRepositoryService) Vagrant ¶
func (frs *FederatedRepositoryService) Vagrant(params VagrantFederatedRepositoryParams) error
func (*FederatedRepositoryService) Yum ¶
func (frs *FederatedRepositoryService) Yum(params YumFederatedRepositoryParams) error
type FederationService ¶
type FederationService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewFederationService ¶
func NewFederationService(client *jfroghttpclient.JfrogHttpClient) *FederationService
func (*FederationService) ConvertLocalToFederated ¶
func (fs *FederationService) ConvertLocalToFederated(repoKey string) error
func (*FederationService) SetArtifactoryDetails ¶
func (fs *FederationService) SetArtifactoryDetails(rt auth.ServiceDetails)
func (*FederationService) TriggerFederatedFullSyncAll ¶
func (fs *FederationService) TriggerFederatedFullSyncAll(repoKey string) error
func (*FederationService) TriggerFederatedFullSyncMirror ¶
func (fs *FederationService) TriggerFederatedFullSyncMirror(repoKey string, mirrorUrl string) error
type GemsFederatedRepositoryParams ¶
type GemsFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewGemsFederatedRepositoryParams ¶
func NewGemsFederatedRepositoryParams() GemsFederatedRepositoryParams
type GemsLocalRepositoryParams ¶
type GemsLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewGemsLocalRepositoryParams ¶
func NewGemsLocalRepositoryParams() GemsLocalRepositoryParams
type GemsRemoteRepositoryParams ¶
type GemsRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewGemsRemoteRepositoryParams ¶
func NewGemsRemoteRepositoryParams() GemsRemoteRepositoryParams
type GemsVirtualRepositoryParams ¶
type GemsVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewGemsVirtualRepositoryParams ¶
func NewGemsVirtualRepositoryParams() GemsVirtualRepositoryParams
type GenericFederatedRepositoryParams ¶
type GenericFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewGenericFederatedRepositoryParams ¶
func NewGenericFederatedRepositoryParams() GenericFederatedRepositoryParams
type GenericLocalRepositoryParams ¶
type GenericLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewGenericLocalRepositoryParams ¶
func NewGenericLocalRepositoryParams() GenericLocalRepositoryParams
type GenericRemoteRepositoryParams ¶
type GenericRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewGenericRemoteRepositoryParams ¶
func NewGenericRemoteRepositoryParams() GenericRemoteRepositoryParams
type GenericVirtualRepositoryParams ¶
type GenericVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewGenericVirtualRepositoryParams ¶
func NewGenericVirtualRepositoryParams() GenericVirtualRepositoryParams
type GetReplicationService ¶
type GetReplicationService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewGetReplicationService ¶
func NewGetReplicationService(client *jfroghttpclient.JfrogHttpClient) *GetReplicationService
func (*GetReplicationService) GetJfrogHttpClient ¶
func (drs *GetReplicationService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*GetReplicationService) GetReplication ¶
func (drs *GetReplicationService) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
type GetTokensResponseData ¶
type GetTokensResponseData struct {
Tokens []Token
}
type GitLfsCleanParams ¶
func NewGitLfsCleanParams ¶
func NewGitLfsCleanParams() GitLfsCleanParams
func (*GitLfsCleanParams) GetGitPath ¶
func (glc *GitLfsCleanParams) GetGitPath() string
func (*GitLfsCleanParams) GetRef ¶
func (glc *GitLfsCleanParams) GetRef() string
func (*GitLfsCleanParams) GetRepo ¶
func (glc *GitLfsCleanParams) GetRepo() string
type GitLfsCleanService ¶
type GitLfsCleanService struct { DryRun bool // contains filtered or unexported fields }
func NewGitLfsCleanService ¶
func NewGitLfsCleanService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *GitLfsCleanService
func (*GitLfsCleanService) GetArtifactoryDetails ¶
func (glc *GitLfsCleanService) GetArtifactoryDetails() auth.ServiceDetails
func (*GitLfsCleanService) GetJfrogHttpClient ¶
func (glc *GitLfsCleanService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*GitLfsCleanService) GetUnreferencedGitLfsFiles ¶
func (glc *GitLfsCleanService) GetUnreferencedGitLfsFiles(gitLfsCleanParams GitLfsCleanParams) (*content.ContentReader, error)
func (*GitLfsCleanService) IsDryRun ¶
func (glc *GitLfsCleanService) IsDryRun() bool
type GitlfsFederatedRepositoryParams ¶
type GitlfsFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewGitlfsFederatedRepositoryParams ¶
func NewGitlfsFederatedRepositoryParams() GitlfsFederatedRepositoryParams
type GitlfsLocalRepositoryParams ¶
type GitlfsLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewGitlfsLocalRepositoryParams ¶
func NewGitlfsLocalRepositoryParams() GitlfsLocalRepositoryParams
type GitlfsRemoteRepositoryParams ¶
type GitlfsRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewGitlfsRemoteRepositoryParams ¶
func NewGitlfsRemoteRepositoryParams() GitlfsRemoteRepositoryParams
type GitlfsVirtualRepositoryParams ¶
type GitlfsVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewGitlfsVirtualRepositoryParams ¶
func NewGitlfsVirtualRepositoryParams() GitlfsVirtualRepositoryParams
type GoFederatedRepositoryParams ¶
type GoFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewGoFederatedRepositoryParams ¶
func NewGoFederatedRepositoryParams() GoFederatedRepositoryParams
type GoLocalRepositoryParams ¶
type GoLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewGoLocalRepositoryParams ¶
func NewGoLocalRepositoryParams() GoLocalRepositoryParams
type GoRemoteRepositoryParams ¶
type GoRemoteRepositoryParams struct { RemoteRepositoryBaseParams VcsGitProvider string `json:"vcsGitProvider,omitempty"` }
func NewGoRemoteRepositoryParams ¶
func NewGoRemoteRepositoryParams() GoRemoteRepositoryParams
type GoVirtualRepositoryParams ¶
type GoVirtualRepositoryParams struct { VirtualRepositoryBaseParams ExternalDependenciesEnabled *bool `json:"externalDependenciesEnabled,omitempty"` ExternalDependenciesPatterns []string `json:"externalDependenciesPatterns,omitempty"` }
func NewGoVirtualRepositoryParams ¶
func NewGoVirtualRepositoryParams() GoVirtualRepositoryParams
type GradleFederatedRepositoryParams ¶
type GradleFederatedRepositoryParams struct { FederatedRepositoryBaseParams JavaPackageManagersRepositoryParams }
func NewGradleFederatedRepositoryParams ¶
func NewGradleFederatedRepositoryParams() GradleFederatedRepositoryParams
type GradleLocalRepositoryParams ¶
type GradleLocalRepositoryParams struct { LocalRepositoryBaseParams JavaPackageManagersRepositoryParams }
func NewGradleLocalRepositoryParams ¶
func NewGradleLocalRepositoryParams() GradleLocalRepositoryParams
type GradleRemoteRepositoryParams ¶
type GradleRemoteRepositoryParams struct { RemoteRepositoryBaseParams JavaPackageManagersRemoteRepositoryParams }
func NewGradleRemoteRepositoryParams ¶
func NewGradleRemoteRepositoryParams() GradleRemoteRepositoryParams
type GradleVirtualRepositoryParams ¶
type GradleVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonJavaVirtualRepositoryParams }
func NewGradleVirtualRepositoryParams ¶
func NewGradleVirtualRepositoryParams() GradleVirtualRepositoryParams
type Group ¶
type Group struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` AutoJoin *bool `json:"autoJoin,omitempty"` AdminPrivileges *bool `json:"adminPrivileges,omitempty"` Realm string `json:"realm,omitempty"` RealmAttributes string `json:"realmAttributes,omitempty"` UsersNames []string `json:"userNames,omitempty"` }
type GroupAlreadyExistsError ¶
type GroupAlreadyExistsError struct {
InnerError error
}
func (*GroupAlreadyExistsError) Error ¶
func (*GroupAlreadyExistsError) Error() string
type GroupParams ¶
func NewGroupParams ¶
func NewGroupParams() GroupParams
type GroupService ¶
type GroupService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewGroupService ¶
func NewGroupService(client *jfroghttpclient.JfrogHttpClient) *GroupService
func (*GroupService) CreateGroup ¶
func (gs *GroupService) CreateGroup(params GroupParams) error
func (*GroupService) DeleteGroup ¶
func (gs *GroupService) DeleteGroup(name string) error
func (*GroupService) GetAllGroups ¶
func (gs *GroupService) GetAllGroups() (*[]string, error)
func (*GroupService) GetGroup ¶
func (gs *GroupService) GetGroup(params GroupParams) (*Group, error)
func (*GroupService) SetArtifactoryDetails ¶
func (gs *GroupService) SetArtifactoryDetails(rt auth.ServiceDetails)
func (*GroupService) UpdateGroup ¶
func (gs *GroupService) UpdateGroup(params GroupParams) error
type HelmFederatedRepositoryParams ¶
type HelmFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewHelmFederatedRepositoryParams ¶
func NewHelmFederatedRepositoryParams() HelmFederatedRepositoryParams
type HelmLocalRepositoryParams ¶
type HelmLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewHelmLocalRepositoryParams ¶
func NewHelmLocalRepositoryParams() HelmLocalRepositoryParams
type HelmRemoteRepositoryParams ¶
type HelmRemoteRepositoryParams struct { RemoteRepositoryBaseParams ChartsBaseUrl string `json:"chartsBaseUrl,omitempty"` ExternalDependenciesEnabled bool `json:"externalDependenciesEnabled,omitempty"` ExternalDependenciesPatterns []string `json:"externalDependenciesPatterns,omitempty"` }
func NewHelmRemoteRepositoryParams ¶
func NewHelmRemoteRepositoryParams() HelmRemoteRepositoryParams
type HelmVirtualRepositoryParams ¶
type HelmVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams }
func NewHelmVirtualRepositoryParams ¶
func NewHelmVirtualRepositoryParams() HelmVirtualRepositoryParams
type ImportBody ¶
type ImportParams ¶
type ImportParams struct { // Mandatory: // A path to a directory on the local file system of Artifactory server ImportPath string // Optional: // If true, repository metadata is included in import (Maven 2 metadata is unaffected by this setting) IncludeMetadata *bool // If true, prints more verbose logging Verbose *bool // If true, includes Maven 2 repository metadata and checksum files as part of the import M2 *bool // If true, repository binaries are excluded from the import ExcludeContent *bool }
func NewImportParams ¶
func NewImportParams(importPath string) ImportParams
type ImportService ¶
type ImportService struct { // If true, the import will only print the parameters DryRun bool // contains filtered or unexported fields }
func NewImportService ¶
func NewImportService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *ImportService
func (*ImportService) GetJfrogHttpClient ¶
func (drs *ImportService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*ImportService) Import ¶
func (drs *ImportService) Import(importParams ImportParams) error
type IvyFederatedRepositoryParams ¶
type IvyFederatedRepositoryParams struct { FederatedRepositoryBaseParams JavaPackageManagersRepositoryParams }
func NewIvyFederatedRepositoryParams ¶
func NewIvyFederatedRepositoryParams() IvyFederatedRepositoryParams
type IvyLocalRepositoryParams ¶
type IvyLocalRepositoryParams struct { LocalRepositoryBaseParams JavaPackageManagersRepositoryParams }
func NewIvyLocalRepositoryParams ¶
func NewIvyLocalRepositoryParams() IvyLocalRepositoryParams
type IvyRemoteRepositoryParams ¶
type IvyRemoteRepositoryParams struct { RemoteRepositoryBaseParams JavaPackageManagersRemoteRepositoryParams }
func NewIvyRemoteRepositoryParams ¶
func NewIvyRemoteRepositoryParams() IvyRemoteRepositoryParams
type IvyVirtualRepositoryParams ¶
type IvyVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonJavaVirtualRepositoryParams }
func NewIvyVirtualRepositoryParams ¶
func NewIvyVirtualRepositoryParams() IvyVirtualRepositoryParams
type JavaPackageManagersRemoteRepositoryParams ¶
type JavaPackageManagersRemoteRepositoryParams struct { RemoteRepoChecksumPolicyType string `json:"remoteRepoChecksumPolicyType,omitempty"` MaxUniqueSnapshots int `json:"maxUniqueSnapshots,omitempty"` FetchJarsEagerly *bool `json:"fetchJarsEagerly,omitempty"` SuppressPomConsistencyChecks *bool `json:"suppressPomConsistencyChecks,omitempty"` FetchSourcesEagerly *bool `json:"fetchSourcesEagerly,omitempty"` HandleReleases *bool `json:"handleReleases,omitempty"` HandleSnapshots *bool `json:"handleSnapshots,omitempty"` RejectInvalidJars *bool `json:"rejectInvalidJars,omitempty"` }
type JavaPackageManagersRepositoryParams ¶
type JavaPackageManagersRepositoryParams struct { MaxUniqueSnapshots *int `json:"maxUniqueSnapshots,omitempty"` HandleReleases *bool `json:"handleReleases,omitempty"` HandleSnapshots *bool `json:"handleSnapshots,omitempty"` SuppressPomConsistencyChecks *bool `json:"suppressPomConsistencyChecks,omitempty"` SnapshotVersionBehavior string `json:"snapshotVersionBehavior,omitempty"` ChecksumPolicyType string `json:"checksumPolicyType,omitempty"` }
type LocalRepositoryBaseParams ¶
type LocalRepositoryBaseParams struct { RepositoryBaseParams AdditionalRepositoryBaseParams KeyPairRefsRepositoryParams ArchiveBrowsingEnabled *bool `json:"archiveBrowsingEnabled,omitempty"` }
func NewLocalRepositoryBaseParams ¶
func NewLocalRepositoryBaseParams() LocalRepositoryBaseParams
func NewLocalRepositoryPackageParams ¶
func NewLocalRepositoryPackageParams(packageType string) LocalRepositoryBaseParams
type LocalRepositoryService ¶
type LocalRepositoryService struct {
RepositoryService
}
func NewLocalRepositoryService ¶
func NewLocalRepositoryService(client *jfroghttpclient.JfrogHttpClient, isUpdate bool) *LocalRepositoryService
func (*LocalRepositoryService) Alpine ¶
func (lrs *LocalRepositoryService) Alpine(params AlpineLocalRepositoryParams) error
func (*LocalRepositoryService) Bower ¶
func (lrs *LocalRepositoryService) Bower(params BowerLocalRepositoryParams) error
func (*LocalRepositoryService) Cargo ¶
func (lrs *LocalRepositoryService) Cargo(params CargoLocalRepositoryParams) error
func (*LocalRepositoryService) Chef ¶
func (lrs *LocalRepositoryService) Chef(params ChefLocalRepositoryParams) error
func (*LocalRepositoryService) Cocoapods ¶
func (lrs *LocalRepositoryService) Cocoapods(params CocoapodsLocalRepositoryParams) error
func (*LocalRepositoryService) Composer ¶
func (lrs *LocalRepositoryService) Composer(params ComposerLocalRepositoryParams) error
func (*LocalRepositoryService) Conan ¶
func (lrs *LocalRepositoryService) Conan(params ConanLocalRepositoryParams) error
func (*LocalRepositoryService) Conda ¶
func (lrs *LocalRepositoryService) Conda(params CondaLocalRepositoryParams) error
func (*LocalRepositoryService) Cran ¶
func (lrs *LocalRepositoryService) Cran(params CranLocalRepositoryParams) error
func (*LocalRepositoryService) Debian ¶
func (lrs *LocalRepositoryService) Debian(params DebianLocalRepositoryParams) error
func (*LocalRepositoryService) Docker ¶
func (lrs *LocalRepositoryService) Docker(params DockerLocalRepositoryParams) error
func (*LocalRepositoryService) Gems ¶
func (lrs *LocalRepositoryService) Gems(params GemsLocalRepositoryParams) error
func (*LocalRepositoryService) Generic ¶
func (lrs *LocalRepositoryService) Generic(params GenericLocalRepositoryParams) error
func (*LocalRepositoryService) GetJfrogHttpClient ¶
func (lrs *LocalRepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*LocalRepositoryService) Gitlfs ¶
func (lrs *LocalRepositoryService) Gitlfs(params GitlfsLocalRepositoryParams) error
func (*LocalRepositoryService) Go ¶
func (lrs *LocalRepositoryService) Go(params GoLocalRepositoryParams) error
func (*LocalRepositoryService) Gradle ¶
func (lrs *LocalRepositoryService) Gradle(params GradleLocalRepositoryParams) error
func (*LocalRepositoryService) Helm ¶
func (lrs *LocalRepositoryService) Helm(params HelmLocalRepositoryParams) error
func (*LocalRepositoryService) Ivy ¶
func (lrs *LocalRepositoryService) Ivy(params IvyLocalRepositoryParams) error
func (*LocalRepositoryService) Maven ¶
func (lrs *LocalRepositoryService) Maven(params MavenLocalRepositoryParams) error
func (*LocalRepositoryService) Npm ¶
func (lrs *LocalRepositoryService) Npm(params NpmLocalRepositoryParams) error
func (*LocalRepositoryService) Nuget ¶
func (lrs *LocalRepositoryService) Nuget(params NugetLocalRepositoryParams) error
func (*LocalRepositoryService) Opkg ¶
func (lrs *LocalRepositoryService) Opkg(params OpkgLocalRepositoryParams) error
func (*LocalRepositoryService) Puppet ¶
func (lrs *LocalRepositoryService) Puppet(params PuppetLocalRepositoryParams) error
func (*LocalRepositoryService) Pypi ¶
func (lrs *LocalRepositoryService) Pypi(params PypiLocalRepositoryParams) error
func (*LocalRepositoryService) Rpm ¶
func (lrs *LocalRepositoryService) Rpm(params RpmLocalRepositoryParams) error
func (*LocalRepositoryService) Sbt ¶
func (lrs *LocalRepositoryService) Sbt(params SbtLocalRepositoryParams) error
func (*LocalRepositoryService) Swift ¶
func (lrs *LocalRepositoryService) Swift(params SwiftLocalRepositoryParams) error
func (*LocalRepositoryService) Vagrant ¶
func (lrs *LocalRepositoryService) Vagrant(params VagrantLocalRepositoryParams) error
func (*LocalRepositoryService) Yum ¶
func (lrs *LocalRepositoryService) Yum(params YumLocalRepositoryParams) error
type MavenFederatedRepositoryParams ¶
type MavenFederatedRepositoryParams struct { FederatedRepositoryBaseParams JavaPackageManagersRepositoryParams }
func NewMavenFederatedRepositoryParams ¶
func NewMavenFederatedRepositoryParams() MavenFederatedRepositoryParams
type MavenLocalRepositoryParams ¶
type MavenLocalRepositoryParams struct { LocalRepositoryBaseParams JavaPackageManagersRepositoryParams }
func NewMavenLocalRepositoryParams ¶
func NewMavenLocalRepositoryParams() MavenLocalRepositoryParams
type MavenRemoteRepositoryParams ¶
type MavenRemoteRepositoryParams struct { RemoteRepositoryBaseParams JavaPackageManagersRemoteRepositoryParams }
func NewMavenRemoteRepositoryParams ¶
func NewMavenRemoteRepositoryParams() MavenRemoteRepositoryParams
type MavenVirtualRepositoryParams ¶
type MavenVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonJavaVirtualRepositoryParams ForceMavenAuthentication *bool `json:"forceMavenAuthentication,omitempty"` }
func NewMavenVirtualRepositoryParams ¶
func NewMavenVirtualRepositoryParams() MavenVirtualRepositoryParams
type MoveCopyParams ¶
type MoveCopyParams struct { *utils.CommonParams Flat bool }
func NewMoveCopyParams ¶
func NewMoveCopyParams() MoveCopyParams
func (*MoveCopyParams) GetFile ¶
func (mc *MoveCopyParams) GetFile() *utils.CommonParams
func (*MoveCopyParams) IsFlat ¶
func (mc *MoveCopyParams) IsFlat() bool
func (*MoveCopyParams) SetIncludeDir ¶
func (mc *MoveCopyParams) SetIncludeDir(isIncludeDir bool)
type MoveCopyService ¶
func NewMoveCopyService ¶
func NewMoveCopyService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient, moveType MoveType) *MoveCopyService
func (*MoveCopyService) GetArtifactoryDetails ¶
func (mc *MoveCopyService) GetArtifactoryDetails() auth.ServiceDetails
func (*MoveCopyService) GetJfrogHttpClient ¶
func (mc *MoveCopyService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*MoveCopyService) GetThreads ¶
func (mc *MoveCopyService) GetThreads() int
func (*MoveCopyService) IsDryRun ¶
func (mc *MoveCopyService) IsDryRun() bool
func (*MoveCopyService) MoveCopyServiceMoveFilesWrapper ¶
func (mc *MoveCopyService) MoveCopyServiceMoveFilesWrapper(moveSpecs ...MoveCopyParams) (successCount, failedCount int, err error)
func (*MoveCopyService) SetThreads ¶
func (mc *MoveCopyService) SetThreads(threads int)
type MoveOptions ¶
type MoveResultItem ¶
type MoveResultItem struct { utils.ResultItem `json:"resultItem,omitempty"` FileSpecId int `json:"fileSpecId,omitempty"` }
Tuple of a 'ResultItem' and its corresponding file-spec's index. We have to keep the file-spec index for each item as the file-spec's data is required for the actual move/copy, and this operation uses 'content.ContentReader' to hold all items. This is the item used in the 'ContentReader' and 'ContentWriter' of the move/copy.
type NpmFederatedRepositoryParams ¶
type NpmFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewNpmFederatedRepositoryParams ¶
func NewNpmFederatedRepositoryParams() NpmFederatedRepositoryParams
type NpmLocalRepositoryParams ¶
type NpmLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewNpmLocalRepositoryParams ¶
func NewNpmLocalRepositoryParams() NpmLocalRepositoryParams
type NpmRemoteRepositoryParams ¶
type NpmRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewNpmRemoteRepositoryParams ¶
func NewNpmRemoteRepositoryParams() NpmRemoteRepositoryParams
type NpmVirtualRepositoryParams ¶
type NpmVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams ExternalDependenciesEnabled *bool `json:"externalDependenciesEnabled,omitempty"` ExternalDependenciesPatterns []string `json:"externalDependenciesPatterns,omitempty"` ExternalDependenciesRemoteRepo string `json:"externalDependenciesRemoteRepo,omitempty"` }
func NewNpmVirtualRepositoryParams ¶
func NewNpmVirtualRepositoryParams() NpmVirtualRepositoryParams
type NugetFederatedRepositoryParams ¶
type NugetFederatedRepositoryParams struct { FederatedRepositoryBaseParams NugetRepositoryParams }
func NewNugetFederatedRepositoryParams ¶
func NewNugetFederatedRepositoryParams() NugetFederatedRepositoryParams
type NugetLocalRepositoryParams ¶
type NugetLocalRepositoryParams struct { LocalRepositoryBaseParams NugetRepositoryParams }
func NewNugetLocalRepositoryParams ¶
func NewNugetLocalRepositoryParams() NugetLocalRepositoryParams
type NugetRemoteRepositoryParams ¶
type NugetRemoteRepositoryParams struct { RemoteRepositoryBaseParams FeedContextPath string `json:"feedContextPath,omitempty"` DownloadContextPath string `json:"downloadContextPath,omitempty"` V3FeedUrl string `json:"v3FeedUrl,omitempty"` ForceNugetAuthentication *bool `json:"forceNugetAuthentication,omitempty"` }
func NewNugetRemoteRepositoryParams ¶
func NewNugetRemoteRepositoryParams() NugetRemoteRepositoryParams
type NugetRepositoryParams ¶
type NugetVirtualRepositoryParams ¶
type NugetVirtualRepositoryParams struct { VirtualRepositoryBaseParams ForceNugetAuthentication *bool `json:"forceNugetAuthentication,omitempty"` }
func NewNugetVirtualRepositoryParams ¶
func NewNugetVirtualRepositoryParams() NugetVirtualRepositoryParams
type OpkgFederatedRepositoryParams ¶
type OpkgFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewOpkgFederatedRepositoryParams ¶
func NewOpkgFederatedRepositoryParams() OpkgFederatedRepositoryParams
type OpkgLocalRepositoryParams ¶
type OpkgLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewOpkgLocalRepositoryParams ¶
func NewOpkgLocalRepositoryParams() OpkgLocalRepositoryParams
type OpkgRemoteRepositoryParams ¶
type OpkgRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewOpkgRemoteRepositoryParams ¶
func NewOpkgRemoteRepositoryParams() OpkgRemoteRepositoryParams
type P2RemoteRepositoryParams ¶
type P2RemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewP2RemoteRepositoryParams ¶
func NewP2RemoteRepositoryParams() P2RemoteRepositoryParams
type P2VirtualRepositoryParams ¶
type P2VirtualRepositoryParams struct { VirtualRepositoryBaseParams P2Urls []string `json:"p2Urls,omitempty"` }
func NewP2VirtualRepositoryParams ¶
func NewP2VirtualRepositoryParams() P2VirtualRepositoryParams
type PermissionTargetAlreadyExistsError ¶
type PermissionTargetAlreadyExistsError struct {
InnerError error
}
func (*PermissionTargetAlreadyExistsError) Error ¶
func (*PermissionTargetAlreadyExistsError) Error() string
type PermissionTargetParams ¶
type PermissionTargetParams struct { Name string `json:"name"` Repo *PermissionTargetSection `json:"repo,omitempty"` Build *PermissionTargetSection `json:"build,omitempty"` ReleaseBundle *PermissionTargetSection `json:"releaseBundle,omitempty"` }
Using struct pointers to keep the fields null if they are empty. Artifactory evaluates inner struct typed fields if they are not null, which can lead to failures in the request.
func NewPermissionTargetParams ¶
func NewPermissionTargetParams() PermissionTargetParams
type PermissionTargetSection ¶
type PermissionTargetService ¶
type PermissionTargetService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewPermissionTargetService ¶
func NewPermissionTargetService(client *jfroghttpclient.JfrogHttpClient) *PermissionTargetService
func (*PermissionTargetService) Create ¶
func (pts *PermissionTargetService) Create(params PermissionTargetParams) error
func (*PermissionTargetService) Delete ¶
func (pts *PermissionTargetService) Delete(permissionTargetName string) error
func (*PermissionTargetService) Get ¶
func (pts *PermissionTargetService) Get(permissionTargetName string) (*PermissionTargetParams, error)
func (*PermissionTargetService) GetJfrogHttpClient ¶
func (pts *PermissionTargetService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*PermissionTargetService) Update ¶
func (pts *PermissionTargetService) Update(params PermissionTargetParams) error
type PingService ¶
type PingService struct {
// contains filtered or unexported fields
}
func NewPingService ¶
func NewPingService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *PingService
func (*PingService) GetArtifactoryDetails ¶
func (ps *PingService) GetArtifactoryDetails() auth.ServiceDetails
func (*PingService) GetJfrogHttpClient ¶
func (ps *PingService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*PingService) IsDryRun ¶
func (ps *PingService) IsDryRun() bool
func (*PingService) Ping ¶
func (ps *PingService) Ping() ([]byte, error)
type PromoteService ¶
type PromoteService struct { ArtDetails auth.ServiceDetails DryRun bool // contains filtered or unexported fields }
func NewPromotionService ¶
func NewPromotionService(client *jfroghttpclient.JfrogHttpClient) *PromoteService
func (*PromoteService) BuildPromote ¶
func (ps *PromoteService) BuildPromote(promotionParams PromotionParams) error
type PromotionParams ¶
type PromotionParams struct { BuildName string BuildNumber string ProjectKey string TargetRepo string Status string Comment string Copy bool FailFast bool IncludeDependencies bool SourceRepo string Properties string }
func NewPromotionParams ¶
func NewPromotionParams() PromotionParams
func (*PromotionParams) GetBuildName ¶
func (bp *PromotionParams) GetBuildName() string
func (*PromotionParams) GetBuildNumber ¶
func (bp *PromotionParams) GetBuildNumber() string
func (*PromotionParams) GetComment ¶
func (bp *PromotionParams) GetComment() string
func (*PromotionParams) GetProjectKey ¶
func (bp *PromotionParams) GetProjectKey() string
func (*PromotionParams) GetProperties ¶
func (bp *PromotionParams) GetProperties() string
func (*PromotionParams) GetSourceRepo ¶
func (bp *PromotionParams) GetSourceRepo() string
func (*PromotionParams) GetStatus ¶
func (bp *PromotionParams) GetStatus() string
func (*PromotionParams) GetTargetRepo ¶
func (bp *PromotionParams) GetTargetRepo() string
func (*PromotionParams) IsCopy ¶
func (bp *PromotionParams) IsCopy() *bool
func (*PromotionParams) IsFailFast ¶
func (bp *PromotionParams) IsFailFast() bool
func (*PromotionParams) IsIncludeDependencies ¶
func (bp *PromotionParams) IsIncludeDependencies() *bool
type PropsParams ¶
type PropsParams struct { Reader *content.ContentReader Props string }
func NewPropsParams ¶
func NewPropsParams() PropsParams
func (*PropsParams) GetProps ¶
func (sp *PropsParams) GetProps() string
func (*PropsParams) GetReader ¶
func (sp *PropsParams) GetReader() *content.ContentReader
type PropsService ¶
type PropsService struct { ArtDetails auth.ServiceDetails Threads int // contains filtered or unexported fields }
func NewPropsService ¶
func NewPropsService(client *jfroghttpclient.JfrogHttpClient) *PropsService
func (*PropsService) DeleteProps ¶
func (ps *PropsService) DeleteProps(propsParams PropsParams) (int, error)
func (*PropsService) GetArtifactoryDetails ¶
func (ps *PropsService) GetArtifactoryDetails() auth.ServiceDetails
func (*PropsService) GetItemProperties ¶
func (ps *PropsService) GetItemProperties(relativePath string) (*utils.ItemProperties, error)
func (*PropsService) GetThreads ¶
func (ps *PropsService) GetThreads() int
func (*PropsService) IsDryRun ¶
func (ps *PropsService) IsDryRun() bool
func (*PropsService) SetArtifactoryDetails ¶
func (ps *PropsService) SetArtifactoryDetails(rt auth.ServiceDetails)
func (*PropsService) SetProps ¶
func (ps *PropsService) SetProps(propsParams PropsParams) (int, error)
type PuppetFederatedRepositoryParams ¶
type PuppetFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewPuppetFederatedRepositoryParams ¶
func NewPuppetFederatedRepositoryParams() PuppetFederatedRepositoryParams
type PuppetLocalRepositoryParams ¶
type PuppetLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewPuppetLocalRepositoryParams ¶
func NewPuppetLocalRepositoryParams() PuppetLocalRepositoryParams
type PuppetRemoteRepositoryParams ¶
type PuppetRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewPuppetRemoteRepositoryParams ¶
func NewPuppetRemoteRepositoryParams() PuppetRemoteRepositoryParams
type PuppetVirtualRepositoryParams ¶
type PuppetVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewPuppetVirtualRepositoryParams ¶
func NewPuppetVirtualRepositoryParams() PuppetVirtualRepositoryParams
type PypiFederatedRepositoryParams ¶
type PypiFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewPypiFederatedRepositoryParams ¶
func NewPypiFederatedRepositoryParams() PypiFederatedRepositoryParams
type PypiLocalRepositoryParams ¶
type PypiLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewPypiLocalRepositoryParams ¶
func NewPypiLocalRepositoryParams() PypiLocalRepositoryParams
type PypiRemoteRepositoryParams ¶
type PypiRemoteRepositoryParams struct { RemoteRepositoryBaseParams PypiRegistryUrl string `json:"pyPIRegistryUrl,omitempty"` PypiRepositorySuffix string `json:"pyPIRepositorySuffix,omitempty"` }
func NewPypiRemoteRepositoryParams ¶
func NewPypiRemoteRepositoryParams() PypiRemoteRepositoryParams
type PypiVirtualRepositoryParams ¶
type PypiVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewPypiVirtualRepositoryParams ¶
func NewPypiVirtualRepositoryParams() PypiVirtualRepositoryParams
type ReadFileService ¶
type ReadFileService struct { DryRun bool MinSplitSize int64 SplitCount int // contains filtered or unexported fields }
func NewReadFileService ¶
func NewReadFileService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *ReadFileService
func (*ReadFileService) GetArtifactoryDetails ¶
func (ds *ReadFileService) GetArtifactoryDetails() auth.ServiceDetails
func (*ReadFileService) GetJfrogHttpClient ¶
func (ds *ReadFileService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*ReadFileService) IsDryRun ¶
func (ds *ReadFileService) IsDryRun() bool
func (*ReadFileService) ReadRemoteFile ¶
func (ds *ReadFileService) ReadRemoteFile(downloadPath string) (io.ReadCloser, error)
func (*ReadFileService) SetDryRun ¶
func (ds *ReadFileService) SetDryRun(isDryRun bool)
type ReaderSpecTuple ¶
type ReaderSpecTuple struct { Reader *content.ContentReader MoveSpec int }
Tuple of a ContentReader and its corresponding file-spec index.
type RemoteRepositoryBaseParams ¶
type RemoteRepositoryBaseParams struct { RepositoryBaseParams AdditionalRepositoryBaseParams Url string `json:"url"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Proxy string `json:"proxy,omitempty"` HardFail *bool `json:"hardFail,omitempty"` Offline *bool `json:"offline,omitempty"` StoreArtifactsLocally *bool `json:"storeArtifactsLocally,omitempty"` SocketTimeoutMillis int `json:"socketTimeoutMillis,omitempty"` LocalAddress string `json:"localAddress,omitempty"` RetrievalCachePeriodSecs int `json:"retrievalCachePeriodSecs,omitempty"` MetadataRetrievalTimeoutSecs int `json:"metadataRetrievalTimeoutSecs,omitempty"` MissedRetrievalCachePeriodSecs int `json:"missedRetrievalCachePeriodSecs,omitempty"` UnusedArtifactsCleanupPeriodHours int `json:"unusedArtifactsCleanupPeriodHours,omitempty"` AssumedOfflinePeriodSecs int `json:"assumedOfflinePeriodSecs,omitempty"` SynchronizeProperties *bool `json:"synchronizeProperties,omitempty"` BlockMismatchingMimeTypes *bool `json:"blockMismatchingMimeTypes,omitempty"` MismatchingMimeTypesOverrideList string `json:"mismatchingMimeTypesOverrideList,omitempty"` AllowAnyHostAuth *bool `json:"allowAnyHostAuth,omitempty"` EnableCookieManagement *bool `json:"enableCookieManagement,omitempty"` BypassHeadRequests *bool `json:"bypassHeadRequests,omitempty"` ClientTlsCertificate string `json:"clientTlsCertificate,omitempty"` ContentSynchronisation *ContentSynchronisation `json:"contentSynchronisation,omitempty"` QueryParams string `json:"queryParams,omitempty"` }
func NewRemoteRepositoryBaseParams ¶
func NewRemoteRepositoryBaseParams() RemoteRepositoryBaseParams
func NewRemoteRepositoryPackageParams ¶
func NewRemoteRepositoryPackageParams(packageType string) RemoteRepositoryBaseParams
type RemoteRepositoryService ¶
type RemoteRepositoryService struct {
RepositoryService
}
func NewRemoteRepositoryService ¶
func NewRemoteRepositoryService(client *jfroghttpclient.JfrogHttpClient, isUpdate bool) *RemoteRepositoryService
func (*RemoteRepositoryService) Alpine ¶
func (rrs *RemoteRepositoryService) Alpine(params AlpineRemoteRepositoryParams) error
func (*RemoteRepositoryService) Bower ¶
func (rrs *RemoteRepositoryService) Bower(params BowerRemoteRepositoryParams) error
func (*RemoteRepositoryService) Cargo ¶
func (rrs *RemoteRepositoryService) Cargo(params CargoRemoteRepositoryParams) error
func (*RemoteRepositoryService) Chef ¶
func (rrs *RemoteRepositoryService) Chef(params ChefRemoteRepositoryParams) error
func (*RemoteRepositoryService) Cocoapods ¶
func (rrs *RemoteRepositoryService) Cocoapods(params CocoapodsRemoteRepositoryParams) error
func (*RemoteRepositoryService) Composer ¶
func (rrs *RemoteRepositoryService) Composer(params ComposerRemoteRepositoryParams) error
func (*RemoteRepositoryService) Conan ¶
func (rrs *RemoteRepositoryService) Conan(params ConanRemoteRepositoryParams) error
func (*RemoteRepositoryService) Conda ¶
func (rrs *RemoteRepositoryService) Conda(params CondaRemoteRepositoryParams) error
func (*RemoteRepositoryService) Cran ¶
func (rrs *RemoteRepositoryService) Cran(params CranRemoteRepositoryParams) error
func (*RemoteRepositoryService) Debian ¶
func (rrs *RemoteRepositoryService) Debian(params DebianRemoteRepositoryParams) error
func (*RemoteRepositoryService) Docker ¶
func (rrs *RemoteRepositoryService) Docker(params DockerRemoteRepositoryParams) error
func (*RemoteRepositoryService) Gems ¶
func (rrs *RemoteRepositoryService) Gems(params GemsRemoteRepositoryParams) error
func (*RemoteRepositoryService) Generic ¶
func (rrs *RemoteRepositoryService) Generic(params GenericRemoteRepositoryParams) error
func (*RemoteRepositoryService) GetJfrogHttpClient ¶
func (rrs *RemoteRepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*RemoteRepositoryService) Gitlfs ¶
func (rrs *RemoteRepositoryService) Gitlfs(params GitlfsRemoteRepositoryParams) error
func (*RemoteRepositoryService) Go ¶
func (rrs *RemoteRepositoryService) Go(params GoRemoteRepositoryParams) error
func (*RemoteRepositoryService) Gradle ¶
func (rrs *RemoteRepositoryService) Gradle(params GradleRemoteRepositoryParams) error
func (*RemoteRepositoryService) Helm ¶
func (rrs *RemoteRepositoryService) Helm(params HelmRemoteRepositoryParams) error
func (*RemoteRepositoryService) Ivy ¶
func (rrs *RemoteRepositoryService) Ivy(params IvyRemoteRepositoryParams) error
func (*RemoteRepositoryService) Maven ¶
func (rrs *RemoteRepositoryService) Maven(params MavenRemoteRepositoryParams) error
func (*RemoteRepositoryService) Npm ¶
func (rrs *RemoteRepositoryService) Npm(params NpmRemoteRepositoryParams) error
func (*RemoteRepositoryService) Nuget ¶
func (rrs *RemoteRepositoryService) Nuget(params NugetRemoteRepositoryParams) error
func (*RemoteRepositoryService) Opkg ¶
func (rrs *RemoteRepositoryService) Opkg(params OpkgRemoteRepositoryParams) error
func (*RemoteRepositoryService) P2 ¶
func (rrs *RemoteRepositoryService) P2(params P2RemoteRepositoryParams) error
func (*RemoteRepositoryService) Puppet ¶
func (rrs *RemoteRepositoryService) Puppet(params PuppetRemoteRepositoryParams) error
func (*RemoteRepositoryService) Pypi ¶
func (rrs *RemoteRepositoryService) Pypi(params PypiRemoteRepositoryParams) error
func (*RemoteRepositoryService) Rpm ¶
func (rrs *RemoteRepositoryService) Rpm(params RpmRemoteRepositoryParams) error
func (*RemoteRepositoryService) Sbt ¶
func (rrs *RemoteRepositoryService) Sbt(params SbtRemoteRepositoryParams) error
func (*RemoteRepositoryService) Swift ¶
func (rrs *RemoteRepositoryService) Swift(params SwiftRemoteRepositoryParams) error
func (*RemoteRepositoryService) Vcs ¶
func (rrs *RemoteRepositoryService) Vcs(params VcsRemoteRepositoryParams) error
func (*RemoteRepositoryService) Yum ¶
func (rrs *RemoteRepositoryService) Yum(params YumRemoteRepositoryParams) error
type RepositoriesFilterParams ¶
func NewRepositoriesFilterParams ¶
func NewRepositoriesFilterParams() RepositoriesFilterParams
type RepositoriesService ¶
type RepositoriesService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewRepositoriesService ¶
func NewRepositoriesService(client *jfroghttpclient.JfrogHttpClient) *RepositoriesService
func (*RepositoriesService) Create ¶
func (rs *RepositoriesService) Create(params interface{}, repoName string) error
func (*RepositoriesService) Get ¶
func (rs *RepositoriesService) Get(repoKey string, repoDetails interface{}) error
Get fetches repository details from Artifactory using given repoKey (name) into the given params struct. The function expects to get the repo key and a pointer to a param struct that will be filled up. The param struct should contain the desired param's fields corresponded to the Artifactory REST API, such as RepositoryDetails, LocalRepositoryBaseParams, etc.
func (*RepositoriesService) GetAll ¶
func (rs *RepositoriesService) GetAll() (*[]RepositoryDetails, error)
func (*RepositoriesService) GetWithFilter ¶
func (rs *RepositoriesService) GetWithFilter(params RepositoriesFilterParams) (*[]RepositoryDetails, error)
func (*RepositoriesService) IsExists ¶
func (rs *RepositoriesService) IsExists(repoKey string) (exists bool, err error)
func (*RepositoriesService) Update ¶
func (rs *RepositoriesService) Update(params interface{}, repoName string) error
type RepositoryBaseParams ¶
type RepositoryBaseParams struct { Rclass string `json:"rclass,omitempty"` Key string `json:"key,omitempty"` ProjectKey string `json:"projectKey,omitempty"` Environments []string `json:"environments,omitempty"` PackageType string `json:"packageType,omitempty"` Description string `json:"description,omitempty"` Notes string `json:"notes,omitempty"` IncludesPattern string `json:"includesPattern,omitempty"` ExcludesPattern string `json:"excludesPattern,omitempty"` RepoLayoutRef string `json:"repoLayoutRef,omitempty"` }
type RepositoryDetails ¶
type RepositoryDetails struct { Key string Rclass string Type string Description string Url string PackageType string }
func (RepositoryDetails) GetRepoType ¶
func (rd RepositoryDetails) GetRepoType() string
type RepositoryService ¶
type RepositoryService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewRepositoryService ¶
func NewRepositoryService(client *jfroghttpclient.JfrogHttpClient, isUpdate bool) *RepositoryService
func (*RepositoryService) GetJfrogHttpClient ¶
func (rs *RepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
type RevokeTokenParams ¶
func NewRevokeTokenParams ¶
func NewRevokeTokenParams() RevokeTokenParams
type RpmFederatedRepositoryParams ¶
type RpmFederatedRepositoryParams struct { FederatedRepositoryBaseParams RpmRepositoryParams }
func NewRpmFederatedRepositoryParams ¶
func NewRpmFederatedRepositoryParams() RpmFederatedRepositoryParams
type RpmLocalRepositoryParams ¶
type RpmLocalRepositoryParams struct { LocalRepositoryBaseParams RpmRepositoryParams }
func NewRpmLocalRepositoryParams ¶
func NewRpmLocalRepositoryParams() RpmLocalRepositoryParams
type RpmRemoteRepositoryParams ¶
type RpmRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewRpmRemoteRepositoryParams ¶
func NewRpmRemoteRepositoryParams() RpmRemoteRepositoryParams
type RpmRepositoryParams ¶
type RpmVirtualRepositoryParams ¶
type RpmVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams }
func NewRpmVirtualRepositoryParams ¶
func NewRpmVirtualRepositoryParams() RpmVirtualRepositoryParams
type SbtFederatedRepositoryParams ¶
type SbtFederatedRepositoryParams struct { FederatedRepositoryBaseParams JavaPackageManagersRepositoryParams }
func NewSbtFederatedRepositoryParams ¶
func NewSbtFederatedRepositoryParams() SbtFederatedRepositoryParams
type SbtLocalRepositoryParams ¶
type SbtLocalRepositoryParams struct { LocalRepositoryBaseParams JavaPackageManagersRepositoryParams }
func NewSbtLocalRepositoryParams ¶
func NewSbtLocalRepositoryParams() SbtLocalRepositoryParams
type SbtRemoteRepositoryParams ¶
type SbtRemoteRepositoryParams struct { RemoteRepositoryBaseParams JavaPackageManagersRemoteRepositoryParams }
func NewSbtRemoteRepositoryParams ¶
func NewSbtRemoteRepositoryParams() SbtRemoteRepositoryParams
type SbtVirtualRepositoryParams ¶
type SbtVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonJavaVirtualRepositoryParams }
func NewSbtVirtualRepositoryParams ¶
func NewSbtVirtualRepositoryParams() SbtVirtualRepositoryParams
type SearchParams ¶
type SearchParams struct {
*utils.CommonParams
}
func NewSearchParams ¶
func NewSearchParams() SearchParams
func (*SearchParams) GetFile ¶
func (s *SearchParams) GetFile() *utils.CommonParams
type SearchService ¶
type SearchService struct {
// contains filtered or unexported fields
}
func NewSearchService ¶
func NewSearchService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *SearchService
func (*SearchService) GetArtifactoryDetails ¶
func (s *SearchService) GetArtifactoryDetails() auth.ServiceDetails
func (*SearchService) GetJfrogHttpClient ¶
func (s *SearchService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*SearchService) IsDryRun ¶
func (s *SearchService) IsDryRun() bool
func (*SearchService) Search ¶
func (s *SearchService) Search(searchParams SearchParams) (*content.ContentReader, error)
type SecurityService ¶
type SecurityService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewSecurityService ¶
func NewSecurityService(client *jfroghttpclient.JfrogHttpClient) *SecurityService
func (*SecurityService) CreateAPIKey ¶
func (ss *SecurityService) CreateAPIKey() (string, error)
Create an API key for the current user. Returns an error if API key already exists - use regenerate API key instead.
func (*SecurityService) CreateToken ¶
func (ss *SecurityService) CreateToken(params CreateTokenParams) (auth.CreateTokenResponseData, error)
func (*SecurityService) GetAPIKey ¶
func (ss *SecurityService) GetAPIKey() (string, error)
Returns empty string if API Key wasn't generated.
func (*SecurityService) GetTokens ¶
func (ss *SecurityService) GetTokens() (GetTokensResponseData, error)
func (*SecurityService) GetUserTokens ¶
func (ss *SecurityService) GetUserTokens(username string) ([]string, error)
func (*SecurityService) RefreshToken ¶
func (ss *SecurityService) RefreshToken(params ArtifactoryRefreshTokenParams) (auth.CreateTokenResponseData, error)
func (*SecurityService) RegenerateAPIKey ¶
func (ss *SecurityService) RegenerateAPIKey() (string, error)
RegenerateAPIKey regenerates the API Key in Artifactory
func (*SecurityService) RevokeToken ¶
func (ss *SecurityService) RevokeToken(params RevokeTokenParams) (string, error)
type StorageService ¶
type StorageService struct {
// contains filtered or unexported fields
}
func NewStorageService ¶
func NewStorageService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *StorageService
func (*StorageService) FileList ¶
func (s *StorageService) FileList(relativePath string, optionalParams utils.FileListParams) (*utils.FileListResponse, error)
func (*StorageService) FolderInfo ¶
func (s *StorageService) FolderInfo(relativePath string) (*utils.FolderInfo, error)
func (*StorageService) GetArtifactoryDetails ¶
func (s *StorageService) GetArtifactoryDetails() auth.ServiceDetails
func (*StorageService) GetJfrogHttpClient ¶
func (s *StorageService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*StorageService) StorageInfo ¶
func (s *StorageService) StorageInfo() (*utils.StorageInfo, error)
func (*StorageService) StorageInfoRefresh ¶
func (s *StorageService) StorageInfoRefresh() error
type SwiftFederatedRepositoryParams ¶
type SwiftFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewSwiftFederatedRepositoryParams ¶
func NewSwiftFederatedRepositoryParams() SwiftFederatedRepositoryParams
type SwiftLocalRepositoryParams ¶
type SwiftLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewSwiftLocalRepositoryParams ¶
func NewSwiftLocalRepositoryParams() SwiftLocalRepositoryParams
type SwiftRemoteRepositoryParams ¶
type SwiftRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewSwiftRemoteRepositoryParams ¶
func NewSwiftRemoteRepositoryParams() SwiftRemoteRepositoryParams
type SwiftVirtualRepositoryParams ¶
type SwiftVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewSwiftVirtualRepositoryParams ¶
func NewSwiftVirtualRepositoryParams() SwiftVirtualRepositoryParams
type SystemService ¶
type SystemService struct {
// contains filtered or unexported fields
}
func NewSystemService ¶
func NewSystemService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *SystemService
func (*SystemService) ActivateKeyEncryption ¶
func (ss *SystemService) ActivateKeyEncryption() error
func (*SystemService) DeactivateKeyEncryption ¶
func (ss *SystemService) DeactivateKeyEncryption() (wasEncrypted bool, err error)
func (*SystemService) GetArtifactoryDetails ¶
func (ss *SystemService) GetArtifactoryDetails() auth.ServiceDetails
func (*SystemService) GetConfigDescriptor ¶
func (ss *SystemService) GetConfigDescriptor() (string, error)
func (*SystemService) GetJfrogHttpClient ¶
func (ss *SystemService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*SystemService) GetRunningNodes ¶
func (ss *SystemService) GetRunningNodes() ([]string, error)
func (*SystemService) GetServiceId ¶
func (ss *SystemService) GetServiceId() (string, error)
func (*SystemService) GetVersion ¶
func (ss *SystemService) GetVersion() (string, error)
func (*SystemService) IsDryRun ¶
func (ss *SystemService) IsDryRun() bool
type UpdateReplicationParams ¶
type UpdateReplicationParams struct {
utils.ReplicationParams
}
func NewUpdateReplicationParams ¶
func NewUpdateReplicationParams() UpdateReplicationParams
type UpdateReplicationService ¶
type UpdateReplicationService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewUpdateReplicationService ¶
func NewUpdateReplicationService(client *jfroghttpclient.JfrogHttpClient) *UpdateReplicationService
func (*UpdateReplicationService) GetJfrogHttpClient ¶
func (rs *UpdateReplicationService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*UpdateReplicationService) UpdateReplication ¶
func (rs *UpdateReplicationService) UpdateReplication(params UpdateReplicationParams) error
type UploadData ¶
type UploadData struct { Artifact clientutils.Artifact TargetProps *utils.Properties BuildProps string IsDir bool IsSymlinkFlow bool }
type UploadDataHandlerFunc ¶
type UploadDataHandlerFunc func(data UploadData)
type UploadParams ¶
type UploadParams struct { *utils.CommonParams Deb string BuildProps string Symlink bool ExplodeArchive bool Flat bool AddVcsProps bool MinChecksumDeploy int64 ChecksumsCalcEnabled bool Archive string // When using the 'archive' option for upload, we can control the target path inside the uploaded archive using placeholders. This operation determines the TargetPathInArchive value. TargetPathInArchive string }
func DeepCopyUploadParams ¶
func DeepCopyUploadParams(params *UploadParams) UploadParams
func NewUploadParams ¶
func NewUploadParams() UploadParams
func (*UploadParams) GetDebian ¶
func (up *UploadParams) GetDebian() string
func (*UploadParams) IsAddVcsProps ¶
func (up *UploadParams) IsAddVcsProps() bool
func (*UploadParams) IsExplodeArchive ¶
func (up *UploadParams) IsExplodeArchive() bool
func (*UploadParams) IsFlat ¶
func (up *UploadParams) IsFlat() bool
func (*UploadParams) IsSymlink ¶
func (up *UploadParams) IsSymlink() bool
type UploadService ¶
type UploadService struct { Progress ioutils.ProgressMgr ArtDetails auth.ServiceDetails DryRun bool Threads int // contains filtered or unexported fields }
func NewUploadService ¶
func NewUploadService(client *jfroghttpclient.JfrogHttpClient) *UploadService
func (*UploadService) CreateUploadAsZipFunc ¶
func (us *UploadService) CreateUploadAsZipFunc(uploadResult *utils.Result, targetPath string, archiveData *ArchiveUploadData, errorsQueue *clientutils.ErrorsQueue) parallel.TaskFunc
func (*UploadService) GetJfrogHttpClient ¶
func (us *UploadService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*UploadService) SetDryRun ¶
func (us *UploadService) SetDryRun(isDryRun bool)
func (*UploadService) SetSaveSummary ¶
func (us *UploadService) SetSaveSummary(saveSummary bool)
func (*UploadService) SetServiceDetails ¶
func (us *UploadService) SetServiceDetails(artDetails auth.ServiceDetails)
func (*UploadService) SetThreads ¶
func (us *UploadService) SetThreads(threads int)
func (*UploadService) UploadFiles ¶
func (us *UploadService) UploadFiles(uploadParams ...UploadParams) (summary *utils.OperationSummary, err error)
type User ¶
type User struct { Name string `json:"name,omitempty" csv:"username,omitempty"` Email string `json:"email,omitempty" csv:"email,omitempty"` Password string `json:"password,omitempty" csv:"password,omitempty"` Admin *bool `json:"admin,omitempty" csv:"admin,omitempty"` ProfileUpdatable *bool `json:"profileUpdatable,omitempty" csv:"profileUpdatable,omitempty"` DisableUIAccess *bool `json:"disableUIAccess,omitempty" csv:"disableUIAccess,omitempty"` InternalPasswordDisabled *bool `json:"internalPasswordDisabled,omitempty" csv:"internalPasswordDisabled,omitempty"` LastLoggedIn string `json:"lastLoggedIn,omitempty" csv:"lastLoggedIn,omitempty"` Realm string `json:"realm,omitempty" csv:"realm,omitempty"` Groups *[]string `json:"groups,omitempty" csv:"groups,omitempty"` ShouldInvite *bool `json:"shouldInvite,omitempty" csv:"shouldInvite,omitempty"` Source string `json:"source,omitempty" csv:"source,omitempty"` WatchManager *bool `json:"watchManager,omitempty" csv:"watchManager,omitempty"` ReportsManager *bool `json:"reportsManager,omitempty" csv:"reportsManager,omitempty"` PolicyManager *bool `json:"policyManager,omitempty" csv:"policyManager,omitempty"` ProjectAdmin *bool `json:"projectAdmin,omitempty" csv:"projectAdmin,omitempty"` }
application/vnd.org.jfrog.artifactory.security.User+json
type UserParams ¶
func NewUserParams ¶
func NewUserParams() UserParams
type UserService ¶
type UserService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewUserService ¶
func NewUserService(client *jfroghttpclient.JfrogHttpClient) *UserService
func (*UserService) CreateUser ¶
func (us *UserService) CreateUser(params UserParams) error
func (*UserService) DeleteUser ¶
func (us *UserService) DeleteUser(name string) error
func (*UserService) GetAllUsers ¶
func (us *UserService) GetAllUsers() ([]*User, error)
func (*UserService) GetLockedUsers ¶
func (us *UserService) GetLockedUsers() ([]string, error)
func (*UserService) GetUser ¶
func (us *UserService) GetUser(params UserParams) (u *User, err error)
func (*UserService) SetArtifactoryDetails ¶
func (us *UserService) SetArtifactoryDetails(rt auth.ServiceDetails)
func (*UserService) UnlockUser ¶
func (us *UserService) UnlockUser(name string) error
func (*UserService) UpdateUser ¶
func (us *UserService) UpdateUser(params UserParams) error
type VagrantFederatedRepositoryParams ¶
type VagrantFederatedRepositoryParams struct {
FederatedRepositoryBaseParams
}
func NewVagrantFederatedRepositoryParams ¶
func NewVagrantFederatedRepositoryParams() VagrantFederatedRepositoryParams
type VagrantLocalRepositoryParams ¶
type VagrantLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewVagrantLocalRepositoryParams ¶
func NewVagrantLocalRepositoryParams() VagrantLocalRepositoryParams
type VcsRemoteRepositoryParams ¶
type VcsRemoteRepositoryParams struct { RemoteRepositoryBaseParams VcsGitRemoteRepositoryParams MaxUniqueSnapshots int `json:"maxUniqueSnapshots,omitempty"` }
func NewVcsRemoteRepositoryParams ¶
func NewVcsRemoteRepositoryParams() VcsRemoteRepositoryParams
type VirtualRepositoryBaseParams ¶
type VirtualRepositoryBaseParams struct { RepositoryBaseParams KeyPairRefsRepositoryParams Repositories []string `json:"repositories,omitempty"` ArtifactoryRequestsCanRetrieveRemoteArtifacts *bool `json:"artifactoryRequestsCanRetrieveRemoteArtifacts,omitempty"` DefaultDeploymentRepo string `json:"defaultDeploymentRepo,omitempty"` }
func NewVirtualRepositoryBaseParams ¶
func NewVirtualRepositoryBaseParams() VirtualRepositoryBaseParams
func NewVirtualRepositoryPackageParams ¶
func NewVirtualRepositoryPackageParams(packageType string) VirtualRepositoryBaseParams
type VirtualRepositoryService ¶
type VirtualRepositoryService struct {
RepositoryService
}
func NewVirtualRepositoryService ¶
func NewVirtualRepositoryService(client *jfroghttpclient.JfrogHttpClient, isUpdate bool) *VirtualRepositoryService
func (*VirtualRepositoryService) Alpine ¶
func (vrs *VirtualRepositoryService) Alpine(params AlpineVirtualRepositoryParams) error
func (*VirtualRepositoryService) Bower ¶
func (vrs *VirtualRepositoryService) Bower(params BowerVirtualRepositoryParams) error
func (*VirtualRepositoryService) Chef ¶
func (vrs *VirtualRepositoryService) Chef(params ChefVirtualRepositoryParams) error
func (*VirtualRepositoryService) Conan ¶
func (vrs *VirtualRepositoryService) Conan(params ConanVirtualRepositoryParams) error
func (*VirtualRepositoryService) Conda ¶
func (vrs *VirtualRepositoryService) Conda(params CondaVirtualRepositoryParams) error
func (*VirtualRepositoryService) Cran ¶
func (vrs *VirtualRepositoryService) Cran(params CranVirtualRepositoryParams) error
func (*VirtualRepositoryService) Debian ¶
func (vrs *VirtualRepositoryService) Debian(params DebianVirtualRepositoryParams) error
func (*VirtualRepositoryService) Docker ¶
func (vrs *VirtualRepositoryService) Docker(params DockerVirtualRepositoryParams) error
func (*VirtualRepositoryService) Gems ¶
func (vrs *VirtualRepositoryService) Gems(params GemsVirtualRepositoryParams) error
func (*VirtualRepositoryService) Generic ¶
func (vrs *VirtualRepositoryService) Generic(params GenericVirtualRepositoryParams) error
func (*VirtualRepositoryService) GetJfrogHttpClient ¶
func (vrs *VirtualRepositoryService) GetJfrogHttpClient() *jfroghttpclient.JfrogHttpClient
func (*VirtualRepositoryService) Gitlfs ¶
func (vrs *VirtualRepositoryService) Gitlfs(params GitlfsVirtualRepositoryParams) error
func (*VirtualRepositoryService) Go ¶
func (vrs *VirtualRepositoryService) Go(params GoVirtualRepositoryParams) error
func (*VirtualRepositoryService) Gradle ¶
func (vrs *VirtualRepositoryService) Gradle(params GradleVirtualRepositoryParams) error
func (*VirtualRepositoryService) Helm ¶
func (vrs *VirtualRepositoryService) Helm(params HelmVirtualRepositoryParams) error
func (*VirtualRepositoryService) Ivy ¶
func (vrs *VirtualRepositoryService) Ivy(params IvyVirtualRepositoryParams) error
func (*VirtualRepositoryService) Maven ¶
func (vrs *VirtualRepositoryService) Maven(params MavenVirtualRepositoryParams) error
func (*VirtualRepositoryService) Npm ¶
func (vrs *VirtualRepositoryService) Npm(params NpmVirtualRepositoryParams) error
func (*VirtualRepositoryService) Nuget ¶
func (vrs *VirtualRepositoryService) Nuget(params NugetVirtualRepositoryParams) error
func (*VirtualRepositoryService) P2 ¶
func (vrs *VirtualRepositoryService) P2(params P2VirtualRepositoryParams) error
func (*VirtualRepositoryService) Puppet ¶
func (vrs *VirtualRepositoryService) Puppet(params PuppetVirtualRepositoryParams) error
func (*VirtualRepositoryService) Pypi ¶
func (vrs *VirtualRepositoryService) Pypi(params PypiVirtualRepositoryParams) error
func (*VirtualRepositoryService) Rpm ¶
func (vrs *VirtualRepositoryService) Rpm(params RpmVirtualRepositoryParams) error
func (*VirtualRepositoryService) Sbt ¶
func (vrs *VirtualRepositoryService) Sbt(params SbtVirtualRepositoryParams) error
func (*VirtualRepositoryService) Swift ¶
func (vrs *VirtualRepositoryService) Swift(params SwiftVirtualRepositoryParams) error
func (*VirtualRepositoryService) Yum ¶
func (vrs *VirtualRepositoryService) Yum(params YumVirtualRepositoryParams) error
type XrayScanBody ¶
type XrayScanParams ¶
func NewXrayScanParams ¶
func NewXrayScanParams() XrayScanParams
func (*XrayScanParams) GetBuildName ¶
func (bp *XrayScanParams) GetBuildName() string
func (*XrayScanParams) GetBuildNumber ¶
func (bp *XrayScanParams) GetBuildNumber() string
func (*XrayScanParams) GetProjectKey ¶
func (bp *XrayScanParams) GetProjectKey() string
type XrayScanService ¶
type XrayScanService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewXrayScanService ¶
func NewXrayScanService(client *jfroghttpclient.JfrogHttpClient) *XrayScanService
func (*XrayScanService) ScanBuild ¶
func (ps *XrayScanService) ScanBuild(scanParams XrayScanParams) ([]byte, error)
Deprecated legacy scan build. The new build scan command is in "/xray/commands/scan/buildscan"
type YumFederatedRepositoryParams ¶
type YumFederatedRepositoryParams struct { FederatedRepositoryBaseParams RpmRepositoryParams }
func NewYumFederatedRepositoryParams ¶
func NewYumFederatedRepositoryParams() YumFederatedRepositoryParams
type YumLocalRepositoryParams ¶
type YumLocalRepositoryParams struct { LocalRepositoryBaseParams RpmRepositoryParams }
func NewYumLocalRepositoryParams ¶
func NewYumLocalRepositoryParams() YumLocalRepositoryParams
type YumRemoteRepositoryParams ¶
type YumRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewYumRemoteRepositoryParams ¶
func NewYumRemoteRepositoryParams() YumRemoteRepositoryParams
type YumVirtualRepositoryParams ¶
type YumVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonCacheVirtualRepositoryParams }
func NewYumVirtualRepositoryParams ¶
func NewYumVirtualRepositoryParams() YumVirtualRepositoryParams
Source Files ¶
- aql.go
- buildinfo.go
- createreplication.go
- delete.go
- deleteReplication.go
- deleterepository.go
- discardBuilds.go
- distribute.go
- dockerpromote.go
- download.go
- export.go
- federatedrepository.go
- federation.go
- getreplication.go
- gitlfsclean.go
- groups.go
- import.go
- localrepository.go
- movecopy.go
- permissiontarget.go
- ping.go
- promote.go
- props.go
- readfile.go
- remoterepository.go
- repositories.go
- repository.go
- search.go
- security.go
- storage.go
- system.go
- updatereplication.go
- upload.go
- users.go
- virtualrepository.go
- xrayscan.go