Versions in this module Expand all Collapse all v0 v0.14.5 Oct 27, 2020 v0.14.4 Oct 23, 2020 Changes in this version + type ArtifactoryServicesManager interface + Aql func(aql string) (io.ReadCloser, error) + Client func() *rthttpclient.ArtifactoryHttpClient + Copy func(params services.MoveCopyParams) (successCount, failedCount int, err error) + CreateLocalRepository func() *services.LocalRepositoryService + CreatePermissionTarget func(params services.PermissionTargetParams) error + CreateRemoteRepository func() *services.RemoteRepositoryService + CreateReplication func(params services.CreateReplicationParams) error + CreateToken func(params services.CreateTokenParams) (services.CreateTokenResponseData, error) + CreateVirtualRepository func() *services.VirtualRepositoryService + DeleteFiles func(reader *content.ContentReader) (int, error) + DeletePermissionTarget func(permissionTargetName string) error + DeleteProps func(params services.PropsParams) (int, error) + DeleteReplication func(repoKey string) error + DeleteRepository func(repoKey string) error + DiscardBuilds func(params services.DiscardBuildsParams) error + DistributeBuild func(params services.BuildDistributionParams) error + DownloadFiles func(params ...services.DownloadParams) (totalDownloaded, totalExpected int, err error) + DownloadFilesWithResultReader func(params ...services.DownloadParams) (resultReader *content.ContentReader, totalDownloaded, totalExpected int, ...) + GetBuildInfo func(params services.BuildInfoParams) (*buildinfo.BuildInfo, error) + GetConfig func() config.Config + GetPathsToDelete func(params services.DeleteParams) (*content.ContentReader, error) + GetReplication func(repoKey string) ([]utils.ReplicationParams, error) + GetRepository func(repoKey string) (*services.RepositoryDetails, error) + GetServiceId func() (string, error) + GetTokens func() (services.GetTokensResponseData, error) + GetUnreferencedGitLfsFiles func(params services.GitLfsCleanParams) (*content.ContentReader, error) + GetVersion func() (string, error) + Move func(params services.MoveCopyParams) (successCount, failedCount int, err error) + Ping func() ([]byte, error) + PromoteBuild func(params services.PromotionParams) error + PromoteDocker func(params services.DockerPromoteParams) error + PublishBuildInfo func(build *buildinfo.BuildInfo) error + PublishGoProject func(params _go.GoParams) error + ReadRemoteFile func(readPath string) (io.ReadCloser, error) + RefreshToken func(params services.RefreshTokenParams) (services.CreateTokenResponseData, error) + RevokeToken func(params services.RevokeTokenParams) (string, error) + SearchFiles func(params services.SearchParams) (*content.ContentReader, error) + SetProps func(params services.PropsParams) (int, error) + UpdateLocalRepository func() *services.LocalRepositoryService + UpdatePermissionTarget func(params services.PermissionTargetParams) error + UpdateRemoteRepository func() *services.RemoteRepositoryService + UpdateReplication func(params services.UpdateReplicationParams) error + UpdateVirtualRepository func() *services.VirtualRepositoryService + UploadFiles func(params ...services.UploadParams) (artifactsFileInfo []utils.FileInfo, totalUploaded, totalFailed int, err error) + XrayScanBuild func(params services.XrayScanParams) ([]byte, error) + func New(artDetails *auth.ServiceDetails, config config.Config) (ArtifactoryServicesManager, error) + func NewWithProgress(artDetails *auth.ServiceDetails, config config.Config, ...) (ArtifactoryServicesManager, error) + type ArtifactoryServicesManagerImp struct + func (sm *ArtifactoryServicesManagerImp) Aql(aql string) (io.ReadCloser, error) + func (sm *ArtifactoryServicesManagerImp) Client() *rthttpclient.ArtifactoryHttpClient + func (sm *ArtifactoryServicesManagerImp) Copy(params services.MoveCopyParams) (successCount, failedCount int, err error) + func (sm *ArtifactoryServicesManagerImp) CreateLocalRepository() *services.LocalRepositoryService + func (sm *ArtifactoryServicesManagerImp) CreatePermissionTarget(params services.PermissionTargetParams) error + func (sm *ArtifactoryServicesManagerImp) CreateRemoteRepository() *services.RemoteRepositoryService + func (sm *ArtifactoryServicesManagerImp) CreateReplication(params services.CreateReplicationParams) error + func (sm *ArtifactoryServicesManagerImp) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error) + func (sm *ArtifactoryServicesManagerImp) CreateVirtualRepository() *services.VirtualRepositoryService + func (sm *ArtifactoryServicesManagerImp) DeleteFiles(reader *content.ContentReader) (int, error) + func (sm *ArtifactoryServicesManagerImp) DeletePermissionTarget(permissionTargetName string) error + func (sm *ArtifactoryServicesManagerImp) DeleteProps(params services.PropsParams) (int, error) + func (sm *ArtifactoryServicesManagerImp) DeleteReplication(repoKey string) error + func (sm *ArtifactoryServicesManagerImp) DeleteRepository(repoKey string) error + func (sm *ArtifactoryServicesManagerImp) DiscardBuilds(params services.DiscardBuildsParams) error + func (sm *ArtifactoryServicesManagerImp) DistributeBuild(params services.BuildDistributionParams) error + func (sm *ArtifactoryServicesManagerImp) DownloadFiles(params ...services.DownloadParams) (totalDownloaded, totalExpected int, err error) + func (sm *ArtifactoryServicesManagerImp) DownloadFilesWithResultReader(params ...services.DownloadParams) (resultReader *content.ContentReader, totalDownloaded, totalExpected int, ...) + func (sm *ArtifactoryServicesManagerImp) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.BuildInfo, error) + func (sm *ArtifactoryServicesManagerImp) GetConfig() config.Config + func (sm *ArtifactoryServicesManagerImp) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error) + func (sm *ArtifactoryServicesManagerImp) GetReplication(repoKey string) ([]utils.ReplicationParams, error) + func (sm *ArtifactoryServicesManagerImp) GetRepository(repoKey string) (*services.RepositoryDetails, error) + func (sm *ArtifactoryServicesManagerImp) GetServiceId() (string, error) + func (sm *ArtifactoryServicesManagerImp) GetTokens() (services.GetTokensResponseData, error) + func (sm *ArtifactoryServicesManagerImp) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) (*content.ContentReader, error) + func (sm *ArtifactoryServicesManagerImp) GetVersion() (string, error) + func (sm *ArtifactoryServicesManagerImp) Move(params services.MoveCopyParams) (successCount, failedCount int, err error) + func (sm *ArtifactoryServicesManagerImp) Ping() ([]byte, error) + func (sm *ArtifactoryServicesManagerImp) PromoteBuild(params services.PromotionParams) error + func (sm *ArtifactoryServicesManagerImp) PromoteDocker(params services.DockerPromoteParams) error + func (sm *ArtifactoryServicesManagerImp) PublishBuildInfo(build *buildinfo.BuildInfo) error + func (sm *ArtifactoryServicesManagerImp) PublishGoProject(params _go.GoParams) error + func (sm *ArtifactoryServicesManagerImp) ReadRemoteFile(readPath string) (io.ReadCloser, error) + func (sm *ArtifactoryServicesManagerImp) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error) + func (sm *ArtifactoryServicesManagerImp) RevokeToken(params services.RevokeTokenParams) (string, error) + func (sm *ArtifactoryServicesManagerImp) SearchFiles(params services.SearchParams) (*content.ContentReader, error) + func (sm *ArtifactoryServicesManagerImp) SetProps(params services.PropsParams) (int, error) + func (sm *ArtifactoryServicesManagerImp) UpdateLocalRepository() *services.LocalRepositoryService + func (sm *ArtifactoryServicesManagerImp) UpdatePermissionTarget(params services.PermissionTargetParams) error + func (sm *ArtifactoryServicesManagerImp) UpdateRemoteRepository() *services.RemoteRepositoryService + func (sm *ArtifactoryServicesManagerImp) UpdateReplication(params services.UpdateReplicationParams) error + func (sm *ArtifactoryServicesManagerImp) UpdateVirtualRepository() *services.VirtualRepositoryService + func (sm *ArtifactoryServicesManagerImp) UploadFiles(params ...services.UploadParams) (artifactsFileInfo []utils.FileInfo, totalUploaded, totalFailed int, err error) + func (sm *ArtifactoryServicesManagerImp) XrayScanBuild(params services.XrayScanParams) ([]byte, error) + type EmptyArtifactoryServicesManager struct + func (esm *EmptyArtifactoryServicesManager) Aql(aql string) (io.ReadCloser, error) + func (esm *EmptyArtifactoryServicesManager) Client() *rthttpclient.ArtifactoryHttpClient + func (esm *EmptyArtifactoryServicesManager) Copy(params services.MoveCopyParams) (successCount, failedCount int, err error) + func (esm *EmptyArtifactoryServicesManager) CreateLocalRepository() *services.LocalRepositoryService + func (esm *EmptyArtifactoryServicesManager) CreatePermissionTarget(params services.PermissionTargetParams) error + func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepository() *services.RemoteRepositoryService + func (esm *EmptyArtifactoryServicesManager) CreateReplication(params services.CreateReplicationParams) error + func (esm *EmptyArtifactoryServicesManager) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error) + func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepository() *services.VirtualRepositoryService + func (esm *EmptyArtifactoryServicesManager) DeleteFiles(reader *content.ContentReader) (int, error) + func (esm *EmptyArtifactoryServicesManager) DeletePermissionTarget(permissionTargetName string) error + func (esm *EmptyArtifactoryServicesManager) DeleteProps(params services.PropsParams) (int, error) + func (esm *EmptyArtifactoryServicesManager) DeleteReplication(repoKey string) error + func (esm *EmptyArtifactoryServicesManager) DeleteRepository(repoKey string) error + func (esm *EmptyArtifactoryServicesManager) DiscardBuilds(params services.DiscardBuildsParams) error + func (esm *EmptyArtifactoryServicesManager) DistributeBuild(params services.BuildDistributionParams) error + func (esm *EmptyArtifactoryServicesManager) DownloadFiles(params ...services.DownloadParams) (totalDownloaded, totalExpected int, err error) + func (esm *EmptyArtifactoryServicesManager) DownloadFilesWithResultReader(params ...services.DownloadParams) (resultReader *content.ContentReader, totalDownloaded, totalExpected int, ...) + func (esm *EmptyArtifactoryServicesManager) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.BuildInfo, error) + func (esm *EmptyArtifactoryServicesManager) GetConfig() config.Config + func (esm *EmptyArtifactoryServicesManager) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error) + func (esm *EmptyArtifactoryServicesManager) GetReplication(repoKey string) ([]utils.ReplicationParams, error) + func (esm *EmptyArtifactoryServicesManager) GetRepository(repoKey string) (*services.RepositoryDetails, error) + func (esm *EmptyArtifactoryServicesManager) GetServiceId() (string, error) + func (esm *EmptyArtifactoryServicesManager) GetTokens() (services.GetTokensResponseData, error) + func (esm *EmptyArtifactoryServicesManager) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) (*content.ContentReader, error) + func (esm *EmptyArtifactoryServicesManager) GetVersion() (string, error) + func (esm *EmptyArtifactoryServicesManager) Move(params services.MoveCopyParams) (successCount, failedCount int, err error) + func (esm *EmptyArtifactoryServicesManager) Ping() ([]byte, error) + func (esm *EmptyArtifactoryServicesManager) PromoteBuild(params services.PromotionParams) error + func (esm *EmptyArtifactoryServicesManager) PromoteDocker(params services.DockerPromoteParams) error + func (esm *EmptyArtifactoryServicesManager) PublishBuildInfo(build *buildinfo.BuildInfo) error + func (esm *EmptyArtifactoryServicesManager) PublishGoProject(params _go.GoParams) error + func (esm *EmptyArtifactoryServicesManager) ReadRemoteFile(readPath string) (io.ReadCloser, error) + func (esm *EmptyArtifactoryServicesManager) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error) + func (esm *EmptyArtifactoryServicesManager) RevokeToken(params services.RevokeTokenParams) (string, error) + func (esm *EmptyArtifactoryServicesManager) SearchFiles(params services.SearchParams) (*content.ContentReader, error) + func (esm *EmptyArtifactoryServicesManager) SetProps(params services.PropsParams) (int, error) + func (esm *EmptyArtifactoryServicesManager) UpdateLocalRepository() *services.LocalRepositoryService + func (esm *EmptyArtifactoryServicesManager) UpdatePermissionTarget(params services.PermissionTargetParams) error + func (esm *EmptyArtifactoryServicesManager) UpdateRemoteRepository() *services.RemoteRepositoryService + func (esm *EmptyArtifactoryServicesManager) UpdateReplication(params services.UpdateReplicationParams) error + func (esm *EmptyArtifactoryServicesManager) UpdateVirtualRepository() *services.VirtualRepositoryService + func (esm *EmptyArtifactoryServicesManager) UploadFiles(params ...services.UploadParams) (artifactsFileInfo []utils.FileInfo, totalUploaded, totalFailed int, err error) + func (esm *EmptyArtifactoryServicesManager) XrayScanBuild(params services.XrayScanParams) ([]byte, error)