Documentation ¶
Index ¶
- type ArtifactoryServicesManager
- func (sm *ArtifactoryServicesManager) Aql(aql string) ([]byte, error)
- func (sm *ArtifactoryServicesManager) Client() *rthttpclient.ArtifactoryHttpClient
- func (sm *ArtifactoryServicesManager) Copy(params services.MoveCopyParams) (successCount, failedCount int, err error)
- func (sm *ArtifactoryServicesManager) CreateLocalRepository() *services.LocalRepositoryService
- func (sm *ArtifactoryServicesManager) CreateRemoteRepository() *services.RemoteRepositoryService
- func (sm *ArtifactoryServicesManager) CreateReplication(params services.CreateReplicationParams) error
- func (sm *ArtifactoryServicesManager) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error)
- func (sm *ArtifactoryServicesManager) CreateVirtualRepository() *services.VirtualRepositoryService
- func (sm *ArtifactoryServicesManager) DeleteFiles(resultItems []utils.ResultItem) (int, error)
- func (sm *ArtifactoryServicesManager) DeleteProps(params services.PropsParams) (int, error)
- func (sm *ArtifactoryServicesManager) DeleteReplication(repoKey string) error
- func (sm *ArtifactoryServicesManager) DeleteRepository(repoKey string) error
- func (sm *ArtifactoryServicesManager) DiscardBuilds(params services.DiscardBuildsParams) error
- func (sm *ArtifactoryServicesManager) DistributeBuild(params services.BuildDistributionParams) error
- func (sm *ArtifactoryServicesManager) DownloadFiles(params ...services.DownloadParams) ([]utils.FileInfo, int, error)
- func (sm *ArtifactoryServicesManager) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.BuildInfo, error)
- func (sm *ArtifactoryServicesManager) GetConfig() config.Config
- func (sm *ArtifactoryServicesManager) GetPathsToDelete(params services.DeleteParams) ([]utils.ResultItem, error)
- func (sm *ArtifactoryServicesManager) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
- func (sm *ArtifactoryServicesManager) GetRepository(repoKey string) (*services.RepositoryDetails, error)
- func (sm *ArtifactoryServicesManager) GetServiceId() (string, error)
- func (sm *ArtifactoryServicesManager) GetTokens() (services.GetTokensResponseData, error)
- func (sm *ArtifactoryServicesManager) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) ([]utils.ResultItem, error)
- func (sm *ArtifactoryServicesManager) GetVersion() (string, error)
- func (sm *ArtifactoryServicesManager) Move(params services.MoveCopyParams) (successCount, failedCount int, err error)
- func (sm *ArtifactoryServicesManager) Ping() ([]byte, error)
- func (sm *ArtifactoryServicesManager) PromoteBuild(params services.PromotionParams) error
- func (sm *ArtifactoryServicesManager) PublishBuildInfo(build *buildinfo.BuildInfo) error
- func (sm *ArtifactoryServicesManager) PublishGoProject(params _go.GoParams) error
- func (sm *ArtifactoryServicesManager) ReadRemoteFile(readPath string) (io.ReadCloser, error)
- func (sm *ArtifactoryServicesManager) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error)
- func (sm *ArtifactoryServicesManager) RevokeToken(params services.RevokeTokenParams) (string, error)
- func (sm *ArtifactoryServicesManager) SearchFiles(params services.SearchParams) ([]utils.ResultItem, error)
- func (sm *ArtifactoryServicesManager) SetProps(params services.PropsParams) (int, error)
- func (sm *ArtifactoryServicesManager) UpdateLocalRepository() *services.LocalRepositoryService
- func (sm *ArtifactoryServicesManager) UpdateRemoteRepository() *services.RemoteRepositoryService
- func (sm *ArtifactoryServicesManager) UpdateReplication(params services.UpdateReplicationParams) error
- func (sm *ArtifactoryServicesManager) UpdateVirtualRepository() *services.VirtualRepositoryService
- func (sm *ArtifactoryServicesManager) UploadFiles(params ...services.UploadParams) (artifactsFileInfo []utils.FileInfo, totalUploaded, totalFailed int, err error)
- func (sm *ArtifactoryServicesManager) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactoryServicesManager ¶
type ArtifactoryServicesManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(artDetails *auth.ServiceDetails, config config.Config) (*ArtifactoryServicesManager, error)
func NewWithProgress ¶ added in v0.4.0
func NewWithProgress(artDetails *auth.ServiceDetails, config config.Config, progress ioutils.Progress) (*ArtifactoryServicesManager, error)
func (*ArtifactoryServicesManager) Aql ¶
func (sm *ArtifactoryServicesManager) Aql(aql string) ([]byte, error)
func (*ArtifactoryServicesManager) Client ¶ added in v0.4.0
func (sm *ArtifactoryServicesManager) Client() *rthttpclient.ArtifactoryHttpClient
func (*ArtifactoryServicesManager) Copy ¶
func (sm *ArtifactoryServicesManager) Copy(params services.MoveCopyParams) (successCount, failedCount int, err error)
func (*ArtifactoryServicesManager) CreateLocalRepository ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) CreateLocalRepository() *services.LocalRepositoryService
func (*ArtifactoryServicesManager) CreateRemoteRepository ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) CreateRemoteRepository() *services.RemoteRepositoryService
func (*ArtifactoryServicesManager) CreateReplication ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) CreateReplication(params services.CreateReplicationParams) error
func (*ArtifactoryServicesManager) CreateToken ¶ added in v0.7.0
func (sm *ArtifactoryServicesManager) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error)
func (*ArtifactoryServicesManager) CreateVirtualRepository ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) CreateVirtualRepository() *services.VirtualRepositoryService
func (*ArtifactoryServicesManager) DeleteFiles ¶
func (sm *ArtifactoryServicesManager) DeleteFiles(resultItems []utils.ResultItem) (int, error)
func (*ArtifactoryServicesManager) DeleteProps ¶
func (sm *ArtifactoryServicesManager) DeleteProps(params services.PropsParams) (int, error)
func (*ArtifactoryServicesManager) DeleteReplication ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) DeleteReplication(repoKey string) error
func (*ArtifactoryServicesManager) DeleteRepository ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) DeleteRepository(repoKey string) error
func (*ArtifactoryServicesManager) DiscardBuilds ¶
func (sm *ArtifactoryServicesManager) DiscardBuilds(params services.DiscardBuildsParams) error
func (*ArtifactoryServicesManager) DistributeBuild ¶
func (sm *ArtifactoryServicesManager) DistributeBuild(params services.BuildDistributionParams) error
func (*ArtifactoryServicesManager) DownloadFiles ¶
func (sm *ArtifactoryServicesManager) DownloadFiles(params ...services.DownloadParams) ([]utils.FileInfo, int, error)
func (*ArtifactoryServicesManager) GetBuildInfo ¶ added in v0.3.1
func (sm *ArtifactoryServicesManager) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.BuildInfo, error)
func (*ArtifactoryServicesManager) GetConfig ¶
func (sm *ArtifactoryServicesManager) GetConfig() config.Config
func (*ArtifactoryServicesManager) GetPathsToDelete ¶
func (sm *ArtifactoryServicesManager) GetPathsToDelete(params services.DeleteParams) ([]utils.ResultItem, error)
func (*ArtifactoryServicesManager) GetReplication ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
func (*ArtifactoryServicesManager) GetRepository ¶ added in v0.10.0
func (sm *ArtifactoryServicesManager) GetRepository(repoKey string) (*services.RepositoryDetails, error)
func (*ArtifactoryServicesManager) GetServiceId ¶ added in v0.10.0
func (sm *ArtifactoryServicesManager) GetServiceId() (string, error)
func (*ArtifactoryServicesManager) GetTokens ¶ added in v0.7.0
func (sm *ArtifactoryServicesManager) GetTokens() (services.GetTokensResponseData, error)
func (*ArtifactoryServicesManager) GetUnreferencedGitLfsFiles ¶
func (sm *ArtifactoryServicesManager) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) ([]utils.ResultItem, error)
func (*ArtifactoryServicesManager) GetVersion ¶ added in v0.10.0
func (sm *ArtifactoryServicesManager) GetVersion() (string, error)
func (*ArtifactoryServicesManager) Move ¶
func (sm *ArtifactoryServicesManager) Move(params services.MoveCopyParams) (successCount, failedCount int, err error)
func (*ArtifactoryServicesManager) Ping ¶
func (sm *ArtifactoryServicesManager) Ping() ([]byte, error)
func (*ArtifactoryServicesManager) PromoteBuild ¶
func (sm *ArtifactoryServicesManager) PromoteBuild(params services.PromotionParams) error
func (*ArtifactoryServicesManager) PublishBuildInfo ¶
func (sm *ArtifactoryServicesManager) PublishBuildInfo(build *buildinfo.BuildInfo) error
func (*ArtifactoryServicesManager) PublishGoProject ¶
func (sm *ArtifactoryServicesManager) PublishGoProject(params _go.GoParams) error
func (*ArtifactoryServicesManager) ReadRemoteFile ¶
func (sm *ArtifactoryServicesManager) ReadRemoteFile(readPath string) (io.ReadCloser, error)
func (*ArtifactoryServicesManager) RefreshToken ¶ added in v0.7.0
func (sm *ArtifactoryServicesManager) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error)
func (*ArtifactoryServicesManager) RevokeToken ¶ added in v0.7.0
func (sm *ArtifactoryServicesManager) RevokeToken(params services.RevokeTokenParams) (string, error)
func (*ArtifactoryServicesManager) SearchFiles ¶ added in v0.1.3
func (sm *ArtifactoryServicesManager) SearchFiles(params services.SearchParams) ([]utils.ResultItem, error)
func (*ArtifactoryServicesManager) SetProps ¶
func (sm *ArtifactoryServicesManager) SetProps(params services.PropsParams) (int, error)
func (*ArtifactoryServicesManager) UpdateLocalRepository ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) UpdateLocalRepository() *services.LocalRepositoryService
func (*ArtifactoryServicesManager) UpdateRemoteRepository ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) UpdateRemoteRepository() *services.RemoteRepositoryService
func (*ArtifactoryServicesManager) UpdateReplication ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) UpdateReplication(params services.UpdateReplicationParams) error
func (*ArtifactoryServicesManager) UpdateVirtualRepository ¶ added in v0.9.0
func (sm *ArtifactoryServicesManager) UpdateVirtualRepository() *services.VirtualRepositoryService
func (*ArtifactoryServicesManager) UploadFiles ¶
func (sm *ArtifactoryServicesManager) UploadFiles(params ...services.UploadParams) (artifactsFileInfo []utils.FileInfo, totalUploaded, totalFailed int, err error)
func (*ArtifactoryServicesManager) XrayScanBuild ¶
func (sm *ArtifactoryServicesManager) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.