Documentation ¶
Index ¶
- func CreateArtifactoryHttpClient(config Config) (*httpclient.HttpClient, error)
- func NewConfigBuilder() *artifactoryServicesConfigBuilder
- type ArtifactoryServicesManager
- func (sm *ArtifactoryServicesManager) Aql(aql string) ([]byte, error)
- func (sm *ArtifactoryServicesManager) Copy(params services.MoveCopyParams) (successCount, failedCount int, err error)
- func (sm *ArtifactoryServicesManager) DeleteFiles(resultItems []utils.ResultItem) (int, error)
- func (sm *ArtifactoryServicesManager) DeleteProps(params services.PropsParams) (int, 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) GetConfig() Config
- func (sm *ArtifactoryServicesManager) GetPathsToDelete(params services.DeleteParams) ([]utils.ResultItem, error)
- func (sm *ArtifactoryServicesManager) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) ([]utils.ResultItem, 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) SearchFiles(params services.SearchParams) ([]utils.ResultItem, error)
- func (sm *ArtifactoryServicesManager) SetProps(params services.PropsParams) (int, error)
- func (sm *ArtifactoryServicesManager) UploadFiles(params services.UploadParams) (artifactsFileInfo []utils.FileInfo, totalUploaded, totalFailed int, err error)
- func (sm *ArtifactoryServicesManager) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
- type ArtifactoryServicesSetter
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArtifactoryHttpClient ¶ added in v0.1.3
func CreateArtifactoryHttpClient(config Config) (*httpclient.HttpClient, error)
func NewConfigBuilder ¶
func NewConfigBuilder() *artifactoryServicesConfigBuilder
Types ¶
type ArtifactoryServicesManager ¶
type ArtifactoryServicesManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config) (*ArtifactoryServicesManager, error)
func (*ArtifactoryServicesManager) Aql ¶
func (sm *ArtifactoryServicesManager) Aql(aql string) ([]byte, error)
func (*ArtifactoryServicesManager) Copy ¶
func (sm *ArtifactoryServicesManager) Copy(params services.MoveCopyParams) (successCount, failedCount int, err error)
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) 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) GetConfig ¶
func (sm *ArtifactoryServicesManager) GetConfig() Config
func (*ArtifactoryServicesManager) GetPathsToDelete ¶
func (sm *ArtifactoryServicesManager) GetPathsToDelete(params services.DeleteParams) ([]utils.ResultItem, error)
func (*ArtifactoryServicesManager) GetUnreferencedGitLfsFiles ¶
func (sm *ArtifactoryServicesManager) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) ([]utils.ResultItem, 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) 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) 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)
type ArtifactoryServicesSetter ¶
type ArtifactoryServicesSetter interface { SetThread(threads int) SetArtDetails(artDetails auth.ArtifactoryDetails) SetDryRun(isDryRun bool) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.