Documentation ¶
Index ¶
- Constants
- func SearchBySpecFiles(searchParams SearchParams, flags utils.CommonConf, ...) (*content.ContentReader, error)
- type Actions
- type AqlService
- func (s *AqlService) ExecAql(aql string) (io.ReadCloser, error)
- func (s *AqlService) GetArtifactoryDetails() auth.ServiceDetails
- func (s *AqlService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (s *AqlService) IsDryRun() bool
- func (s *AqlService) SetArtifactoryDetails(rt auth.ServiceDetails)
- type BowerLocalRepositoryParams
- type BowerRemoteRepositoryParams
- type BowerVirtualRepositoryParams
- type BuildDistributionBody
- type BuildDistributionParams
- func (bd *BuildDistributionParams) GetBuildName() string
- func (bd *BuildDistributionParams) GetBuildNumber() string
- func (bd *BuildDistributionParams) GetGpgPassphrase() string
- func (bd *BuildDistributionParams) GetSourceRepos() string
- func (bd *BuildDistributionParams) GetTargetRepo() string
- func (bd *BuildDistributionParams) IsAsync() bool
- func (bd *BuildDistributionParams) IsOverrideExistingFiles() bool
- func (bd *BuildDistributionParams) IsPublish() bool
- type BuildInfoParams
- type BuildInfoService
- func (bis *BuildInfoService) GetArtifactoryDetails() auth.ServiceDetails
- func (bis *BuildInfoService) GetBuildInfo(params BuildInfoParams) (*buildinfo.BuildInfo, error)
- func (bis *BuildInfoService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (bis *BuildInfoService) IsDryRun() bool
- func (bis *BuildInfoService) PublishBuildInfo(build *buildinfo.BuildInfo) error
- func (bis *BuildInfoService) SetArtifactoryDetails(rt auth.ServiceDetails)
- type BuildPromotionBody
- type ChefLocalRepositoryParams
- type ChefRemoteRepositoryParams
- type ChefVirtualRepositoryParams
- type CocoapodsLocalRepositoryParams
- type CocoapodsRemoteRepositoryParams
- type CommonMavenGradleLocalRepositoryParams
- type CommonMavenGradleRemoteRepositoryParams
- type CommonMavenGradleVirtualRepositoryParams
- type ComposerLocalRepositoryParams
- type ComposerRemoteRepositoryParams
- type ConanLocalRepositoryParams
- type ConanRemoteRepositoryParams
- type ConanVirtualRepositoryParams
- type CondaRemoteRepositoryParams
- type CondaVirtualRepositoryParams
- type ContentSynchronisation
- type CranLocalRepositoryParams
- type CranRemoteRepositoryParams
- type CranVirtualRepositoryParams
- type CreateReplicationParams
- type CreateReplicationService
- type CreateTokenParams
- type CreateTokenResponseData
- type DebianLocalRepositoryParams
- type DebianRemoteRepositoryParams
- type DebianVirtualRepositoryParams
- type DeleteConfiguration
- type DeleteParams
- type DeleteReplicationService
- type DeleteRepositoryService
- type DeleteService
- func (ds *DeleteService) DeleteFiles(deleteItems *content.ContentReader) (int, error)
- func (ds *DeleteService) GetArtifactoryDetails() auth.ServiceDetails
- func (ds *DeleteService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (ds *DeleteService) GetPathsToDelete(deleteParams DeleteParams) (resultItems *content.ContentReader, err error)
- func (ds *DeleteService) GetThreads() int
- func (ds *DeleteService) IsDryRun() bool
- func (ds *DeleteService) SetArtifactoryDetails(rt auth.ServiceDetails)
- func (ds *DeleteService) SetThreads(threads int)
- type DiscardBuildsBody
- type DiscardBuildsParams
- func (bd *DiscardBuildsParams) GetBuildName() string
- func (bd *DiscardBuildsParams) GetExcludeBuilds() string
- func (bd *DiscardBuildsParams) GetMaxBuilds() string
- func (bd *DiscardBuildsParams) GetMaxDays() string
- func (bd *DiscardBuildsParams) IsAsync() bool
- func (bd *DiscardBuildsParams) IsDeleteArtifacts() bool
- type DiscardBuildsService
- type DistributeService
- type DockerLocalRepositoryParams
- type DockerPromoteBody
- type DockerPromoteParams
- func (dp *DockerPromoteParams) GetSourceDockerImage() string
- func (dp *DockerPromoteParams) GetSourceTag() string
- func (dp *DockerPromoteParams) GetTargetDockerRepository() string
- func (dp *DockerPromoteParams) GetTargetRepo() string
- func (dp *DockerPromoteParams) GetTargetTag() string
- func (dp *DockerPromoteParams) IsCopy() bool
- type DockerPromoteService
- func (ps *DockerPromoteService) GetArtifactoryDetails() auth.ServiceDetails
- func (ps *DockerPromoteService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (ps *DockerPromoteService) IsDryRun() bool
- func (ps *DockerPromoteService) PromoteDocker(params DockerPromoteParams) error
- func (ps *DockerPromoteService) SetArtifactoryDetails(rt auth.ServiceDetails)
- type DockerRemoteRepositoryParams
- type DockerVirtualRepositoryParams
- type DownloadData
- type DownloadParams
- type DownloadService
- func (ds *DownloadService) DownloadFiles(downloadParams ...DownloadParams) (int, int, error)
- func (ds *DownloadService) GetArtifactoryDetails() auth.ServiceDetails
- func (ds *DownloadService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (ds *DownloadService) GetThreads() int
- func (ds *DownloadService) IsDryRun() bool
- func (ds *DownloadService) SetArtifactoryDetails(rt auth.ServiceDetails)
- func (ds *DownloadService) SetDryRun(isDryRun bool)
- func (ds *DownloadService) SetServiceDetails(artDetails auth.ServiceDetails)
- func (ds *DownloadService) SetThreads(threads int)
- type GemsLocalRepositoryParams
- type GemsRemoteRepositoryParams
- type GemsVirtualRepositoryParams
- type GenericLocalRepositoryParams
- type GenericRemoteRepositoryParams
- type GenericVirtualRepositoryParams
- type GetReplicationService
- type GetRepositoryService
- type GetTokensResponseData
- type GitLfsCleanParams
- type GitLfsCleanService
- func (glc *GitLfsCleanService) GetArtifactoryDetails() auth.ServiceDetails
- func (glc *GitLfsCleanService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (glc *GitLfsCleanService) GetUnreferencedGitLfsFiles(gitLfsCleanParams GitLfsCleanParams) (*content.ContentReader, error)
- func (glc *GitLfsCleanService) IsDryRun() bool
- func (glc *GitLfsCleanService) SetArtifactoryDetails(art auth.ServiceDetails)
- type GitlfsLocalRepositoryParams
- type GitlfsRemoteRepositoryParams
- type GitlfsVirtualRepositoryParams
- type GoLocalRepositoryParams
- type GoRemoteRepositoryParams
- type GoVirtualRepositoryParams
- type GradleLocalRepositoryParams
- type GradleRemoteRepositoryParams
- type GradleVirtualRepositoryParams
- type HelmLocalRepositoryParams
- type HelmRemoteRepositoryParams
- type HelmVirtualRepositoryParams
- type IvyLocalRepositoryParams
- type IvyRemoteRepositoryParams
- type IvyVirtualRepositoryParams
- type LocalRepositoryBaseParams
- type LocalRepositoryService
- func (lrs *LocalRepositoryService) Bower(params BowerLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Chef(params ChefLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Cocoapods(params CocoapodsLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Composer(params ComposerLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Conan(params ConanLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Cran(params CranLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Debian(params DebianLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Docker(params DockerLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Gems(params GemsLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Generic(params GenericLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
- func (lrs *LocalRepositoryService) Gitlfs(params GitlfsLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Go(params GoLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Gradle(params GradleLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Helm(params HelmLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Ivy(params IvyLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Maven(params MavenLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Npm(params NpmLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Nuget(params NugetLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Opkg(params OpkgLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Puppet(params PuppetLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Pypi(params PypiLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Rpm(params RpmLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Sbt(params SbtLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Vagrant(params VagrantLocalRepositoryParams) error
- func (lrs *LocalRepositoryService) Yum(params YumLocalRepositoryParams) error
- type MavenLocalRepositoryParams
- type MavenRemoteRepositoryParams
- type MavenVirtualRepositoryParams
- type MoveCopyParams
- type MoveCopyService
- func (mc *MoveCopyService) GetArtifactoryDetails() auth.ServiceDetails
- func (mc *MoveCopyService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (mc *MoveCopyService) IsDryRun() bool
- func (mc *MoveCopyService) MoveCopyServiceMoveFilesWrapper(moveSpec MoveCopyParams) (successCount, failedCount int, err error)
- func (mc *MoveCopyService) SetArtifactoryDetails(rt auth.ServiceDetails)
- type MoveOptions
- type MoveType
- type NpmLocalRepositoryParams
- type NpmRemoteRepositoryParams
- type NpmVirtualRepositoryParams
- type NugetLocalRepositoryParams
- type NugetRemoteRepositoryParams
- type NugetVirtualRepositoryParams
- type OpkgLocalRepositoryParams
- type OpkgRemoteRepositoryParams
- type P2RemoteRepositoryParams
- type P2VirtualRepositoryParams
- type PermissionTargetParams
- type PermissionTargetSection
- type PermissionTargetService
- func (pts *PermissionTargetService) Create(params PermissionTargetParams) error
- func (pts *PermissionTargetService) Delete(permissionTargetName string) error
- func (pts *PermissionTargetService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
- func (pts *PermissionTargetService) Update(params PermissionTargetParams) error
- type PingService
- func (ps *PingService) GetArtifactoryDetails() auth.ServiceDetails
- func (ps *PingService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (ps *PingService) IsDryRun() bool
- func (ps *PingService) Ping() ([]byte, error)
- func (ps *PingService) SetArtifactoryDetails(rt auth.ServiceDetails)
- type PromoteService
- type PromotionParams
- func (bp *PromotionParams) GetBuildName() string
- func (bp *PromotionParams) GetBuildNumber() string
- func (bp *PromotionParams) GetComment() string
- func (bp *PromotionParams) GetProperties() string
- func (bp *PromotionParams) GetSourceRepo() string
- func (bp *PromotionParams) GetStatus() string
- func (bp *PromotionParams) GetTargetRepo() string
- func (bp *PromotionParams) IsCopy() bool
- func (bp *PromotionParams) IsIncludeDependencies() bool
- type PropsParams
- type PropsService
- func (ps *PropsService) DeleteProps(propsParams PropsParams) (int, error)
- func (ps *PropsService) GetArtifactoryDetails() auth.ServiceDetails
- func (ps *PropsService) GetThreads() int
- func (ps *PropsService) IsDryRun() bool
- func (ps *PropsService) SetArtifactoryDetails(rt auth.ServiceDetails)
- func (ps *PropsService) SetProps(propsParams PropsParams) (int, error)
- type PuppetLocalRepositoryParams
- type PuppetRemoteRepositoryParams
- type PuppetVirtualRepositoryParams
- type PypiLocalRepositoryParams
- type PypiRemoteRepositoryParams
- type PypiVirtualRepositoryParams
- type ReadFileService
- func (ds *ReadFileService) GetArtifactoryDetails() auth.ServiceDetails
- func (ds *ReadFileService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (ds *ReadFileService) IsDryRun() bool
- func (ds *ReadFileService) ReadRemoteFile(downloadPath string) (io.ReadCloser, error)
- func (ds *ReadFileService) SetArtifactoryDetails(rt auth.ServiceDetails)
- func (ds *ReadFileService) SetDryRun(isDryRun bool)
- func (ds *ReadFileService) SetServiceDetails(artDetails auth.ServiceDetails)
- type RefreshTokenParams
- type RemoteRepositoryBaseParams
- type RemoteRepositoryService
- func (rrs *RemoteRepositoryService) Bower(params BowerRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Chef(params ChefRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Cocoapods(params CocoapodsRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Composer(params ComposerRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Conan(params ConanRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Conda(params CondaRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Cran(params CranRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Debian(params DebianRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Docker(params DockerRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Gems(params GemsRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Generic(params GenericRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
- func (rrs *RemoteRepositoryService) Gitlfs(params GitlfsRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Go(params GoRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Gradle(params GradleRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Helm(params HelmRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Ivy(params IvyRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Maven(params MavenRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Npm(params NpmRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Nuget(params NugetRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Opkg(params OpkgRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) P2(params P2RemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Puppet(params PuppetRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Pypi(params PypiRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Rpm(params RpmRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Sbt(params SbtRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Vcs(params VcsRemoteRepositoryParams) error
- func (rrs *RemoteRepositoryService) Yum(params YumRemoteRepositoryParams) error
- type RepositoryDetails
- type RevokeTokenParams
- type RpmLocalRepositoryParams
- type RpmRemoteRepositoryParams
- type RpmVirtualRepositoryParams
- type SbtLocalRepositoryParams
- type SbtRemoteRepositoryParams
- type SbtVirtualRepositoryParams
- type SearchParams
- type SearchService
- func (s *SearchService) GetArtifactoryDetails() auth.ServiceDetails
- func (s *SearchService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (s *SearchService) IsDryRun() bool
- func (s *SearchService) Search(searchParams SearchParams) (*content.ContentReader, error)
- func (s *SearchService) SetArtifactoryDetails(rt auth.ServiceDetails)
- type SecurityService
- func (ss *SecurityService) CreateToken(params CreateTokenParams) (CreateTokenResponseData, error)
- func (ss *SecurityService) GetTokens() (GetTokensResponseData, error)
- func (ss *SecurityService) RefreshToken(params RefreshTokenParams) (CreateTokenResponseData, error)
- func (ss *SecurityService) RegenerateAPIKey() (string, error)
- func (ss *SecurityService) RevokeToken(params RevokeTokenParams) (string, error)
- type SystemService
- func (ss *SystemService) GetArtifactoryDetails() auth.ServiceDetails
- func (ss *SystemService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
- func (ss *SystemService) GetServiceId() (string, error)
- func (ss *SystemService) GetVersion() (string, error)
- func (ss *SystemService) IsDryRun() bool
- func (ss *SystemService) SetArtifactoryDetails(rt auth.ServiceDetails)
- type UpdateReplicationParams
- type UpdateReplicationService
- type UploadData
- type UploadParams
- type UploadService
- func (us *UploadService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
- func (us *UploadService) SetDryRun(isDryRun bool)
- func (us *UploadService) SetServiceDetails(artDetails auth.ServiceDetails)
- func (us *UploadService) SetThreads(threads int)
- func (us *UploadService) UploadFiles(uploadParams ...UploadParams) (artifactsFileInfo []utils.FileInfo, totalUploaded, totalFailed int, err error)
- type VagrantLocalRepositoryParams
- type VcsRemoteRepositoryParams
- type VirtualRepositoryBaseParams
- type VirtualRepositoryService
- func (vrs *VirtualRepositoryService) Bower(params BowerVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Chef(params ChefVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Conan(params ConanVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Conda(params CondaVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Cran(params CranVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Debian(params DebianVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Docker(params DockerVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Gems(params GemsVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Generic(params GenericVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
- func (vrs *VirtualRepositoryService) Gitlfs(params GitlfsVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Go(params GoVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Gradle(params GradleVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Helm(params HelmVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Ivy(params IvyVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Maven(params MavenVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Npm(params NpmVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Nuget(params NugetVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) P2(params P2VirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Puppet(params PuppetVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Pypi(params PypiVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Rpm(params RpmVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Sbt(params SbtVirtualRepositoryParams) error
- func (vrs *VirtualRepositoryService) Yum(params YumVirtualRepositoryParams) error
- type XrayScanBody
- type XrayScanParams
- type XrayScanService
- type YumLocalRepositoryParams
- type YumRemoteRepositoryParams
- type YumVirtualRepositoryParams
Constants ¶
View Source
const APIKeyPath = "api/security/apiKey"
View Source
const SCAN_BUILD_API_URL = "api/xray/scanBuild"
View Source
const XRAY_FATAL_FAIL_STATUS = -1
View Source
const XRAY_SCAN_CONNECTION_TIMEOUT = 90 * time.Second // Expecting \r\n every 30 seconds
View Source
const XRAY_SCAN_RETRY_CONSECUTIVE_RETRIES = 10 // Retrying to resume the scan 10 times after a stable connection
View Source
const XRAY_SCAN_SLEEP_BETWEEN_RETRIES = 15 * time.Second // 15 seconds sleep between retry
View Source
const XRAY_SCAN_STABLE_CONNECTION_WINDOW = 100 * time.Second
Variables ¶
This section is empty.
Functions ¶
func SearchBySpecFiles ¶ added in v0.1.3
func SearchBySpecFiles(searchParams SearchParams, flags utils.CommonConf, requiredArtifactProps utils.RequiredArtifactProps) (*content.ContentReader, error)
Types ¶
type AqlService ¶
type AqlService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewAqlService ¶
func NewAqlService(client *rthttpclient.ArtifactoryHttpClient) *AqlService
func (*AqlService) ExecAql ¶
func (s *AqlService) ExecAql(aql string) (io.ReadCloser, error)
func (*AqlService) GetArtifactoryDetails ¶
func (s *AqlService) GetArtifactoryDetails() auth.ServiceDetails
func (*AqlService) GetJfrogHttpClient ¶
func (s *AqlService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*AqlService) IsDryRun ¶
func (s *AqlService) IsDryRun() bool
func (*AqlService) SetArtifactoryDetails ¶
func (s *AqlService) SetArtifactoryDetails(rt auth.ServiceDetails)
type BowerLocalRepositoryParams ¶ added in v0.9.0
type BowerLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewBowerLocalRepositoryParams ¶ added in v0.9.0
func NewBowerLocalRepositoryParams() BowerLocalRepositoryParams
type BowerRemoteRepositoryParams ¶ added in v0.9.0
type BowerRemoteRepositoryParams struct { RemoteRepositoryBaseParams BowerRegistryUrl string `json:"bowerRegistryUrl,omitempty"` }
func NewBowerRemoteRepositoryParams ¶ added in v0.9.0
func NewBowerRemoteRepositoryParams() BowerRemoteRepositoryParams
type BowerVirtualRepositoryParams ¶ added in v0.9.0
type BowerVirtualRepositoryParams struct { VirtualRepositoryBaseParams ExternalDependenciesEnabled *bool `json:"externalDependenciesEnabled,omitempty"` ExternalDependenciesPatterns []string `json:"externalDependenciesPatterns,omitempty"` ExternalDependenciesRemoteRepo string `json:"externalDependenciesRemoteRepo,omitempty"` }
func NewBowerVirtualRepositoryParams ¶ added in v0.9.0
func NewBowerVirtualRepositoryParams() BowerVirtualRepositoryParams
type BuildDistributionBody ¶
type BuildDistributionBody struct { SourceRepos []string `json:"sourceRepos,omitempty"` TargetRepo string `json:"targetRepo,omitempty"` GpgPassphrase string `json:"gpgPassphrase,omitempty"` Publish bool `json:"publish"` OverrideExistingFiles bool `json:"overrideExistingFiles,omitempty"` Async bool `json:"async,omitempty"` DryRun bool `json:"dryRun,omitempty"` }
type BuildDistributionParams ¶
type BuildDistributionParams struct { SourceRepos string TargetRepo string GpgPassphrase string Publish bool OverrideExistingFiles bool Async bool BuildName string BuildNumber string }
func NewBuildDistributionParams ¶ added in v0.1.3
func NewBuildDistributionParams() BuildDistributionParams
func (*BuildDistributionParams) GetBuildName ¶
func (bd *BuildDistributionParams) GetBuildName() string
func (*BuildDistributionParams) GetBuildNumber ¶
func (bd *BuildDistributionParams) GetBuildNumber() string
func (*BuildDistributionParams) GetGpgPassphrase ¶
func (bd *BuildDistributionParams) GetGpgPassphrase() string
func (*BuildDistributionParams) GetSourceRepos ¶
func (bd *BuildDistributionParams) GetSourceRepos() string
func (*BuildDistributionParams) GetTargetRepo ¶
func (bd *BuildDistributionParams) GetTargetRepo() string
func (*BuildDistributionParams) IsAsync ¶
func (bd *BuildDistributionParams) IsAsync() bool
func (*BuildDistributionParams) IsOverrideExistingFiles ¶
func (bd *BuildDistributionParams) IsOverrideExistingFiles() bool
func (*BuildDistributionParams) IsPublish ¶
func (bd *BuildDistributionParams) IsPublish() bool
type BuildInfoParams ¶ added in v0.3.1
func NewBuildInfoParams ¶ added in v0.3.2
func NewBuildInfoParams() BuildInfoParams
type BuildInfoService ¶ added in v0.3.1
type BuildInfoService struct { ArtDetails auth.ServiceDetails DryRun bool // contains filtered or unexported fields }
func NewBuildInfoService ¶ added in v0.3.1
func NewBuildInfoService(client *rthttpclient.ArtifactoryHttpClient) *BuildInfoService
func (*BuildInfoService) GetArtifactoryDetails ¶ added in v0.3.1
func (bis *BuildInfoService) GetArtifactoryDetails() auth.ServiceDetails
func (*BuildInfoService) GetBuildInfo ¶ added in v0.3.1
func (bis *BuildInfoService) GetBuildInfo(params BuildInfoParams) (*buildinfo.BuildInfo, error)
func (*BuildInfoService) GetJfrogHttpClient ¶ added in v0.3.1
func (bis *BuildInfoService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*BuildInfoService) IsDryRun ¶ added in v0.3.1
func (bis *BuildInfoService) IsDryRun() bool
func (*BuildInfoService) PublishBuildInfo ¶ added in v0.3.2
func (bis *BuildInfoService) PublishBuildInfo(build *buildinfo.BuildInfo) error
func (*BuildInfoService) SetArtifactoryDetails ¶ added in v0.3.1
func (bis *BuildInfoService) SetArtifactoryDetails(rt auth.ServiceDetails)
type BuildPromotionBody ¶
type BuildPromotionBody struct { Comment string `json:"comment,omitempty"` SourceRepo string `json:"sourceRepo,omitempty"` TargetRepo string `json:"targetRepo,omitempty"` Status string `json:"status,omitempty"` IncludeDependencies bool `json:"dependencies,omitempty"` Copy bool `json:"copy,omitempty"` DryRun bool `json:"dryRun,omitempty"` Properties map[string][]string `json:"properties,omitempty"` }
type ChefLocalRepositoryParams ¶ added in v0.9.0
type ChefLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewChefLocalRepositoryParams ¶ added in v0.9.0
func NewChefLocalRepositoryParams() ChefLocalRepositoryParams
type ChefRemoteRepositoryParams ¶ added in v0.9.0
type ChefRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewChefRemoteRepositoryParams ¶ added in v0.9.0
func NewChefRemoteRepositoryParams() ChefRemoteRepositoryParams
type ChefVirtualRepositoryParams ¶ added in v0.9.0
type ChefVirtualRepositoryParams struct { VirtualRepositoryBaseParams VirtualRetrievalCachePeriodSecs int `json:"virtualRetrievalCachePeriodSecs,omitempty"` }
func NewChefVirtualRepositoryParams ¶ added in v0.9.0
func NewChefVirtualRepositoryParams() ChefVirtualRepositoryParams
type CocoapodsLocalRepositoryParams ¶ added in v0.9.0
type CocoapodsLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewCocoapodsLocalRepositoryParams ¶ added in v0.9.0
func NewCocoapodsLocalRepositoryParams() CocoapodsLocalRepositoryParams
type CocoapodsRemoteRepositoryParams ¶ added in v0.9.0
type CocoapodsRemoteRepositoryParams struct { RemoteRepositoryBaseParams PodsSpecsRepoUrl string `json:"podsSpecsRepoUrl,omitempty"` }
func NewCocoapodsRemoteRepositoryParams ¶ added in v0.9.0
func NewCocoapodsRemoteRepositoryParams() CocoapodsRemoteRepositoryParams
type CommonMavenGradleLocalRepositoryParams ¶ added in v0.9.0
type CommonMavenGradleLocalRepositoryParams struct { MaxUniqueSnapshots int `json:"maxUniqueSnapshots,omitempty"` HandleReleases *bool `json:"handleReleases,omitempty"` HandleSnapshots *bool `json:"handleSnapshots,omitempty"` SuppressPomConsistencyChecks *bool `json:"suppressPomConsistencyChecks,omitempty"` SnapshotVersionBehavior string `json:"snapshotVersionBehavior,omitempty"` ChecksumPolicyType string `json:"checksumPolicyType,omitempty"` }
type CommonMavenGradleRemoteRepositoryParams ¶ added in v0.9.0
type CommonMavenGradleRemoteRepositoryParams struct { FetchJarsEagerly *bool `json:"fetchJarsEagerly,omitempty"` FetchSourcesEagerly *bool `json:"fetchSourcesEagerly,omitempty"` RemoteRepoChecksumPolicyType string `json:"remoteRepoChecksumPolicyType,omitempty"` ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` HandleReleases *bool `json:"handleReleases,omitempty"` HandleSnapshots *bool `json:"handleSnapshots,omitempty"` SuppressPomConsistencyChecks *bool `json:"suppressPomConsistencyChecks,omitempty"` RejectInvalidJars *bool `json:"rejectInvalidJars,omitempty"` }
type CommonMavenGradleVirtualRepositoryParams ¶ added in v0.9.0
type ComposerLocalRepositoryParams ¶ added in v0.9.0
type ComposerLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewComposerLocalRepositoryParams ¶ added in v0.9.0
func NewComposerLocalRepositoryParams() ComposerLocalRepositoryParams
type ComposerRemoteRepositoryParams ¶ added in v0.9.0
type ComposerRemoteRepositoryParams struct { RemoteRepositoryBaseParams ComposerRegistryUrl string `json:"composerRegistryUrl,omitempty"` }
func NewComposerRemoteRepositoryParams ¶ added in v0.9.0
func NewComposerRemoteRepositoryParams() ComposerRemoteRepositoryParams
type ConanLocalRepositoryParams ¶ added in v0.9.0
type ConanLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewConanLocalRepositoryParams ¶ added in v0.9.0
func NewConanLocalRepositoryParams() ConanLocalRepositoryParams
type ConanRemoteRepositoryParams ¶ added in v0.9.0
type ConanRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewConanRemoteRepositoryParams ¶ added in v0.9.0
func NewConanRemoteRepositoryParams() ConanRemoteRepositoryParams
type ConanVirtualRepositoryParams ¶ added in v0.9.0
type ConanVirtualRepositoryParams struct { VirtualRepositoryBaseParams VirtualRetrievalCachePeriodSecs int `json:"virtualRetrievalCachePeriodSecs,omitempty"` }
func NewConanVirtualRepositoryParams ¶ added in v0.9.0
func NewConanVirtualRepositoryParams() ConanVirtualRepositoryParams
type CondaRemoteRepositoryParams ¶ added in v0.9.0
type CondaRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewCondaRemoteRepositoryParams ¶ added in v0.9.0
func NewCondaRemoteRepositoryParams() CondaRemoteRepositoryParams
type CondaVirtualRepositoryParams ¶ added in v0.9.0
type CondaVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewCondaVirtualRepositoryParams ¶ added in v0.9.0
func NewCondaVirtualRepositoryParams() CondaVirtualRepositoryParams
type ContentSynchronisation ¶ added in v0.9.0
type ContentSynchronisation struct { Enabled bool `json:"enables,omitempty"` Statistics struct { Enabled bool `json:"enables,omitempty"` } `json:"statistics,omitempty"` Properties struct { Enabled bool `json:"enables,omitempty"` } `json:"properties,omitempty"` Source struct { OriginAbsenceDetection bool `json:"originAbsenceDetection,omitempty"` } `json:"source,omitempty"` }
type CranLocalRepositoryParams ¶ added in v0.9.0
type CranLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewCranLocalRepositoryParams ¶ added in v0.9.0
func NewCranLocalRepositoryParams() CranLocalRepositoryParams
type CranRemoteRepositoryParams ¶ added in v0.9.0
type CranRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewCranRemoteRepositoryParams ¶ added in v0.9.0
func NewCranRemoteRepositoryParams() CranRemoteRepositoryParams
type CranVirtualRepositoryParams ¶ added in v0.9.0
type CranVirtualRepositoryParams struct { VirtualRepositoryBaseParams VirtualRetrievalCachePeriodSecs int `json:"virtualRetrievalCachePeriodSecs,omitempty"` }
func NewCranVirtualRepositoryParams ¶ added in v0.9.0
func NewCranVirtualRepositoryParams() CranVirtualRepositoryParams
type CreateReplicationParams ¶ added in v0.9.0
type CreateReplicationParams struct {
utils.ReplicationParams
}
func NewCreateReplicationParams ¶ added in v0.9.0
func NewCreateReplicationParams() CreateReplicationParams
type CreateReplicationService ¶ added in v0.9.0
type CreateReplicationService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewCreateReplicationService ¶ added in v0.9.0
func NewCreateReplicationService(client *rthttpclient.ArtifactoryHttpClient) *CreateReplicationService
func (*CreateReplicationService) CreateReplication ¶ added in v0.9.0
func (rs *CreateReplicationService) CreateReplication(params CreateReplicationParams) error
func (*CreateReplicationService) GetJfrogHttpClient ¶ added in v0.9.0
func (rs *CreateReplicationService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
type CreateTokenParams ¶ added in v0.7.0
type CreateTokenParams struct { Scope string Username string ExpiresIn int Refreshable bool Audience string }
func NewCreateTokenParams ¶ added in v0.7.0
func NewCreateTokenParams() CreateTokenParams
type CreateTokenResponseData ¶ added in v0.7.0
type DebianLocalRepositoryParams ¶ added in v0.9.0
type DebianLocalRepositoryParams struct { LocalRepositoryBaseParams DebianTrivialLayout *bool `json:"debianTrivialLayout,omitempty"` }
func NewDebianLocalRepositoryParams ¶ added in v0.9.0
func NewDebianLocalRepositoryParams() DebianLocalRepositoryParams
type DebianRemoteRepositoryParams ¶ added in v0.9.0
type DebianRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewDebianRemoteRepositoryParams ¶ added in v0.9.0
func NewDebianRemoteRepositoryParams() DebianRemoteRepositoryParams
type DebianVirtualRepositoryParams ¶ added in v0.9.0
type DebianVirtualRepositoryParams struct { VirtualRepositoryBaseParams DebianTrivialLayout *bool `json:"debianTrivialLayout,omitempty"` }
func NewDebianVirtualRepositoryParams ¶ added in v0.9.0
func NewDebianVirtualRepositoryParams() DebianVirtualRepositoryParams
type DeleteConfiguration ¶
type DeleteConfiguration struct { ArtDetails auth.ServiceDetails DryRun bool }
func (*DeleteConfiguration) GetArtifactoryDetails ¶
func (conf *DeleteConfiguration) GetArtifactoryDetails() auth.ServiceDetails
func (*DeleteConfiguration) IsDryRun ¶
func (conf *DeleteConfiguration) IsDryRun() bool
func (*DeleteConfiguration) SetArtifactoryDetails ¶
func (conf *DeleteConfiguration) SetArtifactoryDetails(art auth.ServiceDetails)
type DeleteParams ¶
type DeleteParams struct {
*utils.ArtifactoryCommonParams
}
func NewDeleteParams ¶ added in v0.1.3
func NewDeleteParams() DeleteParams
func (*DeleteParams) GetFile ¶
func (ds *DeleteParams) GetFile() *utils.ArtifactoryCommonParams
func (*DeleteParams) SetIncludeDirs ¶
func (ds *DeleteParams) SetIncludeDirs(includeDirs bool)
type DeleteReplicationService ¶ added in v0.9.0
type DeleteReplicationService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewDeleteReplicationService ¶ added in v0.9.0
func NewDeleteReplicationService(client *rthttpclient.ArtifactoryHttpClient) *DeleteReplicationService
func (*DeleteReplicationService) DeleteReplication ¶ added in v0.9.0
func (drs *DeleteReplicationService) DeleteReplication(repoKey string) error
func (*DeleteReplicationService) GetJfrogHttpClient ¶ added in v0.9.0
func (drs *DeleteReplicationService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
type DeleteRepositoryService ¶ added in v0.9.0
type DeleteRepositoryService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewDeleteRepositoryService ¶ added in v0.9.0
func NewDeleteRepositoryService(client *rthttpclient.ArtifactoryHttpClient) *DeleteRepositoryService
func (*DeleteRepositoryService) Delete ¶ added in v0.9.0
func (drs *DeleteRepositoryService) Delete(repoKey string) error
func (*DeleteRepositoryService) GetJfrogHttpClient ¶ added in v0.9.0
func (drs *DeleteRepositoryService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
type DeleteService ¶
type DeleteService struct { ArtDetails auth.ServiceDetails DryRun bool Threads int // contains filtered or unexported fields }
func NewDeleteService ¶
func NewDeleteService(client *rthttpclient.ArtifactoryHttpClient) *DeleteService
func (*DeleteService) DeleteFiles ¶
func (ds *DeleteService) DeleteFiles(deleteItems *content.ContentReader) (int, error)
func (*DeleteService) GetArtifactoryDetails ¶
func (ds *DeleteService) GetArtifactoryDetails() auth.ServiceDetails
func (*DeleteService) GetJfrogHttpClient ¶
func (ds *DeleteService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*DeleteService) GetPathsToDelete ¶
func (ds *DeleteService) GetPathsToDelete(deleteParams DeleteParams) (resultItems *content.ContentReader, err error)
func (*DeleteService) GetThreads ¶ added in v0.9.0
func (ds *DeleteService) GetThreads() int
func (*DeleteService) IsDryRun ¶
func (ds *DeleteService) IsDryRun() bool
func (*DeleteService) SetArtifactoryDetails ¶
func (ds *DeleteService) SetArtifactoryDetails(rt auth.ServiceDetails)
func (*DeleteService) SetThreads ¶ added in v0.9.0
func (ds *DeleteService) SetThreads(threads int)
type DiscardBuildsBody ¶
type DiscardBuildsParams ¶
type DiscardBuildsParams struct { DeleteArtifacts bool BuildName string MaxDays string MaxBuilds string ExcludeBuilds string Async bool }
func NewDiscardBuildsParams ¶ added in v0.1.3
func NewDiscardBuildsParams() DiscardBuildsParams
func (*DiscardBuildsParams) GetBuildName ¶
func (bd *DiscardBuildsParams) GetBuildName() string
func (*DiscardBuildsParams) GetExcludeBuilds ¶
func (bd *DiscardBuildsParams) GetExcludeBuilds() string
func (*DiscardBuildsParams) GetMaxBuilds ¶
func (bd *DiscardBuildsParams) GetMaxBuilds() string
func (*DiscardBuildsParams) GetMaxDays ¶
func (bd *DiscardBuildsParams) GetMaxDays() string
func (*DiscardBuildsParams) IsAsync ¶
func (bd *DiscardBuildsParams) IsAsync() bool
func (*DiscardBuildsParams) IsDeleteArtifacts ¶
func (bd *DiscardBuildsParams) IsDeleteArtifacts() bool
type DiscardBuildsService ¶
type DiscardBuildsService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewDiscardBuildsService ¶
func NewDiscardBuildsService(client *rthttpclient.ArtifactoryHttpClient) *DiscardBuildsService
func (*DiscardBuildsService) DiscardBuilds ¶
func (ds *DiscardBuildsService) DiscardBuilds(params DiscardBuildsParams) error
type DistributeService ¶
type DistributeService struct { ArtDetails auth.ServiceDetails DryRun bool // contains filtered or unexported fields }
func NewDistributionService ¶
func NewDistributionService(client *rthttpclient.ArtifactoryHttpClient) *DistributeService
func (*DistributeService) BuildDistribute ¶
func (ds *DistributeService) BuildDistribute(params BuildDistributionParams) error
type DockerLocalRepositoryParams ¶ added in v0.9.0
type DockerLocalRepositoryParams struct { LocalRepositoryBaseParams MaxUniqueTags int `json:"maxUniqueTags,omitempty"` DockerApiVersion string `json:"dockerApiVersion,omitempty"` }
func NewDockerLocalRepositoryParams ¶ added in v0.9.0
func NewDockerLocalRepositoryParams() DockerLocalRepositoryParams
type DockerPromoteBody ¶ added in v0.13.0
type DockerPromoteParams ¶ added in v0.13.0
type DockerPromoteParams struct { // Mandatory: // The name of the source repository in Artifactory, e.g. "docker-local-1". Supported by local repositories only. SourceRepo string // The name of the target repository in Artifactory, e.g. "docker-local-2". Supported by local repositories only. TargetRepo string // The name of the source Docker image, e.g. "hello-world". SourceDockerImage string // Optional: // The name of the target Docker image, e.g "hello-world2". If not specified - will use the same name as 'SourceDockerImage'. TargetDockerImage string // The name of the source image tag. If not specified - the entire docker repository will be promoted. SourceTag string // The name of the target image tag. If not specified - will use the same tag as 'SourceTag'. TargetTag string // If set to true, will do copy instead of move. Copy bool }
func NewDockerPromoteParams ¶ added in v0.13.0
func NewDockerPromoteParams(sourceDockerImage, sourceRepo, targetRepo string) DockerPromoteParams
func (*DockerPromoteParams) GetSourceDockerImage ¶ added in v0.13.0
func (dp *DockerPromoteParams) GetSourceDockerImage() string
func (*DockerPromoteParams) GetSourceTag ¶ added in v0.13.0
func (dp *DockerPromoteParams) GetSourceTag() string
func (*DockerPromoteParams) GetTargetDockerRepository ¶ added in v0.13.0
func (dp *DockerPromoteParams) GetTargetDockerRepository() string
func (*DockerPromoteParams) GetTargetRepo ¶ added in v0.13.0
func (dp *DockerPromoteParams) GetTargetRepo() string
func (*DockerPromoteParams) GetTargetTag ¶ added in v0.13.0
func (dp *DockerPromoteParams) GetTargetTag() string
func (*DockerPromoteParams) IsCopy ¶ added in v0.13.0
func (dp *DockerPromoteParams) IsCopy() bool
type DockerPromoteService ¶ added in v0.13.0
type DockerPromoteService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewDockerPromoteService ¶ added in v0.13.0
func NewDockerPromoteService(client *rthttpclient.ArtifactoryHttpClient) *DockerPromoteService
func (*DockerPromoteService) GetArtifactoryDetails ¶ added in v0.13.0
func (ps *DockerPromoteService) GetArtifactoryDetails() auth.ServiceDetails
func (*DockerPromoteService) GetJfrogHttpClient ¶ added in v0.13.0
func (ps *DockerPromoteService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*DockerPromoteService) IsDryRun ¶ added in v0.13.0
func (ps *DockerPromoteService) IsDryRun() bool
func (*DockerPromoteService) PromoteDocker ¶ added in v0.13.0
func (ps *DockerPromoteService) PromoteDocker(params DockerPromoteParams) error
func (*DockerPromoteService) SetArtifactoryDetails ¶ added in v0.13.0
func (ps *DockerPromoteService) SetArtifactoryDetails(rt auth.ServiceDetails)
type DockerRemoteRepositoryParams ¶ added in v0.9.0
type DockerRemoteRepositoryParams struct { RemoteRepositoryBaseParams ExternalDependenciesEnabled *bool `json:"externalDependenciesEnabled,omitempty"` ExternalDependenciesPatterns []string `json:"externalDependenciesPatterns,omitempty"` EnableTokenAuthentication *bool `json:"enableTokenAuthentication,omitempty"` }
func NewDockerRemoteRepositoryParams ¶ added in v0.9.0
func NewDockerRemoteRepositoryParams() DockerRemoteRepositoryParams
type DockerVirtualRepositoryParams ¶ added in v0.9.0
type DockerVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewDockerVirtualRepositoryParams ¶ added in v0.9.0
func NewDockerVirtualRepositoryParams() DockerVirtualRepositoryParams
type DownloadData ¶
type DownloadData struct { Dependency utils.ResultItem DownloadPath string Target string Flat bool }
type DownloadParams ¶
type DownloadParams struct { *utils.ArtifactoryCommonParams Symlink bool ValidateSymlink bool Flat bool Explode bool MinSplitSize int64 SplitCount int Retries int }
func NewDownloadParams ¶ added in v0.1.3
func NewDownloadParams() DownloadParams
func (*DownloadParams) GetFile ¶
func (ds *DownloadParams) GetFile() *utils.ArtifactoryCommonParams
func (*DownloadParams) GetRetries ¶
func (ds *DownloadParams) GetRetries() int
func (*DownloadParams) IsExplode ¶ added in v0.1.3
func (ds *DownloadParams) IsExplode() bool
func (*DownloadParams) IsFlat ¶
func (ds *DownloadParams) IsFlat() bool
func (*DownloadParams) IsSymlink ¶
func (ds *DownloadParams) IsSymlink() bool
func (*DownloadParams) ValidateSymlinks ¶
func (ds *DownloadParams) ValidateSymlinks() bool
type DownloadService ¶
type DownloadService struct { Progress clientio.Progress ArtDetails auth.ServiceDetails DryRun bool Threads int ResultWriter *content.ContentWriter // contains filtered or unexported fields }
func NewDownloadService ¶
func NewDownloadService(client *rthttpclient.ArtifactoryHttpClient) *DownloadService
func (*DownloadService) DownloadFiles ¶
func (ds *DownloadService) DownloadFiles(downloadParams ...DownloadParams) (int, int, error)
func (*DownloadService) GetArtifactoryDetails ¶
func (ds *DownloadService) GetArtifactoryDetails() auth.ServiceDetails
func (*DownloadService) GetJfrogHttpClient ¶
func (ds *DownloadService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*DownloadService) GetThreads ¶
func (ds *DownloadService) GetThreads() int
func (*DownloadService) IsDryRun ¶
func (ds *DownloadService) IsDryRun() bool
func (*DownloadService) SetArtifactoryDetails ¶
func (ds *DownloadService) SetArtifactoryDetails(rt auth.ServiceDetails)
func (*DownloadService) SetDryRun ¶
func (ds *DownloadService) SetDryRun(isDryRun bool)
func (*DownloadService) SetServiceDetails ¶ added in v0.10.0
func (ds *DownloadService) SetServiceDetails(artDetails auth.ServiceDetails)
func (*DownloadService) SetThreads ¶
func (ds *DownloadService) SetThreads(threads int)
type GemsLocalRepositoryParams ¶ added in v0.9.0
type GemsLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewGemsLocalRepositoryParams ¶ added in v0.9.0
func NewGemsLocalRepositoryParams() GemsLocalRepositoryParams
type GemsRemoteRepositoryParams ¶ added in v0.9.0
type GemsRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewGemsRemoteRepositoryParams ¶ added in v0.9.0
func NewGemsRemoteRepositoryParams() GemsRemoteRepositoryParams
type GemsVirtualRepositoryParams ¶ added in v0.9.0
type GemsVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewGemsVirtualRepositoryParams ¶ added in v0.9.0
func NewGemsVirtualRepositoryParams() GemsVirtualRepositoryParams
type GenericLocalRepositoryParams ¶ added in v0.9.0
type GenericLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewGenericLocalRepositoryParams ¶ added in v0.9.0
func NewGenericLocalRepositoryParams() GenericLocalRepositoryParams
type GenericRemoteRepositoryParams ¶ added in v0.9.0
type GenericRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewGenericRemoteRepositoryParams ¶ added in v0.9.0
func NewGenericRemoteRepositoryParams() GenericRemoteRepositoryParams
type GenericVirtualRepositoryParams ¶ added in v0.9.0
type GenericVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewGenericVirtualRepositoryParams ¶ added in v0.9.0
func NewGenericVirtualRepositoryParams() GenericVirtualRepositoryParams
type GetReplicationService ¶ added in v0.9.0
type GetReplicationService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewGetReplicationService ¶ added in v0.9.0
func NewGetReplicationService(client *rthttpclient.ArtifactoryHttpClient) *GetReplicationService
func (*GetReplicationService) GetJfrogHttpClient ¶ added in v0.9.0
func (drs *GetReplicationService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
func (*GetReplicationService) GetReplication ¶ added in v0.9.0
func (drs *GetReplicationService) GetReplication(repoKey string) ([]utils.ReplicationParams, error)
type GetRepositoryService ¶ added in v0.10.0
type GetRepositoryService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewGetRepositoryService ¶ added in v0.10.0
func NewGetRepositoryService(client *rthttpclient.ArtifactoryHttpClient) *GetRepositoryService
func (*GetRepositoryService) Get ¶ added in v0.10.0
func (grs *GetRepositoryService) Get(repoKey string) (*RepositoryDetails, error)
type GetTokensResponseData ¶ added in v0.7.0
type GetTokensResponseData struct { Tokens []struct { Issuer string `json:"issuer,omitempty"` Subject string `json:"subject,omitempty"` Refreshable bool `json:"refreshable,omitempty"` Expiry int `json:"expiry,omitempty"` TokenId string `json:"token_id,omitempty"` IssuedAt int `json:"issued_at,omitempty"` } }
type GitLfsCleanParams ¶
func NewGitLfsCleanParams ¶ added in v0.1.3
func NewGitLfsCleanParams() GitLfsCleanParams
func (*GitLfsCleanParams) GetGitPath ¶
func (glc *GitLfsCleanParams) GetGitPath() string
func (*GitLfsCleanParams) GetRef ¶
func (glc *GitLfsCleanParams) GetRef() string
func (*GitLfsCleanParams) GetRepo ¶
func (glc *GitLfsCleanParams) GetRepo() string
type GitLfsCleanService ¶
type GitLfsCleanService struct { ArtDetails auth.ServiceDetails DryRun bool // contains filtered or unexported fields }
func NewGitLfsCleanService ¶
func NewGitLfsCleanService(client *rthttpclient.ArtifactoryHttpClient) *GitLfsCleanService
func (*GitLfsCleanService) GetArtifactoryDetails ¶
func (glc *GitLfsCleanService) GetArtifactoryDetails() auth.ServiceDetails
func (*GitLfsCleanService) GetJfrogHttpClient ¶
func (glc *GitLfsCleanService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*GitLfsCleanService) GetUnreferencedGitLfsFiles ¶
func (glc *GitLfsCleanService) GetUnreferencedGitLfsFiles(gitLfsCleanParams GitLfsCleanParams) (*content.ContentReader, error)
func (*GitLfsCleanService) IsDryRun ¶
func (glc *GitLfsCleanService) IsDryRun() bool
func (*GitLfsCleanService) SetArtifactoryDetails ¶
func (glc *GitLfsCleanService) SetArtifactoryDetails(art auth.ServiceDetails)
type GitlfsLocalRepositoryParams ¶ added in v0.9.0
type GitlfsLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewGitlfsLocalRepositoryParams ¶ added in v0.9.0
func NewGitlfsLocalRepositoryParams() GitlfsLocalRepositoryParams
type GitlfsRemoteRepositoryParams ¶ added in v0.9.0
type GitlfsRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewGitlfsRemoteRepositoryParams ¶ added in v0.9.0
func NewGitlfsRemoteRepositoryParams() GitlfsRemoteRepositoryParams
type GitlfsVirtualRepositoryParams ¶ added in v0.9.0
type GitlfsVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewGitlfsVirtualRepositoryParams ¶ added in v0.9.0
func NewGitlfsVirtualRepositoryParams() GitlfsVirtualRepositoryParams
type GoLocalRepositoryParams ¶ added in v0.9.0
type GoLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewGoLocalRepositoryParams ¶ added in v0.9.0
func NewGoLocalRepositoryParams() GoLocalRepositoryParams
type GoRemoteRepositoryParams ¶ added in v0.9.0
type GoRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewGoRemoteRepositoryParams ¶ added in v0.9.0
func NewGoRemoteRepositoryParams() GoRemoteRepositoryParams
type GoVirtualRepositoryParams ¶ added in v0.9.0
type GoVirtualRepositoryParams struct { VirtualRepositoryBaseParams ExternalDependenciesEnabled *bool `json:"externalDependenciesEnabled,omitempty"` ExternalDependenciesPatterns []string `json:"externalDependenciesPatterns,omitempty"` }
func NewGoVirtualRepositoryParams ¶ added in v0.9.0
func NewGoVirtualRepositoryParams() GoVirtualRepositoryParams
type GradleLocalRepositoryParams ¶ added in v0.9.0
type GradleLocalRepositoryParams struct { LocalRepositoryBaseParams CommonMavenGradleLocalRepositoryParams }
func NewGradleLocalRepositoryParams ¶ added in v0.9.0
func NewGradleLocalRepositoryParams() GradleLocalRepositoryParams
type GradleRemoteRepositoryParams ¶ added in v0.9.0
type GradleRemoteRepositoryParams struct { RemoteRepositoryBaseParams CommonMavenGradleRemoteRepositoryParams }
func NewGradleRemoteRepositoryParams ¶ added in v0.9.0
func NewGradleRemoteRepositoryParams() GradleRemoteRepositoryParams
type GradleVirtualRepositoryParams ¶ added in v0.9.0
type GradleVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonMavenGradleVirtualRepositoryParams }
func NewGradleVirtualRepositoryParams ¶ added in v0.9.0
func NewGradleVirtualRepositoryParams() GradleVirtualRepositoryParams
type HelmLocalRepositoryParams ¶ added in v0.9.0
type HelmLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewHelmLocalRepositoryParams ¶ added in v0.9.0
func NewHelmLocalRepositoryParams() HelmLocalRepositoryParams
type HelmRemoteRepositoryParams ¶ added in v0.9.0
type HelmRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewHelmRemoteRepositoryParams ¶ added in v0.9.0
func NewHelmRemoteRepositoryParams() HelmRemoteRepositoryParams
type HelmVirtualRepositoryParams ¶ added in v0.9.0
type HelmVirtualRepositoryParams struct { VirtualRepositoryBaseParams VirtualRetrievalCachePeriodSecs int `json:"virtualRetrievalCachePeriodSecs,omitempty"` }
func NewHelmVirtualRepositoryParams ¶ added in v0.9.0
func NewHelmVirtualRepositoryParams() HelmVirtualRepositoryParams
type IvyLocalRepositoryParams ¶ added in v0.9.0
type IvyLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewIvyLocalRepositoryParams ¶ added in v0.9.0
func NewIvyLocalRepositoryParams() IvyLocalRepositoryParams
type IvyRemoteRepositoryParams ¶ added in v0.9.0
type IvyRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewIvyRemoteRepositoryParams ¶ added in v0.9.0
func NewIvyRemoteRepositoryParams() IvyRemoteRepositoryParams
type IvyVirtualRepositoryParams ¶ added in v0.9.0
type IvyVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewIvyVirtualRepositoryParams ¶ added in v0.9.0
func NewIvyVirtualRepositoryParams() IvyVirtualRepositoryParams
type LocalRepositoryBaseParams ¶ added in v0.9.0
type LocalRepositoryBaseParams struct { Key string `json:"key,omitempty"` Rclass string `json:"rclass"` PackageType string `json:"packageType,omitempty"` Description string `json:"description,omitempty"` Notes string `json:"notes,omitempty"` IncludesPattern string `json:"includesPattern,omitempty"` ExcludesPattern string `json:"excludesPattern,omitempty"` RepoLayoutRef string `json:"repoLayoutRef,omitempty"` BlackedOut *bool `json:"blackedOut,omitempty"` XrayIndex *bool `json:"xrayIndex,omitempty"` PropertySets []string `json:"propertySets,omitempty"` ArchiveBrowsingEnabled *bool `json:"archiveBrowsingEnabled,omitempty"` OptionalIndexCompressionFormats []string `json:"optionalIndexCompressionFormats,omitempty"` DownloadRedirect *bool `json:"downloadRedirect,omitempty"` BlockPushingSchema1 *bool `json:"blockPushingSchema1,omitempty"` }
type LocalRepositoryService ¶ added in v0.9.0
type LocalRepositoryService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewLocalRepositoryService ¶ added in v0.9.0
func NewLocalRepositoryService(client *rthttpclient.ArtifactoryHttpClient, isUpdate bool) *LocalRepositoryService
func (*LocalRepositoryService) Bower ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Bower(params BowerLocalRepositoryParams) error
func (*LocalRepositoryService) Chef ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Chef(params ChefLocalRepositoryParams) error
func (*LocalRepositoryService) Cocoapods ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Cocoapods(params CocoapodsLocalRepositoryParams) error
func (*LocalRepositoryService) Composer ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Composer(params ComposerLocalRepositoryParams) error
func (*LocalRepositoryService) Conan ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Conan(params ConanLocalRepositoryParams) error
func (*LocalRepositoryService) Cran ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Cran(params CranLocalRepositoryParams) error
func (*LocalRepositoryService) Debian ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Debian(params DebianLocalRepositoryParams) error
func (*LocalRepositoryService) Docker ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Docker(params DockerLocalRepositoryParams) error
func (*LocalRepositoryService) Gems ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Gems(params GemsLocalRepositoryParams) error
func (*LocalRepositoryService) Generic ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Generic(params GenericLocalRepositoryParams) error
func (*LocalRepositoryService) GetJfrogHttpClient ¶ added in v0.9.0
func (lrs *LocalRepositoryService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
func (*LocalRepositoryService) Gitlfs ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Gitlfs(params GitlfsLocalRepositoryParams) error
func (*LocalRepositoryService) Go ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Go(params GoLocalRepositoryParams) error
func (*LocalRepositoryService) Gradle ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Gradle(params GradleLocalRepositoryParams) error
func (*LocalRepositoryService) Helm ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Helm(params HelmLocalRepositoryParams) error
func (*LocalRepositoryService) Ivy ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Ivy(params IvyLocalRepositoryParams) error
func (*LocalRepositoryService) Maven ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Maven(params MavenLocalRepositoryParams) error
func (*LocalRepositoryService) Npm ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Npm(params NpmLocalRepositoryParams) error
func (*LocalRepositoryService) Nuget ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Nuget(params NugetLocalRepositoryParams) error
func (*LocalRepositoryService) Opkg ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Opkg(params OpkgLocalRepositoryParams) error
func (*LocalRepositoryService) Puppet ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Puppet(params PuppetLocalRepositoryParams) error
func (*LocalRepositoryService) Pypi ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Pypi(params PypiLocalRepositoryParams) error
func (*LocalRepositoryService) Rpm ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Rpm(params RpmLocalRepositoryParams) error
func (*LocalRepositoryService) Sbt ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Sbt(params SbtLocalRepositoryParams) error
func (*LocalRepositoryService) Vagrant ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Vagrant(params VagrantLocalRepositoryParams) error
func (*LocalRepositoryService) Yum ¶ added in v0.9.0
func (lrs *LocalRepositoryService) Yum(params YumLocalRepositoryParams) error
type MavenLocalRepositoryParams ¶ added in v0.9.0
type MavenLocalRepositoryParams struct { LocalRepositoryBaseParams CommonMavenGradleLocalRepositoryParams }
func NewMavenLocalRepositoryParams ¶ added in v0.9.0
func NewMavenLocalRepositoryParams() MavenLocalRepositoryParams
type MavenRemoteRepositoryParams ¶ added in v0.9.0
type MavenRemoteRepositoryParams struct { RemoteRepositoryBaseParams CommonMavenGradleRemoteRepositoryParams }
func NewMavenRemoteRepositoryParams ¶ added in v0.9.0
func NewMavenRemoteRepositoryParams() MavenRemoteRepositoryParams
type MavenVirtualRepositoryParams ¶ added in v0.9.0
type MavenVirtualRepositoryParams struct { VirtualRepositoryBaseParams CommonMavenGradleVirtualRepositoryParams }
func NewMavenVirtualRepositoryParams ¶ added in v0.9.0
func NewMavenVirtualRepositoryParams() MavenVirtualRepositoryParams
type MoveCopyParams ¶
type MoveCopyParams struct { *utils.ArtifactoryCommonParams Flat bool }
func NewMoveCopyParams ¶ added in v0.1.3
func NewMoveCopyParams() MoveCopyParams
func (*MoveCopyParams) GetFile ¶
func (mc *MoveCopyParams) GetFile() *utils.ArtifactoryCommonParams
func (*MoveCopyParams) IsFlat ¶
func (mc *MoveCopyParams) IsFlat() bool
func (*MoveCopyParams) SetIncludeDir ¶
func (mc *MoveCopyParams) SetIncludeDir(isIncludeDir bool)
type MoveCopyService ¶
type MoveCopyService struct { DryRun bool ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewMoveCopyService ¶
func NewMoveCopyService(client *rthttpclient.ArtifactoryHttpClient, moveType MoveType) *MoveCopyService
func (*MoveCopyService) GetArtifactoryDetails ¶
func (mc *MoveCopyService) GetArtifactoryDetails() auth.ServiceDetails
func (*MoveCopyService) GetJfrogHttpClient ¶
func (mc *MoveCopyService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*MoveCopyService) IsDryRun ¶
func (mc *MoveCopyService) IsDryRun() bool
func (*MoveCopyService) MoveCopyServiceMoveFilesWrapper ¶
func (mc *MoveCopyService) MoveCopyServiceMoveFilesWrapper(moveSpec MoveCopyParams) (successCount, failedCount int, err error)
func (*MoveCopyService) SetArtifactoryDetails ¶
func (mc *MoveCopyService) SetArtifactoryDetails(rt auth.ServiceDetails)
type MoveOptions ¶
type NpmLocalRepositoryParams ¶ added in v0.9.0
type NpmLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewNpmLocalRepositoryParams ¶ added in v0.9.0
func NewNpmLocalRepositoryParams() NpmLocalRepositoryParams
type NpmRemoteRepositoryParams ¶ added in v0.9.0
type NpmRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewNpmRemoteRepositoryParams ¶ added in v0.9.0
func NewNpmRemoteRepositoryParams() NpmRemoteRepositoryParams
type NpmVirtualRepositoryParams ¶ added in v0.9.0
type NpmVirtualRepositoryParams struct { VirtualRepositoryBaseParams ExternalDependenciesEnabled *bool `json:"externalDependenciesEnabled,omitempty"` ExternalDependenciesPatterns []string `json:"externalDependenciesPatterns,omitempty"` ExternalDependenciesRemoteRepo string `json:"externalDependenciesRemoteRepo,omitempty"` VirtualRetrievalCachePeriodSecs int `json:"virtualRetrievalCachePeriodSecs,omitempty"` }
func NewNpmVirtualRepositoryParams ¶ added in v0.9.0
func NewNpmVirtualRepositoryParams() NpmVirtualRepositoryParams
type NugetLocalRepositoryParams ¶ added in v0.9.0
type NugetLocalRepositoryParams struct { LocalRepositoryBaseParams MaxUniqueSnapshots int `json:"maxUniqueSnapshots,omitempty"` ForceNugetAuthentication *bool `json:"forceNugetAuthentication,omitempty"` }
func NewNugetLocalRepositoryParams ¶ added in v0.9.0
func NewNugetLocalRepositoryParams() NugetLocalRepositoryParams
type NugetRemoteRepositoryParams ¶ added in v0.9.0
type NugetRemoteRepositoryParams struct { RemoteRepositoryBaseParams FeedContextPath string `json:"feedContextPath,omitempty"` DownloadContextPath string `json:"downloadContextPath,omitempty"` V3FeedUrl string `json:"v3FeedUrl,omitempty"` ForceNugetAuthentication *bool `json:"forceNugetAuthentication,omitempty"` }
func NewNugetRemoteRepositoryParams ¶ added in v0.9.0
func NewNugetRemoteRepositoryParams() NugetRemoteRepositoryParams
type NugetVirtualRepositoryParams ¶ added in v0.9.0
type NugetVirtualRepositoryParams struct { VirtualRepositoryBaseParams ForceNugetAuthentication *bool `json:"forceNugetAuthentication,omitempty"` }
func NewNugetVirtualRepositoryParams ¶ added in v0.9.0
func NewNugetVirtualRepositoryParams() NugetVirtualRepositoryParams
type OpkgLocalRepositoryParams ¶ added in v0.9.0
type OpkgLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewOpkgLocalRepositoryParams ¶ added in v0.9.0
func NewOpkgLocalRepositoryParams() OpkgLocalRepositoryParams
type OpkgRemoteRepositoryParams ¶ added in v0.9.0
type OpkgRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewOpkgRemoteRepositoryParams ¶ added in v0.9.0
func NewOpkgRemoteRepositoryParams() OpkgRemoteRepositoryParams
type P2RemoteRepositoryParams ¶ added in v0.9.0
type P2RemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewP2RemoteRepositoryParams ¶ added in v0.9.0
func NewP2RemoteRepositoryParams() P2RemoteRepositoryParams
type P2VirtualRepositoryParams ¶ added in v0.9.0
type P2VirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewP2VirtualRepositoryParams ¶ added in v0.9.0
func NewP2VirtualRepositoryParams() P2VirtualRepositoryParams
type PermissionTargetParams ¶ added in v0.13.0
type PermissionTargetParams struct { Name string `json:"name"` Repo PermissionTargetSection `json:"repo,omitempty"` Build PermissionTargetSection `json:"build,omitempty"` ReleaseBundle PermissionTargetSection `json:"releaseBundle,omitempty"` }
func NewPermissionTargetParams ¶ added in v0.13.0
func NewPermissionTargetParams() PermissionTargetParams
type PermissionTargetSection ¶ added in v0.13.0
type PermissionTargetService ¶ added in v0.13.0
type PermissionTargetService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewPermissionTargetService ¶ added in v0.13.0
func NewPermissionTargetService(client *rthttpclient.ArtifactoryHttpClient) *PermissionTargetService
func (*PermissionTargetService) Create ¶ added in v0.13.0
func (pts *PermissionTargetService) Create(params PermissionTargetParams) error
func (*PermissionTargetService) Delete ¶ added in v0.13.0
func (pts *PermissionTargetService) Delete(permissionTargetName string) error
func (*PermissionTargetService) GetJfrogHttpClient ¶ added in v0.13.0
func (pts *PermissionTargetService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
func (*PermissionTargetService) Update ¶ added in v0.13.0
func (pts *PermissionTargetService) Update(params PermissionTargetParams) error
type PingService ¶
type PingService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewPingService ¶
func NewPingService(client *rthttpclient.ArtifactoryHttpClient) *PingService
func (*PingService) GetArtifactoryDetails ¶
func (ps *PingService) GetArtifactoryDetails() auth.ServiceDetails
func (*PingService) GetJfrogHttpClient ¶
func (ps *PingService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*PingService) IsDryRun ¶
func (ps *PingService) IsDryRun() bool
func (*PingService) Ping ¶
func (ps *PingService) Ping() ([]byte, error)
func (*PingService) SetArtifactoryDetails ¶
func (ps *PingService) SetArtifactoryDetails(rt auth.ServiceDetails)
type PromoteService ¶
type PromoteService struct { ArtDetails auth.ServiceDetails DryRun bool // contains filtered or unexported fields }
func NewPromotionService ¶
func NewPromotionService(client *rthttpclient.ArtifactoryHttpClient) *PromoteService
func (*PromoteService) BuildPromote ¶
func (ps *PromoteService) BuildPromote(promotionParams PromotionParams) error
type PromotionParams ¶
type PromotionParams struct { BuildName string BuildNumber string TargetRepo string Status string Comment string Copy bool IncludeDependencies bool SourceRepo string Properties string }
func NewPromotionParams ¶ added in v0.1.3
func NewPromotionParams() PromotionParams
func (*PromotionParams) GetBuildName ¶
func (bp *PromotionParams) GetBuildName() string
func (*PromotionParams) GetBuildNumber ¶
func (bp *PromotionParams) GetBuildNumber() string
func (*PromotionParams) GetComment ¶
func (bp *PromotionParams) GetComment() string
func (*PromotionParams) GetProperties ¶ added in v0.3.3
func (bp *PromotionParams) GetProperties() string
func (*PromotionParams) GetSourceRepo ¶
func (bp *PromotionParams) GetSourceRepo() string
func (*PromotionParams) GetStatus ¶
func (bp *PromotionParams) GetStatus() string
func (*PromotionParams) GetTargetRepo ¶
func (bp *PromotionParams) GetTargetRepo() string
func (*PromotionParams) IsCopy ¶
func (bp *PromotionParams) IsCopy() bool
func (*PromotionParams) IsIncludeDependencies ¶
func (bp *PromotionParams) IsIncludeDependencies() bool
type PropsParams ¶
type PropsParams struct { Reader *content.ContentReader Props string }
func NewPropsParams ¶ added in v0.1.3
func NewPropsParams() PropsParams
func (*PropsParams) GetProps ¶
func (sp *PropsParams) GetProps() string
func (*PropsParams) GetReader ¶ added in v0.13.0
func (sp *PropsParams) GetReader() *content.ContentReader
type PropsService ¶
type PropsService struct { ArtDetails auth.ServiceDetails Threads int // contains filtered or unexported fields }
func NewPropsService ¶
func NewPropsService(client *rthttpclient.ArtifactoryHttpClient) *PropsService
func (*PropsService) DeleteProps ¶
func (ps *PropsService) DeleteProps(propsParams PropsParams) (int, error)
func (*PropsService) GetArtifactoryDetails ¶
func (ps *PropsService) GetArtifactoryDetails() auth.ServiceDetails
func (*PropsService) GetThreads ¶
func (ps *PropsService) GetThreads() int
func (*PropsService) IsDryRun ¶
func (ps *PropsService) IsDryRun() bool
func (*PropsService) SetArtifactoryDetails ¶
func (ps *PropsService) SetArtifactoryDetails(rt auth.ServiceDetails)
func (*PropsService) SetProps ¶
func (ps *PropsService) SetProps(propsParams PropsParams) (int, error)
type PuppetLocalRepositoryParams ¶ added in v0.9.0
type PuppetLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewPuppetLocalRepositoryParams ¶ added in v0.9.0
func NewPuppetLocalRepositoryParams() PuppetLocalRepositoryParams
type PuppetRemoteRepositoryParams ¶ added in v0.9.0
type PuppetRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewPuppetRemoteRepositoryParams ¶ added in v0.9.0
func NewPuppetRemoteRepositoryParams() PuppetRemoteRepositoryParams
type PuppetVirtualRepositoryParams ¶ added in v0.9.0
type PuppetVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewPuppetVirtualRepositoryParams ¶ added in v0.9.0
func NewPuppetVirtualRepositoryParams() PuppetVirtualRepositoryParams
type PypiLocalRepositoryParams ¶ added in v0.9.0
type PypiLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewPypiLocalRepositoryParams ¶ added in v0.9.0
func NewPypiLocalRepositoryParams() PypiLocalRepositoryParams
type PypiRemoteRepositoryParams ¶ added in v0.9.0
type PypiRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` PypiRegistryUrl string `json:"pypiRegistryUrl,omitempty"` }
func NewPypiRemoteRepositoryParams ¶ added in v0.9.0
func NewPypiRemoteRepositoryParams() PypiRemoteRepositoryParams
type PypiVirtualRepositoryParams ¶ added in v0.9.0
type PypiVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewPypiVirtualRepositoryParams ¶ added in v0.9.0
func NewPypiVirtualRepositoryParams() PypiVirtualRepositoryParams
type ReadFileService ¶
type ReadFileService struct { ArtDetails auth.ServiceDetails DryRun bool MinSplitSize int64 SplitCount int // contains filtered or unexported fields }
func NewReadFileService ¶
func NewReadFileService(client *rthttpclient.ArtifactoryHttpClient) *ReadFileService
func (*ReadFileService) GetArtifactoryDetails ¶
func (ds *ReadFileService) GetArtifactoryDetails() auth.ServiceDetails
func (*ReadFileService) GetJfrogHttpClient ¶
func (ds *ReadFileService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*ReadFileService) IsDryRun ¶
func (ds *ReadFileService) IsDryRun() bool
func (*ReadFileService) ReadRemoteFile ¶
func (ds *ReadFileService) ReadRemoteFile(downloadPath string) (io.ReadCloser, error)
func (*ReadFileService) SetArtifactoryDetails ¶
func (ds *ReadFileService) SetArtifactoryDetails(rt auth.ServiceDetails)
func (*ReadFileService) SetDryRun ¶
func (ds *ReadFileService) SetDryRun(isDryRun bool)
func (*ReadFileService) SetServiceDetails ¶ added in v0.10.0
func (ds *ReadFileService) SetServiceDetails(artDetails auth.ServiceDetails)
type RefreshTokenParams ¶ added in v0.7.0
type RefreshTokenParams struct { Token CreateTokenParams RefreshToken string AccessToken string }
func NewRefreshTokenParams ¶ added in v0.7.0
func NewRefreshTokenParams() RefreshTokenParams
type RemoteRepositoryBaseParams ¶ added in v0.9.0
type RemoteRepositoryBaseParams struct { Key string `json:"key,omitempty"` Rclass string `json:"rclass"` PackageType string `json:"packageType,omitempty"` Url string `json:"url"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Proxy string `json:"proxy,omitempty"` Description string `json:"description,omitempty"` Notes string `json:"notes,omitempty"` IncludesPattern string `json:"includesPattern,omitempty"` ExcludesPattern string `json:"excludesPattern,omitempty"` RepoLayoutRef string `json:"repoLayoutRef,omitempty"` HardFail *bool `json:"hardFail,omitempty"` Offline *bool `json:"offline,omitempty"` BlackedOut *bool `json:"blackedOut,omitempty"` StoreArtifactsLocally *bool `json:"storeArtifactsLocally,omitempty"` SocketTimeoutMillis int `json:"socketTimeoutMillis,omitempty"` LocalAddress string `json:"localAddress,omitempty"` RetrievalCachePeriodSecs int `json:"retrievalCachePeriodSecs,omitempty"` FailedRetrievalCachePeriodSecs int `json:"failedRetrievalCachePeriodSecs,omitempty"` MissedRetrievalCachePeriodSecs int `json:"missedRetrievalCachePeriodSecs,omitempty"` UnusedArtifactsCleanupEnabled *bool `json:"unusedArtifactsCleanupEnabled,omitempty"` UnusedArtifactsCleanupPeriodHours int `json:"unusedArtifactsCleanupPeriodHours,omitempty"` AssumedOfflinePeriodSecs int `json:"assumedOfflinePeriodSecs,omitempty"` SynchronizeProperties *bool `json:"synchronizeProperties,omitempty"` BlockMismatchingMimeTypes *bool `json:"blockMismatchingMimeTypes,omitempty"` PropertySets []string `json:"propertySets,omitempty"` AllowAnyHostAuth *bool `json:"allowAnyHostAuth,omitempty"` EnableCookieManagement *bool `json:"enableCookieManagement,omitempty"` BypassHeadRequests *bool `json:"bypassHeadRequests,omitempty"` ClientTlsCertificate string `json:"clientTlsCertificate,omitempty"` BlockPushingSchema1 *bool `json:"blockPushingSchema1,omitempty"` ContentSynchronisation *ContentSynchronisation `json:"contentSynchronisation,omitempty"` }
type RemoteRepositoryService ¶ added in v0.9.0
type RemoteRepositoryService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewRemoteRepositoryService ¶ added in v0.9.0
func NewRemoteRepositoryService(client *rthttpclient.ArtifactoryHttpClient, isUpdate bool) *RemoteRepositoryService
func (*RemoteRepositoryService) Bower ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Bower(params BowerRemoteRepositoryParams) error
func (*RemoteRepositoryService) Chef ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Chef(params ChefRemoteRepositoryParams) error
func (*RemoteRepositoryService) Cocoapods ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Cocoapods(params CocoapodsRemoteRepositoryParams) error
func (*RemoteRepositoryService) Composer ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Composer(params ComposerRemoteRepositoryParams) error
func (*RemoteRepositoryService) Conan ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Conan(params ConanRemoteRepositoryParams) error
func (*RemoteRepositoryService) Conda ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Conda(params CondaRemoteRepositoryParams) error
func (*RemoteRepositoryService) Cran ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Cran(params CranRemoteRepositoryParams) error
func (*RemoteRepositoryService) Debian ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Debian(params DebianRemoteRepositoryParams) error
func (*RemoteRepositoryService) Docker ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Docker(params DockerRemoteRepositoryParams) error
func (*RemoteRepositoryService) Gems ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Gems(params GemsRemoteRepositoryParams) error
func (*RemoteRepositoryService) Generic ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Generic(params GenericRemoteRepositoryParams) error
func (*RemoteRepositoryService) GetJfrogHttpClient ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
func (*RemoteRepositoryService) Gitlfs ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Gitlfs(params GitlfsRemoteRepositoryParams) error
func (*RemoteRepositoryService) Go ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Go(params GoRemoteRepositoryParams) error
func (*RemoteRepositoryService) Gradle ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Gradle(params GradleRemoteRepositoryParams) error
func (*RemoteRepositoryService) Helm ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Helm(params HelmRemoteRepositoryParams) error
func (*RemoteRepositoryService) Ivy ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Ivy(params IvyRemoteRepositoryParams) error
func (*RemoteRepositoryService) Maven ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Maven(params MavenRemoteRepositoryParams) error
func (*RemoteRepositoryService) Npm ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Npm(params NpmRemoteRepositoryParams) error
func (*RemoteRepositoryService) Nuget ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Nuget(params NugetRemoteRepositoryParams) error
func (*RemoteRepositoryService) Opkg ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Opkg(params OpkgRemoteRepositoryParams) error
func (*RemoteRepositoryService) P2 ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) P2(params P2RemoteRepositoryParams) error
func (*RemoteRepositoryService) Puppet ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Puppet(params PuppetRemoteRepositoryParams) error
func (*RemoteRepositoryService) Pypi ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Pypi(params PypiRemoteRepositoryParams) error
func (*RemoteRepositoryService) Rpm ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Rpm(params RpmRemoteRepositoryParams) error
func (*RemoteRepositoryService) Sbt ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Sbt(params SbtRemoteRepositoryParams) error
func (*RemoteRepositoryService) Vcs ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Vcs(params VcsRemoteRepositoryParams) error
func (*RemoteRepositoryService) Yum ¶ added in v0.9.0
func (rrs *RemoteRepositoryService) Yum(params YumRemoteRepositoryParams) error
type RepositoryDetails ¶ added in v0.10.0
type RevokeTokenParams ¶ added in v0.7.0
func NewRevokeTokenParams ¶ added in v0.7.0
func NewRevokeTokenParams() RevokeTokenParams
type RpmLocalRepositoryParams ¶ added in v0.9.0
type RpmLocalRepositoryParams struct { LocalRepositoryBaseParams YumRootDepth int `json:"yumRootDepth,omitempty"` CalculateYumMetadata *bool `json:"calculateYumMetadata,omitempty"` EnableFileListsIndexing *bool `json:"enableFileListsIndexing,omitempty"` }
func NewRpmLocalRepositoryParams ¶ added in v0.9.0
func NewRpmLocalRepositoryParams() RpmLocalRepositoryParams
type RpmRemoteRepositoryParams ¶ added in v0.9.0
type RpmRemoteRepositoryParams struct { RemoteRepositoryBaseParams ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewRpmRemoteRepositoryParams ¶ added in v0.9.0
func NewRpmRemoteRepositoryParams() RpmRemoteRepositoryParams
type RpmVirtualRepositoryParams ¶ added in v0.9.0
type RpmVirtualRepositoryParams struct { VirtualRepositoryBaseParams VirtualRetrievalCachePeriodSecs int `json:"virtualRetrievalCachePeriodSecs,omitempty"` }
func NewRpmVirtualRepositoryParams ¶ added in v0.9.0
func NewRpmVirtualRepositoryParams() RpmVirtualRepositoryParams
type SbtLocalRepositoryParams ¶ added in v0.9.0
type SbtLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewSbtLocalRepositoryParams ¶ added in v0.9.0
func NewSbtLocalRepositoryParams() SbtLocalRepositoryParams
type SbtRemoteRepositoryParams ¶ added in v0.9.0
type SbtRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewSbtRemoteRepositoryParams ¶ added in v0.9.0
func NewSbtRemoteRepositoryParams() SbtRemoteRepositoryParams
type SbtVirtualRepositoryParams ¶ added in v0.9.0
type SbtVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewSbtVirtualRepositoryParams ¶ added in v0.9.0
func NewSbtVirtualRepositoryParams() SbtVirtualRepositoryParams
type SearchParams ¶ added in v0.1.3
type SearchParams struct {
*utils.ArtifactoryCommonParams
}
func NewSearchParams ¶ added in v0.1.3
func NewSearchParams() SearchParams
func (*SearchParams) GetFile ¶ added in v0.1.3
func (s *SearchParams) GetFile() *utils.ArtifactoryCommonParams
type SearchService ¶
type SearchService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewSearchService ¶
func NewSearchService(client *rthttpclient.ArtifactoryHttpClient) *SearchService
func (*SearchService) GetArtifactoryDetails ¶
func (s *SearchService) GetArtifactoryDetails() auth.ServiceDetails
func (*SearchService) GetJfrogHttpClient ¶
func (s *SearchService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*SearchService) IsDryRun ¶
func (s *SearchService) IsDryRun() bool
func (*SearchService) Search ¶
func (s *SearchService) Search(searchParams SearchParams) (*content.ContentReader, error)
func (*SearchService) SetArtifactoryDetails ¶
func (s *SearchService) SetArtifactoryDetails(rt auth.ServiceDetails)
type SecurityService ¶ added in v0.7.0
type SecurityService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewSecurityService ¶ added in v0.7.0
func NewSecurityService(client *rthttpclient.ArtifactoryHttpClient) *SecurityService
func (*SecurityService) CreateToken ¶ added in v0.7.0
func (ss *SecurityService) CreateToken(params CreateTokenParams) (CreateTokenResponseData, error)
func (*SecurityService) GetTokens ¶ added in v0.7.0
func (ss *SecurityService) GetTokens() (GetTokensResponseData, error)
func (*SecurityService) RefreshToken ¶ added in v0.7.0
func (ss *SecurityService) RefreshToken(params RefreshTokenParams) (CreateTokenResponseData, error)
func (*SecurityService) RegenerateAPIKey ¶ added in v0.8.0
func (ss *SecurityService) RegenerateAPIKey() (string, error)
RegenerateAPIKey regenerates the API Key in Artifactory
func (*SecurityService) RevokeToken ¶ added in v0.7.0
func (ss *SecurityService) RevokeToken(params RevokeTokenParams) (string, error)
type SystemService ¶ added in v0.10.0
type SystemService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewSystemService ¶ added in v0.10.0
func NewSystemService(client *rthttpclient.ArtifactoryHttpClient) *SystemService
func (*SystemService) GetArtifactoryDetails ¶ added in v0.10.0
func (ss *SystemService) GetArtifactoryDetails() auth.ServiceDetails
func (*SystemService) GetJfrogHttpClient ¶ added in v0.10.0
func (ss *SystemService) GetJfrogHttpClient() (*rthttpclient.ArtifactoryHttpClient, error)
func (*SystemService) GetServiceId ¶ added in v0.10.0
func (ss *SystemService) GetServiceId() (string, error)
func (*SystemService) GetVersion ¶ added in v0.10.0
func (ss *SystemService) GetVersion() (string, error)
func (*SystemService) IsDryRun ¶ added in v0.10.0
func (ss *SystemService) IsDryRun() bool
func (*SystemService) SetArtifactoryDetails ¶ added in v0.10.0
func (ss *SystemService) SetArtifactoryDetails(rt auth.ServiceDetails)
type UpdateReplicationParams ¶ added in v0.9.0
type UpdateReplicationParams struct {
utils.ReplicationParams
}
func NewUpdateReplicationParams ¶ added in v0.9.0
func NewUpdateReplicationParams() UpdateReplicationParams
type UpdateReplicationService ¶ added in v0.9.0
type UpdateReplicationService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewUpdateReplicationService ¶ added in v0.9.0
func NewUpdateReplicationService(client *rthttpclient.ArtifactoryHttpClient) *UpdateReplicationService
func (*UpdateReplicationService) GetJfrogHttpClient ¶ added in v0.9.0
func (rs *UpdateReplicationService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
func (*UpdateReplicationService) UpdateReplication ¶ added in v0.9.0
func (rs *UpdateReplicationService) UpdateReplication(params UpdateReplicationParams) error
type UploadData ¶
type UploadData struct { Artifact clientutils.Artifact Props string BuildProps string IsDir bool }
type UploadParams ¶
type UploadParams struct { *utils.ArtifactoryCommonParams Deb string BuildProps string Symlink bool ExplodeArchive bool Flat bool AddVcsProps bool Retries int MinChecksumDeploy int64 }
func NewUploadParams ¶ added in v0.1.3
func NewUploadParams() UploadParams
func (*UploadParams) GetDebian ¶
func (up *UploadParams) GetDebian() string
func (*UploadParams) GetRetries ¶
func (up *UploadParams) GetRetries() int
func (*UploadParams) IsAddVcsProps ¶ added in v0.6.2
func (up *UploadParams) IsAddVcsProps() bool
func (*UploadParams) IsExplodeArchive ¶
func (up *UploadParams) IsExplodeArchive() bool
func (*UploadParams) IsFlat ¶
func (up *UploadParams) IsFlat() bool
func (*UploadParams) IsSymlink ¶
func (up *UploadParams) IsSymlink() bool
type UploadService ¶
type UploadService struct { Progress ioutils.Progress ArtDetails auth.ServiceDetails DryRun bool Threads int // contains filtered or unexported fields }
func NewUploadService ¶
func NewUploadService(client *rthttpclient.ArtifactoryHttpClient) *UploadService
func (*UploadService) GetJfrogHttpClient ¶
func (us *UploadService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
func (*UploadService) SetDryRun ¶
func (us *UploadService) SetDryRun(isDryRun bool)
func (*UploadService) SetServiceDetails ¶ added in v0.10.0
func (us *UploadService) SetServiceDetails(artDetails auth.ServiceDetails)
func (*UploadService) SetThreads ¶ added in v0.4.0
func (us *UploadService) SetThreads(threads int)
func (*UploadService) UploadFiles ¶
func (us *UploadService) UploadFiles(uploadParams ...UploadParams) (artifactsFileInfo []utils.FileInfo, totalUploaded, totalFailed int, err error)
type VagrantLocalRepositoryParams ¶ added in v0.9.0
type VagrantLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewVagrantLocalRepositoryParams ¶ added in v0.9.0
func NewVagrantLocalRepositoryParams() VagrantLocalRepositoryParams
type VcsRemoteRepositoryParams ¶ added in v0.9.0
type VcsRemoteRepositoryParams struct { RemoteRepositoryBaseParams VcsGitProvider string `json:"vcsGitProvider,omitempty"` VcsType string `json:"vcsType,omitempty"` MaxUniqueSnapshots int `json:"maxUniqueSnapshots,omitempty"` VcsGitDownloadUrl string `json:"vcsGitDownloadUrl,omitempty"` ListRemoteFolderItems *bool `json:"listRemoteFolderItems,omitempty"` }
func NewVcsRemoteRepositoryParams ¶ added in v0.9.0
func NewVcsRemoteRepositoryParams() VcsRemoteRepositoryParams
type VirtualRepositoryBaseParams ¶ added in v0.9.0
type VirtualRepositoryBaseParams struct { Key string `json:"key,omitempty"` Rclass string `json:"rclass"` PackageType string `json:"packageType,omitempty"` Description string `json:"description,omitempty"` Notes string `json:"notes,omitempty"` IncludesPattern string `json:"includesPattern,omitempty"` ExcludesPattern string `json:"excludesPattern,omitempty"` RepoLayoutRef string `json:"repoLayoutRef,omitempty"` Repositories []string `json:"repositories,omitempty"` ArtifactoryRequestsCanRetrieveRemoteArtifacts *bool `json:"artifactoryRequestsCanRetrieveRemoteArtifacts,omitempty"` DefaultDeploymentRepo string `json:"defaultDeploymentRepo,omitempty"` }
type VirtualRepositoryService ¶ added in v0.9.0
type VirtualRepositoryService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewVirtualRepositoryService ¶ added in v0.9.0
func NewVirtualRepositoryService(client *rthttpclient.ArtifactoryHttpClient, isUpdate bool) *VirtualRepositoryService
func (*VirtualRepositoryService) Bower ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Bower(params BowerVirtualRepositoryParams) error
func (*VirtualRepositoryService) Chef ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Chef(params ChefVirtualRepositoryParams) error
func (*VirtualRepositoryService) Conan ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Conan(params ConanVirtualRepositoryParams) error
func (*VirtualRepositoryService) Conda ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Conda(params CondaVirtualRepositoryParams) error
func (*VirtualRepositoryService) Cran ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Cran(params CranVirtualRepositoryParams) error
func (*VirtualRepositoryService) Debian ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Debian(params DebianVirtualRepositoryParams) error
func (*VirtualRepositoryService) Docker ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Docker(params DockerVirtualRepositoryParams) error
func (*VirtualRepositoryService) Gems ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Gems(params GemsVirtualRepositoryParams) error
func (*VirtualRepositoryService) Generic ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Generic(params GenericVirtualRepositoryParams) error
func (*VirtualRepositoryService) GetJfrogHttpClient ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) GetJfrogHttpClient() *rthttpclient.ArtifactoryHttpClient
func (*VirtualRepositoryService) Gitlfs ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Gitlfs(params GitlfsVirtualRepositoryParams) error
func (*VirtualRepositoryService) Go ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Go(params GoVirtualRepositoryParams) error
func (*VirtualRepositoryService) Gradle ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Gradle(params GradleVirtualRepositoryParams) error
func (*VirtualRepositoryService) Helm ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Helm(params HelmVirtualRepositoryParams) error
func (*VirtualRepositoryService) Ivy ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Ivy(params IvyVirtualRepositoryParams) error
func (*VirtualRepositoryService) Maven ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Maven(params MavenVirtualRepositoryParams) error
func (*VirtualRepositoryService) Npm ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Npm(params NpmVirtualRepositoryParams) error
func (*VirtualRepositoryService) Nuget ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Nuget(params NugetVirtualRepositoryParams) error
func (*VirtualRepositoryService) P2 ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) P2(params P2VirtualRepositoryParams) error
func (*VirtualRepositoryService) Puppet ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Puppet(params PuppetVirtualRepositoryParams) error
func (*VirtualRepositoryService) Pypi ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Pypi(params PypiVirtualRepositoryParams) error
func (*VirtualRepositoryService) Rpm ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Rpm(params RpmVirtualRepositoryParams) error
func (*VirtualRepositoryService) Sbt ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Sbt(params SbtVirtualRepositoryParams) error
func (*VirtualRepositoryService) Yum ¶ added in v0.9.0
func (vrs *VirtualRepositoryService) Yum(params YumVirtualRepositoryParams) error
type XrayScanBody ¶
type XrayScanParams ¶
func NewXrayScanParams ¶ added in v0.1.3
func NewXrayScanParams() XrayScanParams
func (*XrayScanParams) GetBuildName ¶
func (bp *XrayScanParams) GetBuildName() string
func (*XrayScanParams) GetBuildNumber ¶
func (bp *XrayScanParams) GetBuildNumber() string
type XrayScanService ¶
type XrayScanService struct { ArtDetails auth.ServiceDetails // contains filtered or unexported fields }
func NewXrayScanService ¶
func NewXrayScanService(client *rthttpclient.ArtifactoryHttpClient) *XrayScanService
func (*XrayScanService) ScanBuild ¶
func (ps *XrayScanService) ScanBuild(scanParams XrayScanParams) ([]byte, error)
type YumLocalRepositoryParams ¶ added in v0.9.0
type YumLocalRepositoryParams struct {
LocalRepositoryBaseParams
}
func NewYumLocalRepositoryParams ¶ added in v0.9.0
func NewYumLocalRepositoryParams() YumLocalRepositoryParams
type YumRemoteRepositoryParams ¶ added in v0.9.0
type YumRemoteRepositoryParams struct {
RemoteRepositoryBaseParams
}
func NewYumRemoteRepositoryParams ¶ added in v0.9.0
func NewYumRemoteRepositoryParams() YumRemoteRepositoryParams
type YumVirtualRepositoryParams ¶ added in v0.9.0
type YumVirtualRepositoryParams struct {
VirtualRepositoryBaseParams
}
func NewYumVirtualRepositoryParams ¶ added in v0.9.0
func NewYumVirtualRepositoryParams() YumVirtualRepositoryParams
Source Files ¶
- aql.go
- buildinfo.go
- createreplication.go
- delete.go
- deleteReplication.go
- deleterepository.go
- discardBuilds.go
- distribute.go
- dockerpromote.go
- download.go
- getreplication.go
- getrepository.go
- gitlfsclean.go
- localrepository.go
- movecopy.go
- permissiontarget.go
- ping.go
- promote.go
- props.go
- readfile.go
- remoterepository.go
- search.go
- security.go
- system.go
- updatereplication.go
- upload.go
- virtualrepository.go
- xrayscan.go
Click to show internal directories.
Click to hide internal directories.