Documentation ¶
Index ¶
- type ArtifactoryServicesManager
- type ArtifactoryServicesManagerImp
- 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) GetAllRepositories() (*[]services.RepositoryDetails, error)
- func (sm *ArtifactoryServicesManagerImp) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, 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, project string) 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) (totalUploaded, totalFailed int, err error)
- func (sm *ArtifactoryServicesManagerImp) UploadFilesWithResultReader(params ...services.UploadParams) (resultReader *content.ContentReader, totalUploaded, totalFailed int, err error)
- func (sm *ArtifactoryServicesManagerImp) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
- type EmptyArtifactoryServicesManager
- 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) GetAllRepositories() (*[]services.RepositoryDetails, error)
- func (esm *EmptyArtifactoryServicesManager) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, 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, project string) 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) (totalUploaded, totalFailed int, err error)
- func (esm *EmptyArtifactoryServicesManager) UploadFilesWithResultReader(params ...services.UploadParams) (resultReader *content.ContentReader, totalUploaded, totalFailed int, err error)
- func (esm *EmptyArtifactoryServicesManager) 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 interface { CreateLocalRepository() *services.LocalRepositoryService CreateRemoteRepository() *services.RemoteRepositoryService CreateVirtualRepository() *services.VirtualRepositoryService UpdateLocalRepository() *services.LocalRepositoryService UpdateRemoteRepository() *services.RemoteRepositoryService UpdateVirtualRepository() *services.VirtualRepositoryService DeleteRepository(repoKey string) error GetRepository(repoKey string) (*services.RepositoryDetails, error) GetAllRepositories() (*[]services.RepositoryDetails, error) CreatePermissionTarget(params services.PermissionTargetParams) error UpdatePermissionTarget(params services.PermissionTargetParams) error DeletePermissionTarget(permissionTargetName string) error PublishBuildInfo(build *buildinfo.BuildInfo, project string) error DistributeBuild(params services.BuildDistributionParams) error PromoteBuild(params services.PromotionParams) error DiscardBuilds(params services.DiscardBuildsParams) error XrayScanBuild(params services.XrayScanParams) ([]byte, error) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error) DeleteFiles(reader *content.ContentReader) (int, error) ReadRemoteFile(readPath string) (io.ReadCloser, error) DownloadFiles(params ...services.DownloadParams) (totalDownloaded, totalExpected int, err error) DownloadFilesWithResultReader(params ...services.DownloadParams) (resultReader *content.ContentReader, totalDownloaded, totalExpected int, err error) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) (*content.ContentReader, error) SearchFiles(params services.SearchParams) (*content.ContentReader, error) Aql(aql string) (io.ReadCloser, error) SetProps(params services.PropsParams) (int, error) DeleteProps(params services.PropsParams) (int, error) UploadFilesWithResultReader(params ...services.UploadParams) (resultReader *content.ContentReader, totalUploaded, totalFailed int, err error) UploadFiles(params ...services.UploadParams) (totalUploaded, totalFailed int, err error) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error) Move(params ...services.MoveCopyParams) (successCount, failedCount int, err error) PublishGoProject(params _go.GoParams) error Ping() ([]byte, error) GetConfig() config.Config GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error) GetTokens() (services.GetTokensResponseData, error) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error) RevokeToken(params services.RevokeTokenParams) (string, error) CreateReplication(params services.CreateReplicationParams) error UpdateReplication(params services.UpdateReplicationParams) error DeleteReplication(repoKey string) error GetReplication(repoKey string) ([]utils.ReplicationParams, error) GetVersion() (string, error) GetServiceId() (string, error) PromoteDocker(params services.DockerPromoteParams) error Client() *rthttpclient.ArtifactoryHttpClient }
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.ProgressMgr) (ArtifactoryServicesManager, error)
type ArtifactoryServicesManagerImp ¶ added in v0.14.0
type ArtifactoryServicesManagerImp struct {
// contains filtered or unexported fields
}
func (*ArtifactoryServicesManagerImp) Aql ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) Aql(aql string) (io.ReadCloser, error)
func (*ArtifactoryServicesManagerImp) Client ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) Client() *rthttpclient.ArtifactoryHttpClient
func (*ArtifactoryServicesManagerImp) Copy ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
func (*ArtifactoryServicesManagerImp) CreateLocalRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreateLocalRepository() *services.LocalRepositoryService
func (*ArtifactoryServicesManagerImp) CreatePermissionTarget ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreatePermissionTarget(params services.PermissionTargetParams) error
func (*ArtifactoryServicesManagerImp) CreateRemoteRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreateRemoteRepository() *services.RemoteRepositoryService
func (*ArtifactoryServicesManagerImp) CreateReplication ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreateReplication(params services.CreateReplicationParams) error
func (*ArtifactoryServicesManagerImp) CreateToken ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error)
func (*ArtifactoryServicesManagerImp) CreateVirtualRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreateVirtualRepository() *services.VirtualRepositoryService
func (*ArtifactoryServicesManagerImp) DeleteFiles ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DeleteFiles(reader *content.ContentReader) (int, error)
func (*ArtifactoryServicesManagerImp) DeletePermissionTarget ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DeletePermissionTarget(permissionTargetName string) error
func (*ArtifactoryServicesManagerImp) DeleteProps ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DeleteProps(params services.PropsParams) (int, error)
func (*ArtifactoryServicesManagerImp) DeleteReplication ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DeleteReplication(repoKey string) error
func (*ArtifactoryServicesManagerImp) DeleteRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DeleteRepository(repoKey string) error
func (*ArtifactoryServicesManagerImp) DiscardBuilds ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DiscardBuilds(params services.DiscardBuildsParams) error
func (*ArtifactoryServicesManagerImp) DistributeBuild ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DistributeBuild(params services.BuildDistributionParams) error
func (*ArtifactoryServicesManagerImp) DownloadFiles ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DownloadFiles(params ...services.DownloadParams) (totalDownloaded, totalExpected int, err error)
func (*ArtifactoryServicesManagerImp) DownloadFilesWithResultReader ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DownloadFilesWithResultReader(params ...services.DownloadParams) (resultReader *content.ContentReader, totalDownloaded, totalExpected int, err error)
func (*ArtifactoryServicesManagerImp) GetAllRepositories ¶ added in v0.15.0
func (sm *ArtifactoryServicesManagerImp) GetAllRepositories() (*[]services.RepositoryDetails, error)
func (*ArtifactoryServicesManagerImp) GetBuildInfo ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error)
func (*ArtifactoryServicesManagerImp) GetConfig ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetConfig() config.Config
func (*ArtifactoryServicesManagerImp) GetPathsToDelete ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error)
func (*ArtifactoryServicesManagerImp) GetReplication ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
func (*ArtifactoryServicesManagerImp) GetRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetRepository(repoKey string) (*services.RepositoryDetails, error)
func (*ArtifactoryServicesManagerImp) GetServiceId ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetServiceId() (string, error)
func (*ArtifactoryServicesManagerImp) GetTokens ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetTokens() (services.GetTokensResponseData, error)
func (*ArtifactoryServicesManagerImp) GetUnreferencedGitLfsFiles ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) (*content.ContentReader, error)
func (*ArtifactoryServicesManagerImp) GetVersion ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetVersion() (string, error)
func (*ArtifactoryServicesManagerImp) Move ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) Move(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
func (*ArtifactoryServicesManagerImp) Ping ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) Ping() ([]byte, error)
func (*ArtifactoryServicesManagerImp) PromoteBuild ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) PromoteBuild(params services.PromotionParams) error
func (*ArtifactoryServicesManagerImp) PromoteDocker ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) PromoteDocker(params services.DockerPromoteParams) error
func (*ArtifactoryServicesManagerImp) PublishBuildInfo ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) PublishBuildInfo(build *buildinfo.BuildInfo, project string) error
func (*ArtifactoryServicesManagerImp) PublishGoProject ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) PublishGoProject(params _go.GoParams) error
func (*ArtifactoryServicesManagerImp) ReadRemoteFile ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) ReadRemoteFile(readPath string) (io.ReadCloser, error)
func (*ArtifactoryServicesManagerImp) RefreshToken ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error)
func (*ArtifactoryServicesManagerImp) RevokeToken ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) RevokeToken(params services.RevokeTokenParams) (string, error)
func (*ArtifactoryServicesManagerImp) SearchFiles ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) SearchFiles(params services.SearchParams) (*content.ContentReader, error)
func (*ArtifactoryServicesManagerImp) SetProps ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) SetProps(params services.PropsParams) (int, error)
func (*ArtifactoryServicesManagerImp) UpdateLocalRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) UpdateLocalRepository() *services.LocalRepositoryService
func (*ArtifactoryServicesManagerImp) UpdatePermissionTarget ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) UpdatePermissionTarget(params services.PermissionTargetParams) error
func (*ArtifactoryServicesManagerImp) UpdateRemoteRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) UpdateRemoteRepository() *services.RemoteRepositoryService
func (*ArtifactoryServicesManagerImp) UpdateReplication ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) UpdateReplication(params services.UpdateReplicationParams) error
func (*ArtifactoryServicesManagerImp) UpdateVirtualRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) UpdateVirtualRepository() *services.VirtualRepositoryService
func (*ArtifactoryServicesManagerImp) UploadFiles ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) UploadFiles(params ...services.UploadParams) (totalUploaded, totalFailed int, err error)
func (*ArtifactoryServicesManagerImp) UploadFilesWithResultReader ¶ added in v0.15.0
func (sm *ArtifactoryServicesManagerImp) UploadFilesWithResultReader(params ...services.UploadParams) (resultReader *content.ContentReader, totalUploaded, totalFailed int, err error)
func (*ArtifactoryServicesManagerImp) XrayScanBuild ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
type EmptyArtifactoryServicesManager ¶ added in v0.14.0
type EmptyArtifactoryServicesManager struct { }
By using this struct, you have the option of overriding only some of the ArtifactoryServicesManager interface's methods, but still implement this interface. This comes in very handy for tests.
func (*EmptyArtifactoryServicesManager) Aql ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) Aql(aql string) (io.ReadCloser, error)
func (*EmptyArtifactoryServicesManager) Client ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) Client() *rthttpclient.ArtifactoryHttpClient
func (*EmptyArtifactoryServicesManager) Copy ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
func (*EmptyArtifactoryServicesManager) CreateLocalRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateLocalRepository() *services.LocalRepositoryService
func (*EmptyArtifactoryServicesManager) CreatePermissionTarget ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreatePermissionTarget(params services.PermissionTargetParams) error
func (*EmptyArtifactoryServicesManager) CreateRemoteRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepository() *services.RemoteRepositoryService
func (*EmptyArtifactoryServicesManager) CreateReplication ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateReplication(params services.CreateReplicationParams) error
func (*EmptyArtifactoryServicesManager) CreateToken ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error)
func (*EmptyArtifactoryServicesManager) CreateVirtualRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepository() *services.VirtualRepositoryService
func (*EmptyArtifactoryServicesManager) DeleteFiles ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeleteFiles(reader *content.ContentReader) (int, error)
func (*EmptyArtifactoryServicesManager) DeletePermissionTarget ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeletePermissionTarget(permissionTargetName string) error
func (*EmptyArtifactoryServicesManager) DeleteProps ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeleteProps(params services.PropsParams) (int, error)
func (*EmptyArtifactoryServicesManager) DeleteReplication ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeleteReplication(repoKey string) error
func (*EmptyArtifactoryServicesManager) DeleteRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeleteRepository(repoKey string) error
func (*EmptyArtifactoryServicesManager) DiscardBuilds ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DiscardBuilds(params services.DiscardBuildsParams) error
func (*EmptyArtifactoryServicesManager) DistributeBuild ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DistributeBuild(params services.BuildDistributionParams) error
func (*EmptyArtifactoryServicesManager) DownloadFiles ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DownloadFiles(params ...services.DownloadParams) (totalDownloaded, totalExpected int, err error)
func (*EmptyArtifactoryServicesManager) DownloadFilesWithResultReader ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DownloadFilesWithResultReader(params ...services.DownloadParams) (resultReader *content.ContentReader, totalDownloaded, totalExpected int, err error)
func (*EmptyArtifactoryServicesManager) GetAllRepositories ¶ added in v0.16.0
func (esm *EmptyArtifactoryServicesManager) GetAllRepositories() (*[]services.RepositoryDetails, error)
func (*EmptyArtifactoryServicesManager) GetBuildInfo ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error)
func (*EmptyArtifactoryServicesManager) GetConfig ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetConfig() config.Config
func (*EmptyArtifactoryServicesManager) GetPathsToDelete ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error)
func (*EmptyArtifactoryServicesManager) GetReplication ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
func (*EmptyArtifactoryServicesManager) GetRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetRepository(repoKey string) (*services.RepositoryDetails, error)
func (*EmptyArtifactoryServicesManager) GetServiceId ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetServiceId() (string, error)
func (*EmptyArtifactoryServicesManager) GetTokens ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetTokens() (services.GetTokensResponseData, error)
func (*EmptyArtifactoryServicesManager) GetUnreferencedGitLfsFiles ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) (*content.ContentReader, error)
func (*EmptyArtifactoryServicesManager) GetVersion ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetVersion() (string, error)
func (*EmptyArtifactoryServicesManager) Move ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) Move(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
func (*EmptyArtifactoryServicesManager) Ping ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) Ping() ([]byte, error)
func (*EmptyArtifactoryServicesManager) PromoteBuild ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) PromoteBuild(params services.PromotionParams) error
func (*EmptyArtifactoryServicesManager) PromoteDocker ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) PromoteDocker(params services.DockerPromoteParams) error
func (*EmptyArtifactoryServicesManager) PublishBuildInfo ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) PublishBuildInfo(build *buildinfo.BuildInfo, project string) error
func (*EmptyArtifactoryServicesManager) PublishGoProject ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) PublishGoProject(params _go.GoParams) error
func (*EmptyArtifactoryServicesManager) ReadRemoteFile ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) ReadRemoteFile(readPath string) (io.ReadCloser, error)
func (*EmptyArtifactoryServicesManager) RefreshToken ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error)
func (*EmptyArtifactoryServicesManager) RevokeToken ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) RevokeToken(params services.RevokeTokenParams) (string, error)
func (*EmptyArtifactoryServicesManager) SearchFiles ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) SearchFiles(params services.SearchParams) (*content.ContentReader, error)
func (*EmptyArtifactoryServicesManager) SetProps ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) SetProps(params services.PropsParams) (int, error)
func (*EmptyArtifactoryServicesManager) UpdateLocalRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) UpdateLocalRepository() *services.LocalRepositoryService
func (*EmptyArtifactoryServicesManager) UpdatePermissionTarget ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) UpdatePermissionTarget(params services.PermissionTargetParams) error
func (*EmptyArtifactoryServicesManager) UpdateRemoteRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) UpdateRemoteRepository() *services.RemoteRepositoryService
func (*EmptyArtifactoryServicesManager) UpdateReplication ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) UpdateReplication(params services.UpdateReplicationParams) error
func (*EmptyArtifactoryServicesManager) UpdateVirtualRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) UpdateVirtualRepository() *services.VirtualRepositoryService
func (*EmptyArtifactoryServicesManager) UploadFiles ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) UploadFiles(params ...services.UploadParams) (totalUploaded, totalFailed int, err error)
func (*EmptyArtifactoryServicesManager) UploadFilesWithResultReader ¶ added in v0.15.0
func (esm *EmptyArtifactoryServicesManager) UploadFilesWithResultReader(params ...services.UploadParams) (resultReader *content.ContentReader, totalUploaded, totalFailed int, err error)
func (*EmptyArtifactoryServicesManager) XrayScanBuild ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.