evidence

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	commands.Command
}

type PackageService

type PackageService interface {
	// GetPackageType retrieves the package type for the given package
	GetPackageType(artifactoryClient artifactory.ArtifactoryServicesManager) (string, error)

	// GetPackageVersionLeadArtifact retrieves the lead artifact path for a package version
	// with fallback logic from Artifactory to Metadata service
	GetPackageVersionLeadArtifact(packageType string, metadataClient metadata.Manager, artifactoryClient artifactory.ArtifactoryServicesManager) (string, error)

	// GetPackageName returns the package name
	GetPackageName() string

	// GetPackageVersion returns the package version
	GetPackageVersion() string

	// GetPackageRepoName returns the package repository name
	GetPackageRepoName() string
}

PackageService defines the interface for package-related operations

func NewPackageService

func NewPackageService(name, version, repoName string) PackageService

NewPackageService creates a new PackageService instance This factory function allows for easy creation and potential future extension

Jump to

Keyboard shortcuts

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