artifactory

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 13 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) (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.

Jump to

Keyboard shortcuts

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