Documentation ¶
Index ¶
- type ArtifactoryServicesManager
- type ArtifactoryServicesManagerImp
- func (sm *ArtifactoryServicesManagerImp) ActivateKeyEncryption() error
- func (sm *ArtifactoryServicesManagerImp) Aql(aql string) (io.ReadCloser, error)
- func (sm *ArtifactoryServicesManagerImp) CalculateStorageInfo() error
- func (sm *ArtifactoryServicesManagerImp) Client() *jfroghttpclient.JfrogHttpClient
- func (sm *ArtifactoryServicesManagerImp) ConvertLocalToFederatedRepository(repoKey string) error
- func (sm *ArtifactoryServicesManagerImp) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
- func (sm *ArtifactoryServicesManagerImp) CreateAPIKey() (string, error)
- func (sm *ArtifactoryServicesManagerImp) CreateFederatedRepository() *services.FederatedRepositoryService
- func (sm *ArtifactoryServicesManagerImp) CreateFederatedRepositoryWithParams(params services.FederatedRepositoryBaseParams) error
- func (sm *ArtifactoryServicesManagerImp) CreateGroup(params services.GroupParams) error
- func (sm *ArtifactoryServicesManagerImp) CreateLocalRepository() *services.LocalRepositoryService
- func (sm *ArtifactoryServicesManagerImp) CreateLocalRepositoryWithParams(params services.LocalRepositoryBaseParams) error
- func (sm *ArtifactoryServicesManagerImp) CreatePermissionTarget(params services.PermissionTargetParams) error
- func (sm *ArtifactoryServicesManagerImp) CreateRemoteRepository() *services.RemoteRepositoryService
- func (sm *ArtifactoryServicesManagerImp) CreateRemoteRepositoryWithParams(params services.RemoteRepositoryBaseParams) error
- func (sm *ArtifactoryServicesManagerImp) CreateReplication(params services.CreateReplicationParams) error
- func (sm *ArtifactoryServicesManagerImp) CreateRepositoryWithParams(params interface{}, repoName string) error
- func (sm *ArtifactoryServicesManagerImp) CreateToken(params services.CreateTokenParams) (auth.CreateTokenResponseData, error)
- func (sm *ArtifactoryServicesManagerImp) CreateUser(params services.UserParams) error
- func (sm *ArtifactoryServicesManagerImp) CreateVirtualRepository() *services.VirtualRepositoryService
- func (sm *ArtifactoryServicesManagerImp) CreateVirtualRepositoryWithParams(params services.VirtualRepositoryBaseParams) error
- func (sm *ArtifactoryServicesManagerImp) DeactivateKeyEncryption() (bool, error)
- func (sm *ArtifactoryServicesManagerImp) DeleteFiles(reader *content.ContentReader) (int, error)
- func (sm *ArtifactoryServicesManagerImp) DeleteGroup(name string) 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) DeleteUser(name 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, totalFailed int, err error)
- func (sm *ArtifactoryServicesManagerImp) DownloadFilesWithSummary(params ...services.DownloadParams) (operationSummary *utils.OperationSummary, err error)
- func (sm *ArtifactoryServicesManagerImp) Export(params services.ExportParams) error
- func (sm *ArtifactoryServicesManagerImp) FileInfo(relativePath string) (*utils.FileInfo, error)
- func (sm *ArtifactoryServicesManagerImp) FileList(relativePath string, optionalParams utils.FileListParams) (*utils.FileListResponse, error)
- func (sm *ArtifactoryServicesManagerImp) FolderInfo(relativePath string) (*utils.FolderInfo, error)
- func (sm *ArtifactoryServicesManagerImp) GetAPIKey() (string, error)
- func (sm *ArtifactoryServicesManagerImp) GetAllGroups() (*[]string, error)
- func (sm *ArtifactoryServicesManagerImp) GetAllRepositories() (*[]services.RepositoryDetails, error)
- func (sm *ArtifactoryServicesManagerImp) GetAllRepositoriesFiltered(params services.RepositoriesFilterParams) (*[]services.RepositoryDetails, error)
- func (sm *ArtifactoryServicesManagerImp) GetAllUsers() ([]*services.User, error)
- func (sm *ArtifactoryServicesManagerImp) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error)
- func (sm *ArtifactoryServicesManagerImp) GetConfig() config.Config
- func (sm *ArtifactoryServicesManagerImp) GetConfigDescriptor() (string, error)
- func (sm *ArtifactoryServicesManagerImp) GetGroup(params services.GroupParams) (*services.Group, error)
- func (sm *ArtifactoryServicesManagerImp) GetItemProps(relativePath string) (*utils.ItemProperties, error)
- func (sm *ArtifactoryServicesManagerImp) GetLockedUsers() ([]string, error)
- func (sm *ArtifactoryServicesManagerImp) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error)
- func (sm *ArtifactoryServicesManagerImp) GetPermissionTarget(permissionTargetName string) (*services.PermissionTargetParams, error)
- func (sm *ArtifactoryServicesManagerImp) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
- func (sm *ArtifactoryServicesManagerImp) GetRepository(repoKey string, repoDetails interface{}) error
- func (sm *ArtifactoryServicesManagerImp) GetRunningNodes() ([]string, error)
- func (sm *ArtifactoryServicesManagerImp) GetServiceId() (string, error)
- func (sm *ArtifactoryServicesManagerImp) GetStorageInfo() (*utils.StorageInfo, error)
- func (sm *ArtifactoryServicesManagerImp) GetTokens() (services.GetTokensResponseData, error)
- func (sm *ArtifactoryServicesManagerImp) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) (*content.ContentReader, error)
- func (sm *ArtifactoryServicesManagerImp) GetUser(params services.UserParams) (*services.User, error)
- func (sm *ArtifactoryServicesManagerImp) GetUserTokens(username string) ([]string, error)
- func (sm *ArtifactoryServicesManagerImp) GetVersion() (string, error)
- func (sm *ArtifactoryServicesManagerImp) ImportReleaseBundle(filePath string) error
- func (sm *ArtifactoryServicesManagerImp) IsRepoExists(repoKey string) (bool, 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, projectKey string) (*clientutils.Sha256Summary, error)
- func (sm *ArtifactoryServicesManagerImp) PublishGoProject(params _go.GoParams) (*utils.OperationSummary, error)
- func (sm *ArtifactoryServicesManagerImp) ReadRemoteFile(readPath string) (io.ReadCloser, error)
- func (sm *ArtifactoryServicesManagerImp) RefreshToken(params services.ArtifactoryRefreshTokenParams) (auth.CreateTokenResponseData, error)
- func (sm *ArtifactoryServicesManagerImp) RegenerateAPIKey() (string, 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) TriggerFederatedRepositoryFullSyncAll(repoKey string) error
- func (sm *ArtifactoryServicesManagerImp) TriggerFederatedRepositoryFullSyncMirror(repoKey string, mirrorUrl string) error
- func (sm *ArtifactoryServicesManagerImp) UnlockUser(name string) error
- func (sm *ArtifactoryServicesManagerImp) UpdateFederatedRepository() *services.FederatedRepositoryService
- func (sm *ArtifactoryServicesManagerImp) UpdateGroup(params services.GroupParams) 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) UpdateRepositoryWithParams(params interface{}, repoName string) error
- func (sm *ArtifactoryServicesManagerImp) UpdateUser(params services.UserParams) error
- func (sm *ArtifactoryServicesManagerImp) UpdateVirtualRepository() *services.VirtualRepositoryService
- func (sm *ArtifactoryServicesManagerImp) UploadFiles(uploadServiceOptions UploadServiceOptions, params ...services.UploadParams) (totalUploaded, totalFailed int, err error)
- func (sm *ArtifactoryServicesManagerImp) UploadFilesWithSummary(uploadServiceOptions UploadServiceOptions, params ...services.UploadParams) (operationSummary *utils.OperationSummary, err error)
- func (sm *ArtifactoryServicesManagerImp) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
- type EmptyArtifactoryServicesManager
- func (esm *EmptyArtifactoryServicesManager) ActivateKeyEncryption() error
- func (esm *EmptyArtifactoryServicesManager) Aql(string) (io.ReadCloser, error)
- func (esm *EmptyArtifactoryServicesManager) CalculateStorageInfo() error
- func (esm *EmptyArtifactoryServicesManager) Client() *jfroghttpclient.JfrogHttpClient
- func (esm *EmptyArtifactoryServicesManager) ConvertLocalToFederatedRepository(string) error
- func (esm *EmptyArtifactoryServicesManager) Copy(...services.MoveCopyParams) (int, int, error)
- func (esm *EmptyArtifactoryServicesManager) CreateAPIKey() (string, error)
- func (esm *EmptyArtifactoryServicesManager) CreateFederatedRepository() *services.FederatedRepositoryService
- func (esm *EmptyArtifactoryServicesManager) CreateFederatedRepositoryWithParams(services.FederatedRepositoryBaseParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateGroup(services.GroupParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateLocalRepository() *services.LocalRepositoryService
- func (esm *EmptyArtifactoryServicesManager) CreateLocalRepositoryWithParams(services.LocalRepositoryBaseParams) error
- func (esm *EmptyArtifactoryServicesManager) CreatePermissionTarget(services.PermissionTargetParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepository() *services.RemoteRepositoryService
- func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepositoryWithParams(services.RemoteRepositoryBaseParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateReplication(services.CreateReplicationParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateRepositoryWithParams(interface{}, string) error
- func (esm *EmptyArtifactoryServicesManager) CreateToken(services.CreateTokenParams) (auth.CreateTokenResponseData, error)
- func (esm *EmptyArtifactoryServicesManager) CreateUser(services.UserParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepository() *services.VirtualRepositoryService
- func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepositoryWithParams(services.VirtualRepositoryBaseParams) error
- func (esm *EmptyArtifactoryServicesManager) DeactivateKeyEncryption() (bool, error)
- func (esm *EmptyArtifactoryServicesManager) DeleteFiles(*content.ContentReader) (int, error)
- func (esm *EmptyArtifactoryServicesManager) DeleteGroup(string) error
- func (esm *EmptyArtifactoryServicesManager) DeletePermissionTarget(string) error
- func (esm *EmptyArtifactoryServicesManager) DeleteProps(services.PropsParams) (int, error)
- func (esm *EmptyArtifactoryServicesManager) DeleteReplication(string) error
- func (esm *EmptyArtifactoryServicesManager) DeleteRepository(string) error
- func (esm *EmptyArtifactoryServicesManager) DeleteUser(string) error
- func (esm *EmptyArtifactoryServicesManager) DiscardBuilds(services.DiscardBuildsParams) error
- func (esm *EmptyArtifactoryServicesManager) DistributeBuild(services.BuildDistributionParams) error
- func (esm *EmptyArtifactoryServicesManager) DownloadFiles(...services.DownloadParams) (int, int, error)
- func (esm *EmptyArtifactoryServicesManager) DownloadFilesWithSummary(...services.DownloadParams) (*utils.OperationSummary, error)
- func (esm *EmptyArtifactoryServicesManager) Export(services.ExportParams) error
- func (esm *EmptyArtifactoryServicesManager) FileInfo(string) (*utils.FileInfo, error)
- func (esm *EmptyArtifactoryServicesManager) FileList(string, utils.FileListParams) (*utils.FileListResponse, error)
- func (esm *EmptyArtifactoryServicesManager) FolderInfo(string) (*utils.FolderInfo, error)
- func (esm *EmptyArtifactoryServicesManager) GetAPIKey() (string, error)
- func (esm *EmptyArtifactoryServicesManager) GetAllGroups() (*[]string, error)
- func (esm *EmptyArtifactoryServicesManager) GetAllRepositories() (*[]services.RepositoryDetails, error)
- func (esm *EmptyArtifactoryServicesManager) GetAllRepositoriesFiltered(services.RepositoriesFilterParams) (*[]services.RepositoryDetails, error)
- func (esm *EmptyArtifactoryServicesManager) GetAllUsers() ([]*services.User, error)
- func (esm *EmptyArtifactoryServicesManager) GetBuildInfo(services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error)
- func (esm *EmptyArtifactoryServicesManager) GetConfig() config.Config
- func (esm *EmptyArtifactoryServicesManager) GetConfigDescriptor() (string, error)
- func (esm *EmptyArtifactoryServicesManager) GetGroup(services.GroupParams) (*services.Group, error)
- func (esm *EmptyArtifactoryServicesManager) GetItemProps(string) (*utils.ItemProperties, error)
- func (esm *EmptyArtifactoryServicesManager) GetLockedUsers() ([]string, error)
- func (esm *EmptyArtifactoryServicesManager) GetPathsToDelete(services.DeleteParams) (*content.ContentReader, error)
- func (esm *EmptyArtifactoryServicesManager) GetPermissionTarget(string) (*services.PermissionTargetParams, error)
- func (esm *EmptyArtifactoryServicesManager) GetReplication(string) ([]utils.ReplicationParams, error)
- func (esm *EmptyArtifactoryServicesManager) GetRepository(string, interface{}) error
- func (esm *EmptyArtifactoryServicesManager) GetRunningNodes() ([]string, error)
- func (esm *EmptyArtifactoryServicesManager) GetServiceId() (string, error)
- func (esm *EmptyArtifactoryServicesManager) GetStorageInfo() (*utils.StorageInfo, error)
- func (esm *EmptyArtifactoryServicesManager) GetTokens() (services.GetTokensResponseData, error)
- func (esm *EmptyArtifactoryServicesManager) GetUnreferencedGitLfsFiles(services.GitLfsCleanParams) (*content.ContentReader, error)
- func (esm *EmptyArtifactoryServicesManager) GetUser(services.UserParams) (*services.User, error)
- func (esm *EmptyArtifactoryServicesManager) GetUserTokens(string) ([]string, error)
- func (esm *EmptyArtifactoryServicesManager) GetVersion() (string, error)
- func (esm *EmptyArtifactoryServicesManager) ImportReleaseBundle(string) error
- func (esm *EmptyArtifactoryServicesManager) IsRepoExists(string) (bool, error)
- func (esm *EmptyArtifactoryServicesManager) Move(...services.MoveCopyParams) (int, int, error)
- func (esm *EmptyArtifactoryServicesManager) Ping() ([]byte, error)
- func (esm *EmptyArtifactoryServicesManager) PromoteBuild(services.PromotionParams) error
- func (esm *EmptyArtifactoryServicesManager) PromoteDocker(services.DockerPromoteParams) error
- func (esm *EmptyArtifactoryServicesManager) PublishBuildInfo(*buildinfo.BuildInfo, string) (*clientutils.Sha256Summary, error)
- func (esm *EmptyArtifactoryServicesManager) PublishGoProject(_go.GoParams) (*utils.OperationSummary, error)
- func (esm *EmptyArtifactoryServicesManager) ReadRemoteFile(string) (io.ReadCloser, error)
- func (esm *EmptyArtifactoryServicesManager) RefreshToken(services.ArtifactoryRefreshTokenParams) (auth.CreateTokenResponseData, error)
- func (esm *EmptyArtifactoryServicesManager) RegenerateAPIKey() (string, error)
- func (esm *EmptyArtifactoryServicesManager) RevokeToken(services.RevokeTokenParams) (string, error)
- func (esm *EmptyArtifactoryServicesManager) SearchFiles(services.SearchParams) (*content.ContentReader, error)
- func (esm *EmptyArtifactoryServicesManager) SetProps(services.PropsParams) (int, error)
- func (esm *EmptyArtifactoryServicesManager) TriggerFederatedRepositoryFullSyncAll(string) error
- func (esm *EmptyArtifactoryServicesManager) TriggerFederatedRepositoryFullSyncMirror(string, string) error
- func (esm *EmptyArtifactoryServicesManager) UnlockUser(string) error
- func (esm *EmptyArtifactoryServicesManager) UpdateFederatedRepository() *services.FederatedRepositoryService
- func (esm *EmptyArtifactoryServicesManager) UpdateGroup(services.GroupParams) error
- func (esm *EmptyArtifactoryServicesManager) UpdateLocalRepository() *services.LocalRepositoryService
- func (esm *EmptyArtifactoryServicesManager) UpdatePermissionTarget(services.PermissionTargetParams) error
- func (esm *EmptyArtifactoryServicesManager) UpdateRemoteRepository() *services.RemoteRepositoryService
- func (esm *EmptyArtifactoryServicesManager) UpdateReplication(services.UpdateReplicationParams) error
- func (esm *EmptyArtifactoryServicesManager) UpdateRepositoryWithParams(interface{}, string) error
- func (esm *EmptyArtifactoryServicesManager) UpdateUser(services.UserParams) error
- func (esm *EmptyArtifactoryServicesManager) UpdateVirtualRepository() *services.VirtualRepositoryService
- func (esm *EmptyArtifactoryServicesManager) UploadFiles(_ UploadServiceOptions, _ ...services.UploadParams) (int, int, error)
- func (esm *EmptyArtifactoryServicesManager) UploadFilesWithSummary(_ UploadServiceOptions, _ ...services.UploadParams) (*utils.OperationSummary, error)
- func (esm *EmptyArtifactoryServicesManager) XrayScanBuild(services.XrayScanParams) ([]byte, error)
- type UploadServiceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactoryServicesManager ¶
type ArtifactoryServicesManager interface { CreateLocalRepository() *services.LocalRepositoryService CreateLocalRepositoryWithParams(params services.LocalRepositoryBaseParams) error CreateRemoteRepository() *services.RemoteRepositoryService CreateRemoteRepositoryWithParams(params services.RemoteRepositoryBaseParams) error CreateVirtualRepository() *services.VirtualRepositoryService CreateVirtualRepositoryWithParams(params services.VirtualRepositoryBaseParams) error CreateFederatedRepository() *services.FederatedRepositoryService CreateFederatedRepositoryWithParams(params services.FederatedRepositoryBaseParams) error CreateRepositoryWithParams(params interface{}, repoName string) error UpdateLocalRepository() *services.LocalRepositoryService UpdateRemoteRepository() *services.RemoteRepositoryService UpdateVirtualRepository() *services.VirtualRepositoryService UpdateFederatedRepository() *services.FederatedRepositoryService UpdateRepositoryWithParams(params interface{}, repoName string) error DeleteRepository(repoKey string) error GetRepository(repoKey string, repoDetails interface{}) error GetAllRepositories() (*[]services.RepositoryDetails, error) GetAllRepositoriesFiltered(params services.RepositoriesFilterParams) (*[]services.RepositoryDetails, error) IsRepoExists(repoKey string) (bool, error) CreatePermissionTarget(params services.PermissionTargetParams) error UpdatePermissionTarget(params services.PermissionTargetParams) error DeletePermissionTarget(permissionTargetName string) error GetPermissionTarget(permissionTargetName string) (*services.PermissionTargetParams, error) PublishBuildInfo(build *buildinfo.BuildInfo, projectKey string) (*clientutils.Sha256Summary, 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, totalFailed int, err error) DownloadFilesWithSummary(params ...services.DownloadParams) (operationSummary *utils.OperationSummary, 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) GetItemProps(relativePath string) (*utils.ItemProperties, error) UploadFiles(uploadServiceOptions UploadServiceOptions, params ...services.UploadParams) (totalUploaded, totalFailed int, err error) UploadFilesWithSummary(uploadServiceOptions UploadServiceOptions, params ...services.UploadParams) (operationSummary *utils.OperationSummary, err error) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error) Move(params ...services.MoveCopyParams) (successCount, failedCount int, err error) PublishGoProject(params _go.GoParams) (*utils.OperationSummary, error) Ping() ([]byte, error) GetConfig() config.Config GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error) CreateAPIKey() (string, error) RegenerateAPIKey() (string, error) GetAPIKey() (string, error) CreateToken(params services.CreateTokenParams) (auth.CreateTokenResponseData, error) GetTokens() (services.GetTokensResponseData, error) GetUserTokens(username string) ([]string, error) RefreshToken(params services.ArtifactoryRefreshTokenParams) (auth.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) GetRunningNodes() ([]string, error) GetServiceId() (string, error) GetConfigDescriptor() (string, error) ActivateKeyEncryption() error DeactivateKeyEncryption() (bool, error) PromoteDocker(params services.DockerPromoteParams) error Client() *jfroghttpclient.JfrogHttpClient GetGroup(params services.GroupParams) (*services.Group, error) GetAllGroups() (*[]string, error) CreateGroup(params services.GroupParams) error UpdateGroup(params services.GroupParams) error DeleteGroup(name string) error GetUser(params services.UserParams) (*services.User, error) GetAllUsers() ([]*services.User, error) CreateUser(params services.UserParams) error UpdateUser(params services.UserParams) error DeleteUser(name string) error GetLockedUsers() ([]string, error) UnlockUser(name string) error ConvertLocalToFederatedRepository(repoKey string) error TriggerFederatedRepositoryFullSyncAll(repoKey string) error TriggerFederatedRepositoryFullSyncMirror(repoKey string, mirrorUrl string) error Export(params services.ExportParams) error FolderInfo(relativePath string) (*utils.FolderInfo, error) FileInfo(relativePath string) (*utils.FileInfo, error) FileList(relativePath string, optionalParams utils.FileListParams) (*utils.FileListResponse, error) GetStorageInfo() (*utils.StorageInfo, error) CalculateStorageInfo() error ImportReleaseBundle(string) error }
func NewWithProgress ¶ added in v0.4.0
func NewWithProgress(config config.Config, progress ioutils.ProgressMgr) (ArtifactoryServicesManager, error)
type ArtifactoryServicesManagerImp ¶ added in v0.14.0
type ArtifactoryServicesManagerImp struct {
// contains filtered or unexported fields
}
func NewWithClient ¶ added in v0.21.0
func NewWithClient(config config.Config, client *jfroghttpclient.JfrogHttpClient) (*ArtifactoryServicesManagerImp, error)
func (*ArtifactoryServicesManagerImp) ActivateKeyEncryption ¶ added in v1.14.0
func (sm *ArtifactoryServicesManagerImp) ActivateKeyEncryption() error
func (*ArtifactoryServicesManagerImp) Aql ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) Aql(aql string) (io.ReadCloser, error)
func (*ArtifactoryServicesManagerImp) CalculateStorageInfo ¶ added in v1.20.0
func (sm *ArtifactoryServicesManagerImp) CalculateStorageInfo() error
func (*ArtifactoryServicesManagerImp) Client ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) Client() *jfroghttpclient.JfrogHttpClient
func (*ArtifactoryServicesManagerImp) ConvertLocalToFederatedRepository ¶ added in v1.3.0
func (sm *ArtifactoryServicesManagerImp) ConvertLocalToFederatedRepository(repoKey string) error
func (*ArtifactoryServicesManagerImp) Copy ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
func (*ArtifactoryServicesManagerImp) CreateAPIKey ¶ added in v0.21.0
func (sm *ArtifactoryServicesManagerImp) CreateAPIKey() (string, error)
func (*ArtifactoryServicesManagerImp) CreateFederatedRepository ¶ added in v1.3.0
func (sm *ArtifactoryServicesManagerImp) CreateFederatedRepository() *services.FederatedRepositoryService
func (*ArtifactoryServicesManagerImp) CreateFederatedRepositoryWithParams ¶ added in v1.3.0
func (sm *ArtifactoryServicesManagerImp) CreateFederatedRepositoryWithParams(params services.FederatedRepositoryBaseParams) error
func (*ArtifactoryServicesManagerImp) CreateGroup ¶ added in v0.19.0
func (sm *ArtifactoryServicesManagerImp) CreateGroup(params services.GroupParams) error
func (*ArtifactoryServicesManagerImp) CreateLocalRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreateLocalRepository() *services.LocalRepositoryService
func (*ArtifactoryServicesManagerImp) CreateLocalRepositoryWithParams ¶ added in v0.21.0
func (sm *ArtifactoryServicesManagerImp) CreateLocalRepositoryWithParams(params services.LocalRepositoryBaseParams) error
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) CreateRemoteRepositoryWithParams ¶ added in v0.21.0
func (sm *ArtifactoryServicesManagerImp) CreateRemoteRepositoryWithParams(params services.RemoteRepositoryBaseParams) error
func (*ArtifactoryServicesManagerImp) CreateReplication ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreateReplication(params services.CreateReplicationParams) error
func (*ArtifactoryServicesManagerImp) CreateRepositoryWithParams ¶ added in v1.26.0
func (sm *ArtifactoryServicesManagerImp) CreateRepositoryWithParams(params interface{}, repoName string) error
func (*ArtifactoryServicesManagerImp) CreateToken ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreateToken(params services.CreateTokenParams) (auth.CreateTokenResponseData, error)
func (*ArtifactoryServicesManagerImp) CreateUser ¶ added in v0.19.0
func (sm *ArtifactoryServicesManagerImp) CreateUser(params services.UserParams) error
func (*ArtifactoryServicesManagerImp) CreateVirtualRepository ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) CreateVirtualRepository() *services.VirtualRepositoryService
func (*ArtifactoryServicesManagerImp) CreateVirtualRepositoryWithParams ¶ added in v0.21.0
func (sm *ArtifactoryServicesManagerImp) CreateVirtualRepositoryWithParams(params services.VirtualRepositoryBaseParams) error
func (*ArtifactoryServicesManagerImp) DeactivateKeyEncryption ¶ added in v1.14.0
func (sm *ArtifactoryServicesManagerImp) DeactivateKeyEncryption() (bool, error)
func (*ArtifactoryServicesManagerImp) DeleteFiles ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) DeleteFiles(reader *content.ContentReader) (int, error)
func (*ArtifactoryServicesManagerImp) DeleteGroup ¶ added in v0.19.0
func (sm *ArtifactoryServicesManagerImp) DeleteGroup(name string) 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) DeleteUser ¶ added in v0.19.0
func (sm *ArtifactoryServicesManagerImp) DeleteUser(name 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, totalFailed int, err error)
func (*ArtifactoryServicesManagerImp) DownloadFilesWithSummary ¶ added in v0.20.1
func (sm *ArtifactoryServicesManagerImp) DownloadFilesWithSummary(params ...services.DownloadParams) (operationSummary *utils.OperationSummary, err error)
func (*ArtifactoryServicesManagerImp) Export ¶ added in v1.13.0
func (sm *ArtifactoryServicesManagerImp) Export(params services.ExportParams) error
func (*ArtifactoryServicesManagerImp) FileInfo ¶ added in v1.38.0
func (sm *ArtifactoryServicesManagerImp) FileInfo(relativePath string) (*utils.FileInfo, error)
func (*ArtifactoryServicesManagerImp) FileList ¶ added in v1.15.0
func (sm *ArtifactoryServicesManagerImp) FileList(relativePath string, optionalParams utils.FileListParams) (*utils.FileListResponse, error)
func (*ArtifactoryServicesManagerImp) FolderInfo ¶ added in v1.15.0
func (sm *ArtifactoryServicesManagerImp) FolderInfo(relativePath string) (*utils.FolderInfo, error)
func (*ArtifactoryServicesManagerImp) GetAPIKey ¶ added in v0.21.0
func (sm *ArtifactoryServicesManagerImp) GetAPIKey() (string, error)
func (*ArtifactoryServicesManagerImp) GetAllGroups ¶ added in v1.21.0
func (sm *ArtifactoryServicesManagerImp) GetAllGroups() (*[]string, error)
func (*ArtifactoryServicesManagerImp) GetAllRepositories ¶ added in v0.15.0
func (sm *ArtifactoryServicesManagerImp) GetAllRepositories() (*[]services.RepositoryDetails, error)
func (*ArtifactoryServicesManagerImp) GetAllRepositoriesFiltered ¶ added in v0.21.0
func (sm *ArtifactoryServicesManagerImp) GetAllRepositoriesFiltered(params services.RepositoriesFilterParams) (*[]services.RepositoryDetails, error)
func (*ArtifactoryServicesManagerImp) GetAllUsers ¶ added in v0.20.1
func (sm *ArtifactoryServicesManagerImp) GetAllUsers() ([]*services.User, 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) GetConfigDescriptor ¶ added in v1.14.0
func (sm *ArtifactoryServicesManagerImp) GetConfigDescriptor() (string, error)
func (*ArtifactoryServicesManagerImp) GetGroup ¶ added in v0.19.0
func (sm *ArtifactoryServicesManagerImp) GetGroup(params services.GroupParams) (*services.Group, error)
func (*ArtifactoryServicesManagerImp) GetItemProps ¶ added in v1.15.0
func (sm *ArtifactoryServicesManagerImp) GetItemProps(relativePath string) (*utils.ItemProperties, error)
func (*ArtifactoryServicesManagerImp) GetLockedUsers ¶ added in v1.21.0
func (sm *ArtifactoryServicesManagerImp) GetLockedUsers() ([]string, error)
func (*ArtifactoryServicesManagerImp) GetPathsToDelete ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error)
func (*ArtifactoryServicesManagerImp) GetPermissionTarget ¶ added in v0.20.1
func (sm *ArtifactoryServicesManagerImp) GetPermissionTarget(permissionTargetName string) (*services.PermissionTargetParams, 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, repoDetails interface{}) error
func (*ArtifactoryServicesManagerImp) GetRunningNodes ¶ added in v1.17.0
func (sm *ArtifactoryServicesManagerImp) GetRunningNodes() ([]string, error)
func (*ArtifactoryServicesManagerImp) GetServiceId ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetServiceId() (string, error)
func (*ArtifactoryServicesManagerImp) GetStorageInfo ¶ added in v1.20.0
func (sm *ArtifactoryServicesManagerImp) GetStorageInfo() (*utils.StorageInfo, 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) GetUser ¶ added in v0.19.0
func (sm *ArtifactoryServicesManagerImp) GetUser(params services.UserParams) (*services.User, error)
func (*ArtifactoryServicesManagerImp) GetUserTokens ¶ added in v0.21.0
func (sm *ArtifactoryServicesManagerImp) GetUserTokens(username string) ([]string, error)
func (*ArtifactoryServicesManagerImp) GetVersion ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) GetVersion() (string, error)
func (*ArtifactoryServicesManagerImp) ImportReleaseBundle ¶ added in v1.40.0
func (sm *ArtifactoryServicesManagerImp) ImportReleaseBundle(filePath string) error
func (*ArtifactoryServicesManagerImp) IsRepoExists ¶ added in v1.8.0
func (sm *ArtifactoryServicesManagerImp) IsRepoExists(repoKey string) (bool, 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, projectKey string) (*clientutils.Sha256Summary, error)
func (*ArtifactoryServicesManagerImp) PublishGoProject ¶ added in v0.14.0
func (sm *ArtifactoryServicesManagerImp) PublishGoProject(params _go.GoParams) (*utils.OperationSummary, 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.ArtifactoryRefreshTokenParams) (auth.CreateTokenResponseData, error)
func (*ArtifactoryServicesManagerImp) RegenerateAPIKey ¶ added in v0.21.0
func (sm *ArtifactoryServicesManagerImp) RegenerateAPIKey() (string, 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) TriggerFederatedRepositoryFullSyncAll ¶ added in v1.3.0
func (sm *ArtifactoryServicesManagerImp) TriggerFederatedRepositoryFullSyncAll(repoKey string) error
func (*ArtifactoryServicesManagerImp) TriggerFederatedRepositoryFullSyncMirror ¶ added in v1.3.0
func (sm *ArtifactoryServicesManagerImp) TriggerFederatedRepositoryFullSyncMirror(repoKey string, mirrorUrl string) error
func (*ArtifactoryServicesManagerImp) UnlockUser ¶ added in v1.21.0
func (sm *ArtifactoryServicesManagerImp) UnlockUser(name string) error
func (*ArtifactoryServicesManagerImp) UpdateFederatedRepository ¶ added in v1.3.0
func (sm *ArtifactoryServicesManagerImp) UpdateFederatedRepository() *services.FederatedRepositoryService
func (*ArtifactoryServicesManagerImp) UpdateGroup ¶ added in v0.19.0
func (sm *ArtifactoryServicesManagerImp) UpdateGroup(params services.GroupParams) 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) UpdateRepositoryWithParams ¶ added in v1.30.0
func (sm *ArtifactoryServicesManagerImp) UpdateRepositoryWithParams(params interface{}, repoName string) error
func (*ArtifactoryServicesManagerImp) UpdateUser ¶ added in v0.19.0
func (sm *ArtifactoryServicesManagerImp) UpdateUser(params services.UserParams) 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(uploadServiceOptions UploadServiceOptions, params ...services.UploadParams) (totalUploaded, totalFailed int, err error)
func (*ArtifactoryServicesManagerImp) UploadFilesWithSummary ¶ added in v0.20.1
func (sm *ArtifactoryServicesManagerImp) UploadFilesWithSummary(uploadServiceOptions UploadServiceOptions, params ...services.UploadParams) (operationSummary *utils.OperationSummary, 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) ActivateKeyEncryption ¶ added in v1.14.0
func (esm *EmptyArtifactoryServicesManager) ActivateKeyEncryption() error
func (*EmptyArtifactoryServicesManager) Aql ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) Aql(string) (io.ReadCloser, error)
func (*EmptyArtifactoryServicesManager) CalculateStorageInfo ¶ added in v1.20.0
func (esm *EmptyArtifactoryServicesManager) CalculateStorageInfo() error
func (*EmptyArtifactoryServicesManager) Client ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) Client() *jfroghttpclient.JfrogHttpClient
func (*EmptyArtifactoryServicesManager) ConvertLocalToFederatedRepository ¶ added in v1.3.0
func (esm *EmptyArtifactoryServicesManager) ConvertLocalToFederatedRepository(string) error
func (*EmptyArtifactoryServicesManager) Copy ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) Copy(...services.MoveCopyParams) (int, int, error)
func (*EmptyArtifactoryServicesManager) CreateAPIKey ¶ added in v0.21.0
func (esm *EmptyArtifactoryServicesManager) CreateAPIKey() (string, error)
func (*EmptyArtifactoryServicesManager) CreateFederatedRepository ¶ added in v1.3.0
func (esm *EmptyArtifactoryServicesManager) CreateFederatedRepository() *services.FederatedRepositoryService
func (*EmptyArtifactoryServicesManager) CreateFederatedRepositoryWithParams ¶ added in v1.3.0
func (esm *EmptyArtifactoryServicesManager) CreateFederatedRepositoryWithParams(services.FederatedRepositoryBaseParams) error
func (*EmptyArtifactoryServicesManager) CreateGroup ¶ added in v0.19.0
func (esm *EmptyArtifactoryServicesManager) CreateGroup(services.GroupParams) error
func (*EmptyArtifactoryServicesManager) CreateLocalRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateLocalRepository() *services.LocalRepositoryService
func (*EmptyArtifactoryServicesManager) CreateLocalRepositoryWithParams ¶ added in v0.21.0
func (esm *EmptyArtifactoryServicesManager) CreateLocalRepositoryWithParams(services.LocalRepositoryBaseParams) error
func (*EmptyArtifactoryServicesManager) CreatePermissionTarget ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreatePermissionTarget(services.PermissionTargetParams) error
func (*EmptyArtifactoryServicesManager) CreateRemoteRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepository() *services.RemoteRepositoryService
func (*EmptyArtifactoryServicesManager) CreateRemoteRepositoryWithParams ¶ added in v0.21.0
func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepositoryWithParams(services.RemoteRepositoryBaseParams) error
func (*EmptyArtifactoryServicesManager) CreateReplication ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateReplication(services.CreateReplicationParams) error
func (*EmptyArtifactoryServicesManager) CreateRepositoryWithParams ¶ added in v1.26.0
func (esm *EmptyArtifactoryServicesManager) CreateRepositoryWithParams(interface{}, string) error
func (*EmptyArtifactoryServicesManager) CreateToken ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateToken(services.CreateTokenParams) (auth.CreateTokenResponseData, error)
func (*EmptyArtifactoryServicesManager) CreateUser ¶ added in v0.19.0
func (esm *EmptyArtifactoryServicesManager) CreateUser(services.UserParams) error
func (*EmptyArtifactoryServicesManager) CreateVirtualRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepository() *services.VirtualRepositoryService
func (*EmptyArtifactoryServicesManager) CreateVirtualRepositoryWithParams ¶ added in v0.21.0
func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepositoryWithParams(services.VirtualRepositoryBaseParams) error
func (*EmptyArtifactoryServicesManager) DeactivateKeyEncryption ¶ added in v1.14.0
func (esm *EmptyArtifactoryServicesManager) DeactivateKeyEncryption() (bool, error)
func (*EmptyArtifactoryServicesManager) DeleteFiles ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeleteFiles(*content.ContentReader) (int, error)
func (*EmptyArtifactoryServicesManager) DeleteGroup ¶ added in v0.19.0
func (esm *EmptyArtifactoryServicesManager) DeleteGroup(string) error
func (*EmptyArtifactoryServicesManager) DeletePermissionTarget ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeletePermissionTarget(string) error
func (*EmptyArtifactoryServicesManager) DeleteProps ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeleteProps(services.PropsParams) (int, error)
func (*EmptyArtifactoryServicesManager) DeleteReplication ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeleteReplication(string) error
func (*EmptyArtifactoryServicesManager) DeleteRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DeleteRepository(string) error
func (*EmptyArtifactoryServicesManager) DeleteUser ¶ added in v0.19.0
func (esm *EmptyArtifactoryServicesManager) DeleteUser(string) error
func (*EmptyArtifactoryServicesManager) DiscardBuilds ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DiscardBuilds(services.DiscardBuildsParams) error
func (*EmptyArtifactoryServicesManager) DistributeBuild ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DistributeBuild(services.BuildDistributionParams) error
func (*EmptyArtifactoryServicesManager) DownloadFiles ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) DownloadFiles(...services.DownloadParams) (int, int, error)
func (*EmptyArtifactoryServicesManager) DownloadFilesWithSummary ¶ added in v0.20.1
func (esm *EmptyArtifactoryServicesManager) DownloadFilesWithSummary(...services.DownloadParams) (*utils.OperationSummary, error)
func (*EmptyArtifactoryServicesManager) Export ¶ added in v1.13.0
func (esm *EmptyArtifactoryServicesManager) Export(services.ExportParams) error
func (*EmptyArtifactoryServicesManager) FileInfo ¶ added in v1.38.0
func (esm *EmptyArtifactoryServicesManager) FileInfo(string) (*utils.FileInfo, error)
func (*EmptyArtifactoryServicesManager) FileList ¶ added in v1.15.0
func (esm *EmptyArtifactoryServicesManager) FileList(string, utils.FileListParams) (*utils.FileListResponse, error)
func (*EmptyArtifactoryServicesManager) FolderInfo ¶ added in v1.15.0
func (esm *EmptyArtifactoryServicesManager) FolderInfo(string) (*utils.FolderInfo, error)
func (*EmptyArtifactoryServicesManager) GetAPIKey ¶ added in v0.21.0
func (esm *EmptyArtifactoryServicesManager) GetAPIKey() (string, error)
func (*EmptyArtifactoryServicesManager) GetAllGroups ¶ added in v1.21.0
func (esm *EmptyArtifactoryServicesManager) GetAllGroups() (*[]string, error)
func (*EmptyArtifactoryServicesManager) GetAllRepositories ¶ added in v0.16.0
func (esm *EmptyArtifactoryServicesManager) GetAllRepositories() (*[]services.RepositoryDetails, error)
func (*EmptyArtifactoryServicesManager) GetAllRepositoriesFiltered ¶ added in v0.21.0
func (esm *EmptyArtifactoryServicesManager) GetAllRepositoriesFiltered(services.RepositoriesFilterParams) (*[]services.RepositoryDetails, error)
func (*EmptyArtifactoryServicesManager) GetAllUsers ¶ added in v0.20.1
func (esm *EmptyArtifactoryServicesManager) GetAllUsers() ([]*services.User, error)
func (*EmptyArtifactoryServicesManager) GetBuildInfo ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetBuildInfo(services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error)
func (*EmptyArtifactoryServicesManager) GetConfig ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetConfig() config.Config
func (*EmptyArtifactoryServicesManager) GetConfigDescriptor ¶ added in v1.14.0
func (esm *EmptyArtifactoryServicesManager) GetConfigDescriptor() (string, error)
func (*EmptyArtifactoryServicesManager) GetGroup ¶ added in v0.19.0
func (esm *EmptyArtifactoryServicesManager) GetGroup(services.GroupParams) (*services.Group, error)
func (*EmptyArtifactoryServicesManager) GetItemProps ¶ added in v1.15.0
func (esm *EmptyArtifactoryServicesManager) GetItemProps(string) (*utils.ItemProperties, error)
func (*EmptyArtifactoryServicesManager) GetLockedUsers ¶ added in v1.21.0
func (esm *EmptyArtifactoryServicesManager) GetLockedUsers() ([]string, error)
func (*EmptyArtifactoryServicesManager) GetPathsToDelete ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetPathsToDelete(services.DeleteParams) (*content.ContentReader, error)
func (*EmptyArtifactoryServicesManager) GetPermissionTarget ¶ added in v0.20.1
func (esm *EmptyArtifactoryServicesManager) GetPermissionTarget(string) (*services.PermissionTargetParams, error)
func (*EmptyArtifactoryServicesManager) GetReplication ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetReplication(string) ([]utils.ReplicationParams, error)
func (*EmptyArtifactoryServicesManager) GetRepository ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetRepository(string, interface{}) error
func (*EmptyArtifactoryServicesManager) GetRunningNodes ¶ added in v1.17.0
func (esm *EmptyArtifactoryServicesManager) GetRunningNodes() ([]string, error)
func (*EmptyArtifactoryServicesManager) GetServiceId ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetServiceId() (string, error)
func (*EmptyArtifactoryServicesManager) GetStorageInfo ¶ added in v1.20.0
func (esm *EmptyArtifactoryServicesManager) GetStorageInfo() (*utils.StorageInfo, 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(services.GitLfsCleanParams) (*content.ContentReader, error)
func (*EmptyArtifactoryServicesManager) GetUser ¶ added in v0.19.0
func (esm *EmptyArtifactoryServicesManager) GetUser(services.UserParams) (*services.User, error)
func (*EmptyArtifactoryServicesManager) GetUserTokens ¶ added in v0.21.0
func (esm *EmptyArtifactoryServicesManager) GetUserTokens(string) ([]string, error)
func (*EmptyArtifactoryServicesManager) GetVersion ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) GetVersion() (string, error)
func (*EmptyArtifactoryServicesManager) ImportReleaseBundle ¶ added in v1.40.0
func (esm *EmptyArtifactoryServicesManager) ImportReleaseBundle(string) error
func (*EmptyArtifactoryServicesManager) IsRepoExists ¶ added in v1.8.0
func (esm *EmptyArtifactoryServicesManager) IsRepoExists(string) (bool, error)
func (*EmptyArtifactoryServicesManager) Move ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) Move(...services.MoveCopyParams) (int, int, 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(services.PromotionParams) error
func (*EmptyArtifactoryServicesManager) PromoteDocker ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) PromoteDocker(services.DockerPromoteParams) error
func (*EmptyArtifactoryServicesManager) PublishBuildInfo ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) PublishBuildInfo(*buildinfo.BuildInfo, string) (*clientutils.Sha256Summary, error)
func (*EmptyArtifactoryServicesManager) PublishGoProject ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) PublishGoProject(_go.GoParams) (*utils.OperationSummary, error)
func (*EmptyArtifactoryServicesManager) ReadRemoteFile ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) ReadRemoteFile(string) (io.ReadCloser, error)
func (*EmptyArtifactoryServicesManager) RefreshToken ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) RefreshToken(services.ArtifactoryRefreshTokenParams) (auth.CreateTokenResponseData, error)
func (*EmptyArtifactoryServicesManager) RegenerateAPIKey ¶ added in v0.21.0
func (esm *EmptyArtifactoryServicesManager) RegenerateAPIKey() (string, error)
func (*EmptyArtifactoryServicesManager) RevokeToken ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) RevokeToken(services.RevokeTokenParams) (string, error)
func (*EmptyArtifactoryServicesManager) SearchFiles ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) SearchFiles(services.SearchParams) (*content.ContentReader, error)
func (*EmptyArtifactoryServicesManager) SetProps ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) SetProps(services.PropsParams) (int, error)
func (*EmptyArtifactoryServicesManager) TriggerFederatedRepositoryFullSyncAll ¶ added in v1.3.0
func (esm *EmptyArtifactoryServicesManager) TriggerFederatedRepositoryFullSyncAll(string) error
func (*EmptyArtifactoryServicesManager) TriggerFederatedRepositoryFullSyncMirror ¶ added in v1.3.0
func (esm *EmptyArtifactoryServicesManager) TriggerFederatedRepositoryFullSyncMirror(string, string) error
func (*EmptyArtifactoryServicesManager) UnlockUser ¶ added in v1.21.0
func (esm *EmptyArtifactoryServicesManager) UnlockUser(string) error
func (*EmptyArtifactoryServicesManager) UpdateFederatedRepository ¶ added in v1.3.0
func (esm *EmptyArtifactoryServicesManager) UpdateFederatedRepository() *services.FederatedRepositoryService
func (*EmptyArtifactoryServicesManager) UpdateGroup ¶ added in v0.19.0
func (esm *EmptyArtifactoryServicesManager) UpdateGroup(services.GroupParams) 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(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(services.UpdateReplicationParams) error
func (*EmptyArtifactoryServicesManager) UpdateRepositoryWithParams ¶ added in v1.30.0
func (esm *EmptyArtifactoryServicesManager) UpdateRepositoryWithParams(interface{}, string) error
func (*EmptyArtifactoryServicesManager) UpdateUser ¶ added in v0.19.0
func (esm *EmptyArtifactoryServicesManager) UpdateUser(services.UserParams) 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(_ UploadServiceOptions, _ ...services.UploadParams) (int, int, error)
func (*EmptyArtifactoryServicesManager) UploadFilesWithSummary ¶ added in v0.20.1
func (esm *EmptyArtifactoryServicesManager) UploadFilesWithSummary(_ UploadServiceOptions, _ ...services.UploadParams) (*utils.OperationSummary, error)
func (*EmptyArtifactoryServicesManager) XrayScanBuild ¶ added in v0.14.0
func (esm *EmptyArtifactoryServicesManager) XrayScanBuild(services.XrayScanParams) ([]byte, error)
type UploadServiceOptions ¶ added in v1.47.0
type UploadServiceOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.