artifactory

package
v1.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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, relatedProjectKey string) (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, relatedProjectKey string) (uploaded []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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL