Documentation
¶
Index ¶
- func CreateGenericLocalRepository(repoKey string, serverDetails *config.ServerDetails, xrayIndex bool) (err error)
- func IsRepoExists(repoKey string, serverDetails *config.ServerDetails) (exists bool, err error)
- func SearchArtifactsInRepo(serverDetails *config.ServerDetails, pattern, repo string) ([]artifactoryUtils.SearchResult, error)
- func UploadArtifactsByPattern(pattern string, serverDetails *config.ServerDetails, repo string) (err error)
- type ArtifactoryDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGenericLocalRepository ¶ added in v1.20.0
func CreateGenericLocalRepository(repoKey string, serverDetails *config.ServerDetails, xrayIndex bool) (err error)
func IsRepoExists ¶ added in v1.20.0
func IsRepoExists(repoKey string, serverDetails *config.ServerDetails) (exists bool, err error)
func SearchArtifactsInRepo ¶ added in v1.20.0
func SearchArtifactsInRepo(serverDetails *config.ServerDetails, pattern, repo string) ([]artifactoryUtils.SearchResult, error)
func UploadArtifactsByPattern ¶ added in v1.20.0
func UploadArtifactsByPattern(pattern string, serverDetails *config.ServerDetails, repo string) (err error)
Types ¶
type ArtifactoryDetails ¶
type ArtifactoryDetails struct {
ServerDetails *config.ServerDetails
TargetRepository string
}
func GetResolutionRepoIfExists ¶
func GetResolutionRepoIfExists(tech techutils.Technology) (details *ArtifactoryDetails, err error)
Searches for a configuration file based on the technology type in the current directory. If found, it extract ArtifactoryDetails from it to used as registry resolution target.
Click to show internal directories.
Click to hide internal directories.