Documentation ¶
Index ¶
- type ArtifactoryServicesManager
- type ArtifactoryServicesManagerImp
- func (sm *ArtifactoryServicesManagerImp) Aql(aql string) (io.ReadCloser, error)
- func (sm *ArtifactoryServicesManagerImp) Client() *jfroghttpclient.JfrogHttpClient
- func (sm *ArtifactoryServicesManagerImp) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
- func (sm *ArtifactoryServicesManagerImp) CreateAPIKey() (string, 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) CreateToken(params services.CreateTokenParams) (services.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) 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) GetAPIKey() (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) GetGroup(params services.GroupParams) (*services.Group, 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) GetServiceId() (string, 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) 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.RefreshTokenParams) (services.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) 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) UpdateUser(params services.UserParams) error
- func (sm *ArtifactoryServicesManagerImp) UpdateVirtualRepository() *services.VirtualRepositoryService
- func (sm *ArtifactoryServicesManagerImp) UploadFiles(params ...services.UploadParams) (totalUploaded, totalFailed int, err error)
- func (sm *ArtifactoryServicesManagerImp) UploadFilesWithSummary(params ...services.UploadParams) (operationSummary *utils.OperationSummary, 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() *jfroghttpclient.JfrogHttpClient
- func (esm *EmptyArtifactoryServicesManager) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
- func (esm *EmptyArtifactoryServicesManager) CreateAPIKey() (string, error)
- func (esm *EmptyArtifactoryServicesManager) CreateGroup(params services.GroupParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateLocalRepository() *services.LocalRepositoryService
- func (esm *EmptyArtifactoryServicesManager) CreateLocalRepositoryWithParams(params services.LocalRepositoryBaseParams) error
- func (esm *EmptyArtifactoryServicesManager) CreatePermissionTarget(params services.PermissionTargetParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepository() *services.RemoteRepositoryService
- func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepositoryWithParams(params services.RemoteRepositoryBaseParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateReplication(params services.CreateReplicationParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error)
- func (esm *EmptyArtifactoryServicesManager) CreateUser(params services.UserParams) error
- func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepository() *services.VirtualRepositoryService
- func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepositoryWithParams(params services.VirtualRepositoryBaseParams) error
- func (esm *EmptyArtifactoryServicesManager) DeleteFiles(reader *content.ContentReader) (int, error)
- func (esm *EmptyArtifactoryServicesManager) DeleteGroup(name string) 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) DeleteUser(name 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, totalFailed int, err error)
- func (esm *EmptyArtifactoryServicesManager) DownloadFilesWithSummary(params ...services.DownloadParams) (operationSummary *utils.OperationSummary, err error)
- func (esm *EmptyArtifactoryServicesManager) GetAPIKey() (string, error)
- func (esm *EmptyArtifactoryServicesManager) GetAllRepositories() (*[]services.RepositoryDetails, error)
- func (esm *EmptyArtifactoryServicesManager) GetAllRepositoriesFiltered(params services.RepositoriesFilterParams) (*[]services.RepositoryDetails, error)
- func (esm *EmptyArtifactoryServicesManager) GetAllUsers() ([]*services.User, error)
- func (esm *EmptyArtifactoryServicesManager) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error)
- func (esm *EmptyArtifactoryServicesManager) GetConfig() config.Config
- func (esm *EmptyArtifactoryServicesManager) GetGroup(params services.GroupParams) (*services.Group, error)
- func (esm *EmptyArtifactoryServicesManager) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error)
- func (esm *EmptyArtifactoryServicesManager) GetPermissionTarget(permissionTargetName string) (*services.PermissionTargetParams, error)
- func (esm *EmptyArtifactoryServicesManager) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
- func (esm *EmptyArtifactoryServicesManager) GetRepository(repoKey string, repoDetails interface{}) 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) GetUser(params services.UserParams) (*services.User, error)
- func (esm *EmptyArtifactoryServicesManager) GetUserTokens(username string) ([]string, 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) (*clientutils.Sha256Summary, error)
- func (esm *EmptyArtifactoryServicesManager) PublishGoProject(params _go.GoParams) (*utils.OperationSummary, error)
- func (esm *EmptyArtifactoryServicesManager) ReadRemoteFile(readPath string) (io.ReadCloser, error)
- func (esm *EmptyArtifactoryServicesManager) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error)
- func (esm *EmptyArtifactoryServicesManager) RegenerateAPIKey() (string, 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) UpdateGroup(params services.GroupParams) 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) UpdateUser(params services.UserParams) error
- func (esm *EmptyArtifactoryServicesManager) UpdateVirtualRepository() *services.VirtualRepositoryService
- func (esm *EmptyArtifactoryServicesManager) UploadFiles(params ...services.UploadParams) (totalUploaded, totalFailed int, err error)
- func (esm *EmptyArtifactoryServicesManager) UploadFilesWithSummary(params ...services.UploadParams) (operationSummary *utils.OperationSummary, 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 CreateLocalRepositoryWithParams(params services.LocalRepositoryBaseParams) error CreateRemoteRepository() *services.RemoteRepositoryService CreateRemoteRepositoryWithParams(params services.RemoteRepositoryBaseParams) error CreateVirtualRepository() *services.VirtualRepositoryService CreateVirtualRepositoryWithParams(params services.VirtualRepositoryBaseParams) error UpdateLocalRepository() *services.LocalRepositoryService UpdateRemoteRepository() *services.RemoteRepositoryService UpdateVirtualRepository() *services.VirtualRepositoryService DeleteRepository(repoKey string) error GetRepository(repoKey string, repoDetails interface{}) error GetAllRepositories() (*[]services.RepositoryDetails, error) GetAllRepositoriesFiltered(params services.RepositoriesFilterParams) (*[]services.RepositoryDetails, 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) UploadFilesWithSummary(params ...services.UploadParams) (operationSummary *utils.OperationSummary, 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) (*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) (services.CreateTokenResponseData, error) GetTokens() (services.GetTokensResponseData, error) GetUserTokens(username string) ([]string, 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() *jfroghttpclient.JfrogHttpClient GetGroup(params services.GroupParams) (*services.Group, 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 }
func NewWithProgress ¶
func NewWithProgress(config config.Config, progress ioutils.ProgressMgr) (ArtifactoryServicesManager, error)
type ArtifactoryServicesManagerImp ¶
type ArtifactoryServicesManagerImp struct {
// contains filtered or unexported fields
}
func NewWithClient ¶
func NewWithClient(config config.Config, client *jfroghttpclient.JfrogHttpClient) (*ArtifactoryServicesManagerImp, error)
func (*ArtifactoryServicesManagerImp) Aql ¶
func (sm *ArtifactoryServicesManagerImp) Aql(aql string) (io.ReadCloser, error)
func (*ArtifactoryServicesManagerImp) Client ¶
func (sm *ArtifactoryServicesManagerImp) Client() *jfroghttpclient.JfrogHttpClient
func (*ArtifactoryServicesManagerImp) Copy ¶
func (sm *ArtifactoryServicesManagerImp) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
func (*ArtifactoryServicesManagerImp) CreateAPIKey ¶
func (sm *ArtifactoryServicesManagerImp) CreateAPIKey() (string, error)
func (*ArtifactoryServicesManagerImp) CreateGroup ¶
func (sm *ArtifactoryServicesManagerImp) CreateGroup(params services.GroupParams) error
func (*ArtifactoryServicesManagerImp) CreateLocalRepository ¶
func (sm *ArtifactoryServicesManagerImp) CreateLocalRepository() *services.LocalRepositoryService
func (*ArtifactoryServicesManagerImp) CreateLocalRepositoryWithParams ¶
func (sm *ArtifactoryServicesManagerImp) CreateLocalRepositoryWithParams(params services.LocalRepositoryBaseParams) error
func (*ArtifactoryServicesManagerImp) CreatePermissionTarget ¶
func (sm *ArtifactoryServicesManagerImp) CreatePermissionTarget(params services.PermissionTargetParams) error
func (*ArtifactoryServicesManagerImp) CreateRemoteRepository ¶
func (sm *ArtifactoryServicesManagerImp) CreateRemoteRepository() *services.RemoteRepositoryService
func (*ArtifactoryServicesManagerImp) CreateRemoteRepositoryWithParams ¶
func (sm *ArtifactoryServicesManagerImp) CreateRemoteRepositoryWithParams(params services.RemoteRepositoryBaseParams) error
func (*ArtifactoryServicesManagerImp) CreateReplication ¶
func (sm *ArtifactoryServicesManagerImp) CreateReplication(params services.CreateReplicationParams) error
func (*ArtifactoryServicesManagerImp) CreateToken ¶
func (sm *ArtifactoryServicesManagerImp) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error)
func (*ArtifactoryServicesManagerImp) CreateUser ¶
func (sm *ArtifactoryServicesManagerImp) CreateUser(params services.UserParams) error
func (*ArtifactoryServicesManagerImp) CreateVirtualRepository ¶
func (sm *ArtifactoryServicesManagerImp) CreateVirtualRepository() *services.VirtualRepositoryService
func (*ArtifactoryServicesManagerImp) CreateVirtualRepositoryWithParams ¶
func (sm *ArtifactoryServicesManagerImp) CreateVirtualRepositoryWithParams(params services.VirtualRepositoryBaseParams) error
func (*ArtifactoryServicesManagerImp) DeleteFiles ¶
func (sm *ArtifactoryServicesManagerImp) DeleteFiles(reader *content.ContentReader) (int, error)
func (*ArtifactoryServicesManagerImp) DeleteGroup ¶
func (sm *ArtifactoryServicesManagerImp) DeleteGroup(name string) error
func (*ArtifactoryServicesManagerImp) DeletePermissionTarget ¶
func (sm *ArtifactoryServicesManagerImp) DeletePermissionTarget(permissionTargetName string) error
func (*ArtifactoryServicesManagerImp) DeleteProps ¶
func (sm *ArtifactoryServicesManagerImp) DeleteProps(params services.PropsParams) (int, error)
func (*ArtifactoryServicesManagerImp) DeleteReplication ¶
func (sm *ArtifactoryServicesManagerImp) DeleteReplication(repoKey string) error
func (*ArtifactoryServicesManagerImp) DeleteRepository ¶
func (sm *ArtifactoryServicesManagerImp) DeleteRepository(repoKey string) error
func (*ArtifactoryServicesManagerImp) DeleteUser ¶
func (sm *ArtifactoryServicesManagerImp) DeleteUser(name string) error
func (*ArtifactoryServicesManagerImp) DiscardBuilds ¶
func (sm *ArtifactoryServicesManagerImp) DiscardBuilds(params services.DiscardBuildsParams) error
func (*ArtifactoryServicesManagerImp) DistributeBuild ¶
func (sm *ArtifactoryServicesManagerImp) DistributeBuild(params services.BuildDistributionParams) error
func (*ArtifactoryServicesManagerImp) DownloadFiles ¶
func (sm *ArtifactoryServicesManagerImp) DownloadFiles(params ...services.DownloadParams) (totalDownloaded, totalFailed int, err error)
func (*ArtifactoryServicesManagerImp) DownloadFilesWithSummary ¶
func (sm *ArtifactoryServicesManagerImp) DownloadFilesWithSummary(params ...services.DownloadParams) (operationSummary *utils.OperationSummary, err error)
func (*ArtifactoryServicesManagerImp) GetAPIKey ¶
func (sm *ArtifactoryServicesManagerImp) GetAPIKey() (string, error)
func (*ArtifactoryServicesManagerImp) GetAllRepositories ¶
func (sm *ArtifactoryServicesManagerImp) GetAllRepositories() (*[]services.RepositoryDetails, error)
func (*ArtifactoryServicesManagerImp) GetAllRepositoriesFiltered ¶
func (sm *ArtifactoryServicesManagerImp) GetAllRepositoriesFiltered(params services.RepositoriesFilterParams) (*[]services.RepositoryDetails, error)
func (*ArtifactoryServicesManagerImp) GetAllUsers ¶
func (sm *ArtifactoryServicesManagerImp) GetAllUsers() ([]*services.User, error)
func (*ArtifactoryServicesManagerImp) GetBuildInfo ¶
func (sm *ArtifactoryServicesManagerImp) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error)
func (*ArtifactoryServicesManagerImp) GetConfig ¶
func (sm *ArtifactoryServicesManagerImp) GetConfig() config.Config
func (*ArtifactoryServicesManagerImp) GetGroup ¶
func (sm *ArtifactoryServicesManagerImp) GetGroup(params services.GroupParams) (*services.Group, error)
func (*ArtifactoryServicesManagerImp) GetPathsToDelete ¶
func (sm *ArtifactoryServicesManagerImp) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error)
func (*ArtifactoryServicesManagerImp) GetPermissionTarget ¶
func (sm *ArtifactoryServicesManagerImp) GetPermissionTarget(permissionTargetName string) (*services.PermissionTargetParams, error)
func (*ArtifactoryServicesManagerImp) GetReplication ¶
func (sm *ArtifactoryServicesManagerImp) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
func (*ArtifactoryServicesManagerImp) GetRepository ¶
func (sm *ArtifactoryServicesManagerImp) GetRepository(repoKey string, repoDetails interface{}) error
func (*ArtifactoryServicesManagerImp) GetServiceId ¶
func (sm *ArtifactoryServicesManagerImp) GetServiceId() (string, error)
func (*ArtifactoryServicesManagerImp) GetTokens ¶
func (sm *ArtifactoryServicesManagerImp) GetTokens() (services.GetTokensResponseData, error)
func (*ArtifactoryServicesManagerImp) GetUnreferencedGitLfsFiles ¶
func (sm *ArtifactoryServicesManagerImp) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) (*content.ContentReader, error)
func (*ArtifactoryServicesManagerImp) GetUser ¶
func (sm *ArtifactoryServicesManagerImp) GetUser(params services.UserParams) (*services.User, error)
func (*ArtifactoryServicesManagerImp) GetUserTokens ¶
func (sm *ArtifactoryServicesManagerImp) GetUserTokens(username string) ([]string, error)
func (*ArtifactoryServicesManagerImp) GetVersion ¶
func (sm *ArtifactoryServicesManagerImp) GetVersion() (string, error)
func (*ArtifactoryServicesManagerImp) Move ¶
func (sm *ArtifactoryServicesManagerImp) Move(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
func (*ArtifactoryServicesManagerImp) Ping ¶
func (sm *ArtifactoryServicesManagerImp) Ping() ([]byte, error)
func (*ArtifactoryServicesManagerImp) PromoteBuild ¶
func (sm *ArtifactoryServicesManagerImp) PromoteBuild(params services.PromotionParams) error
func (*ArtifactoryServicesManagerImp) PromoteDocker ¶
func (sm *ArtifactoryServicesManagerImp) PromoteDocker(params services.DockerPromoteParams) error
func (*ArtifactoryServicesManagerImp) PublishBuildInfo ¶
func (sm *ArtifactoryServicesManagerImp) PublishBuildInfo(build *buildinfo.BuildInfo, projectKey string) (*clientutils.Sha256Summary, error)
func (*ArtifactoryServicesManagerImp) PublishGoProject ¶
func (sm *ArtifactoryServicesManagerImp) PublishGoProject(params _go.GoParams) (*utils.OperationSummary, error)
func (*ArtifactoryServicesManagerImp) ReadRemoteFile ¶
func (sm *ArtifactoryServicesManagerImp) ReadRemoteFile(readPath string) (io.ReadCloser, error)
func (*ArtifactoryServicesManagerImp) RefreshToken ¶
func (sm *ArtifactoryServicesManagerImp) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error)
func (*ArtifactoryServicesManagerImp) RegenerateAPIKey ¶
func (sm *ArtifactoryServicesManagerImp) RegenerateAPIKey() (string, error)
func (*ArtifactoryServicesManagerImp) RevokeToken ¶
func (sm *ArtifactoryServicesManagerImp) RevokeToken(params services.RevokeTokenParams) (string, error)
func (*ArtifactoryServicesManagerImp) SearchFiles ¶
func (sm *ArtifactoryServicesManagerImp) SearchFiles(params services.SearchParams) (*content.ContentReader, error)
func (*ArtifactoryServicesManagerImp) SetProps ¶
func (sm *ArtifactoryServicesManagerImp) SetProps(params services.PropsParams) (int, error)
func (*ArtifactoryServicesManagerImp) UpdateGroup ¶
func (sm *ArtifactoryServicesManagerImp) UpdateGroup(params services.GroupParams) error
func (*ArtifactoryServicesManagerImp) UpdateLocalRepository ¶
func (sm *ArtifactoryServicesManagerImp) UpdateLocalRepository() *services.LocalRepositoryService
func (*ArtifactoryServicesManagerImp) UpdatePermissionTarget ¶
func (sm *ArtifactoryServicesManagerImp) UpdatePermissionTarget(params services.PermissionTargetParams) error
func (*ArtifactoryServicesManagerImp) UpdateRemoteRepository ¶
func (sm *ArtifactoryServicesManagerImp) UpdateRemoteRepository() *services.RemoteRepositoryService
func (*ArtifactoryServicesManagerImp) UpdateReplication ¶
func (sm *ArtifactoryServicesManagerImp) UpdateReplication(params services.UpdateReplicationParams) error
func (*ArtifactoryServicesManagerImp) UpdateUser ¶
func (sm *ArtifactoryServicesManagerImp) UpdateUser(params services.UserParams) error
func (*ArtifactoryServicesManagerImp) UpdateVirtualRepository ¶
func (sm *ArtifactoryServicesManagerImp) UpdateVirtualRepository() *services.VirtualRepositoryService
func (*ArtifactoryServicesManagerImp) UploadFiles ¶
func (sm *ArtifactoryServicesManagerImp) UploadFiles(params ...services.UploadParams) (totalUploaded, totalFailed int, err error)
func (*ArtifactoryServicesManagerImp) UploadFilesWithSummary ¶
func (sm *ArtifactoryServicesManagerImp) UploadFilesWithSummary(params ...services.UploadParams) (operationSummary *utils.OperationSummary, err error)
func (*ArtifactoryServicesManagerImp) XrayScanBuild ¶
func (sm *ArtifactoryServicesManagerImp) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
type EmptyArtifactoryServicesManager ¶
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 ¶
func (esm *EmptyArtifactoryServicesManager) Aql(aql string) (io.ReadCloser, error)
func (*EmptyArtifactoryServicesManager) Client ¶
func (esm *EmptyArtifactoryServicesManager) Client() *jfroghttpclient.JfrogHttpClient
func (*EmptyArtifactoryServicesManager) Copy ¶
func (esm *EmptyArtifactoryServicesManager) Copy(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
func (*EmptyArtifactoryServicesManager) CreateAPIKey ¶
func (esm *EmptyArtifactoryServicesManager) CreateAPIKey() (string, error)
func (*EmptyArtifactoryServicesManager) CreateGroup ¶
func (esm *EmptyArtifactoryServicesManager) CreateGroup(params services.GroupParams) error
func (*EmptyArtifactoryServicesManager) CreateLocalRepository ¶
func (esm *EmptyArtifactoryServicesManager) CreateLocalRepository() *services.LocalRepositoryService
func (*EmptyArtifactoryServicesManager) CreateLocalRepositoryWithParams ¶
func (esm *EmptyArtifactoryServicesManager) CreateLocalRepositoryWithParams(params services.LocalRepositoryBaseParams) error
func (*EmptyArtifactoryServicesManager) CreatePermissionTarget ¶
func (esm *EmptyArtifactoryServicesManager) CreatePermissionTarget(params services.PermissionTargetParams) error
func (*EmptyArtifactoryServicesManager) CreateRemoteRepository ¶
func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepository() *services.RemoteRepositoryService
func (*EmptyArtifactoryServicesManager) CreateRemoteRepositoryWithParams ¶
func (esm *EmptyArtifactoryServicesManager) CreateRemoteRepositoryWithParams(params services.RemoteRepositoryBaseParams) error
func (*EmptyArtifactoryServicesManager) CreateReplication ¶
func (esm *EmptyArtifactoryServicesManager) CreateReplication(params services.CreateReplicationParams) error
func (*EmptyArtifactoryServicesManager) CreateToken ¶
func (esm *EmptyArtifactoryServicesManager) CreateToken(params services.CreateTokenParams) (services.CreateTokenResponseData, error)
func (*EmptyArtifactoryServicesManager) CreateUser ¶
func (esm *EmptyArtifactoryServicesManager) CreateUser(params services.UserParams) error
func (*EmptyArtifactoryServicesManager) CreateVirtualRepository ¶
func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepository() *services.VirtualRepositoryService
func (*EmptyArtifactoryServicesManager) CreateVirtualRepositoryWithParams ¶
func (esm *EmptyArtifactoryServicesManager) CreateVirtualRepositoryWithParams(params services.VirtualRepositoryBaseParams) error
func (*EmptyArtifactoryServicesManager) DeleteFiles ¶
func (esm *EmptyArtifactoryServicesManager) DeleteFiles(reader *content.ContentReader) (int, error)
func (*EmptyArtifactoryServicesManager) DeleteGroup ¶
func (esm *EmptyArtifactoryServicesManager) DeleteGroup(name string) error
func (*EmptyArtifactoryServicesManager) DeletePermissionTarget ¶
func (esm *EmptyArtifactoryServicesManager) DeletePermissionTarget(permissionTargetName string) error
func (*EmptyArtifactoryServicesManager) DeleteProps ¶
func (esm *EmptyArtifactoryServicesManager) DeleteProps(params services.PropsParams) (int, error)
func (*EmptyArtifactoryServicesManager) DeleteReplication ¶
func (esm *EmptyArtifactoryServicesManager) DeleteReplication(repoKey string) error
func (*EmptyArtifactoryServicesManager) DeleteRepository ¶
func (esm *EmptyArtifactoryServicesManager) DeleteRepository(repoKey string) error
func (*EmptyArtifactoryServicesManager) DeleteUser ¶
func (esm *EmptyArtifactoryServicesManager) DeleteUser(name string) error
func (*EmptyArtifactoryServicesManager) DiscardBuilds ¶
func (esm *EmptyArtifactoryServicesManager) DiscardBuilds(params services.DiscardBuildsParams) error
func (*EmptyArtifactoryServicesManager) DistributeBuild ¶
func (esm *EmptyArtifactoryServicesManager) DistributeBuild(params services.BuildDistributionParams) error
func (*EmptyArtifactoryServicesManager) DownloadFiles ¶
func (esm *EmptyArtifactoryServicesManager) DownloadFiles(params ...services.DownloadParams) (totalDownloaded, totalFailed int, err error)
func (*EmptyArtifactoryServicesManager) DownloadFilesWithSummary ¶
func (esm *EmptyArtifactoryServicesManager) DownloadFilesWithSummary(params ...services.DownloadParams) (operationSummary *utils.OperationSummary, err error)
func (*EmptyArtifactoryServicesManager) GetAPIKey ¶
func (esm *EmptyArtifactoryServicesManager) GetAPIKey() (string, error)
func (*EmptyArtifactoryServicesManager) GetAllRepositories ¶
func (esm *EmptyArtifactoryServicesManager) GetAllRepositories() (*[]services.RepositoryDetails, error)
func (*EmptyArtifactoryServicesManager) GetAllRepositoriesFiltered ¶
func (esm *EmptyArtifactoryServicesManager) GetAllRepositoriesFiltered(params services.RepositoriesFilterParams) (*[]services.RepositoryDetails, error)
func (*EmptyArtifactoryServicesManager) GetAllUsers ¶
func (esm *EmptyArtifactoryServicesManager) GetAllUsers() ([]*services.User, error)
func (*EmptyArtifactoryServicesManager) GetBuildInfo ¶
func (esm *EmptyArtifactoryServicesManager) GetBuildInfo(params services.BuildInfoParams) (*buildinfo.PublishedBuildInfo, bool, error)
func (*EmptyArtifactoryServicesManager) GetConfig ¶
func (esm *EmptyArtifactoryServicesManager) GetConfig() config.Config
func (*EmptyArtifactoryServicesManager) GetGroup ¶
func (esm *EmptyArtifactoryServicesManager) GetGroup(params services.GroupParams) (*services.Group, error)
func (*EmptyArtifactoryServicesManager) GetPathsToDelete ¶
func (esm *EmptyArtifactoryServicesManager) GetPathsToDelete(params services.DeleteParams) (*content.ContentReader, error)
func (*EmptyArtifactoryServicesManager) GetPermissionTarget ¶
func (esm *EmptyArtifactoryServicesManager) GetPermissionTarget(permissionTargetName string) (*services.PermissionTargetParams, error)
func (*EmptyArtifactoryServicesManager) GetReplication ¶
func (esm *EmptyArtifactoryServicesManager) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
func (*EmptyArtifactoryServicesManager) GetRepository ¶
func (esm *EmptyArtifactoryServicesManager) GetRepository(repoKey string, repoDetails interface{}) error
func (*EmptyArtifactoryServicesManager) GetServiceId ¶
func (esm *EmptyArtifactoryServicesManager) GetServiceId() (string, error)
func (*EmptyArtifactoryServicesManager) GetTokens ¶
func (esm *EmptyArtifactoryServicesManager) GetTokens() (services.GetTokensResponseData, error)
func (*EmptyArtifactoryServicesManager) GetUnreferencedGitLfsFiles ¶
func (esm *EmptyArtifactoryServicesManager) GetUnreferencedGitLfsFiles(params services.GitLfsCleanParams) (*content.ContentReader, error)
func (*EmptyArtifactoryServicesManager) GetUser ¶
func (esm *EmptyArtifactoryServicesManager) GetUser(params services.UserParams) (*services.User, error)
func (*EmptyArtifactoryServicesManager) GetUserTokens ¶
func (esm *EmptyArtifactoryServicesManager) GetUserTokens(username string) ([]string, error)
func (*EmptyArtifactoryServicesManager) GetVersion ¶
func (esm *EmptyArtifactoryServicesManager) GetVersion() (string, error)
func (*EmptyArtifactoryServicesManager) Move ¶
func (esm *EmptyArtifactoryServicesManager) Move(params ...services.MoveCopyParams) (successCount, failedCount int, err error)
func (*EmptyArtifactoryServicesManager) Ping ¶
func (esm *EmptyArtifactoryServicesManager) Ping() ([]byte, error)
func (*EmptyArtifactoryServicesManager) PromoteBuild ¶
func (esm *EmptyArtifactoryServicesManager) PromoteBuild(params services.PromotionParams) error
func (*EmptyArtifactoryServicesManager) PromoteDocker ¶
func (esm *EmptyArtifactoryServicesManager) PromoteDocker(params services.DockerPromoteParams) error
func (*EmptyArtifactoryServicesManager) PublishBuildInfo ¶
func (esm *EmptyArtifactoryServicesManager) PublishBuildInfo(build *buildinfo.BuildInfo, project string) (*clientutils.Sha256Summary, error)
func (*EmptyArtifactoryServicesManager) PublishGoProject ¶
func (esm *EmptyArtifactoryServicesManager) PublishGoProject(params _go.GoParams) (*utils.OperationSummary, error)
func (*EmptyArtifactoryServicesManager) ReadRemoteFile ¶
func (esm *EmptyArtifactoryServicesManager) ReadRemoteFile(readPath string) (io.ReadCloser, error)
func (*EmptyArtifactoryServicesManager) RefreshToken ¶
func (esm *EmptyArtifactoryServicesManager) RefreshToken(params services.RefreshTokenParams) (services.CreateTokenResponseData, error)
func (*EmptyArtifactoryServicesManager) RegenerateAPIKey ¶
func (esm *EmptyArtifactoryServicesManager) RegenerateAPIKey() (string, error)
func (*EmptyArtifactoryServicesManager) RevokeToken ¶
func (esm *EmptyArtifactoryServicesManager) RevokeToken(params services.RevokeTokenParams) (string, error)
func (*EmptyArtifactoryServicesManager) SearchFiles ¶
func (esm *EmptyArtifactoryServicesManager) SearchFiles(params services.SearchParams) (*content.ContentReader, error)
func (*EmptyArtifactoryServicesManager) SetProps ¶
func (esm *EmptyArtifactoryServicesManager) SetProps(params services.PropsParams) (int, error)
func (*EmptyArtifactoryServicesManager) UpdateGroup ¶
func (esm *EmptyArtifactoryServicesManager) UpdateGroup(params services.GroupParams) error
func (*EmptyArtifactoryServicesManager) UpdateLocalRepository ¶
func (esm *EmptyArtifactoryServicesManager) UpdateLocalRepository() *services.LocalRepositoryService
func (*EmptyArtifactoryServicesManager) UpdatePermissionTarget ¶
func (esm *EmptyArtifactoryServicesManager) UpdatePermissionTarget(params services.PermissionTargetParams) error
func (*EmptyArtifactoryServicesManager) UpdateRemoteRepository ¶
func (esm *EmptyArtifactoryServicesManager) UpdateRemoteRepository() *services.RemoteRepositoryService
func (*EmptyArtifactoryServicesManager) UpdateReplication ¶
func (esm *EmptyArtifactoryServicesManager) UpdateReplication(params services.UpdateReplicationParams) error
func (*EmptyArtifactoryServicesManager) UpdateUser ¶
func (esm *EmptyArtifactoryServicesManager) UpdateUser(params services.UserParams) error
func (*EmptyArtifactoryServicesManager) UpdateVirtualRepository ¶
func (esm *EmptyArtifactoryServicesManager) UpdateVirtualRepository() *services.VirtualRepositoryService
func (*EmptyArtifactoryServicesManager) UploadFiles ¶
func (esm *EmptyArtifactoryServicesManager) UploadFiles(params ...services.UploadParams) (totalUploaded, totalFailed int, err error)
func (*EmptyArtifactoryServicesManager) UploadFilesWithSummary ¶
func (esm *EmptyArtifactoryServicesManager) UploadFilesWithSummary(params ...services.UploadParams) (operationSummary *utils.OperationSummary, err error)
func (*EmptyArtifactoryServicesManager) XrayScanBuild ¶
func (esm *EmptyArtifactoryServicesManager) XrayScanBuild(params services.XrayScanParams) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.