MCPcopy
hub / github.com/harness/harness / PackageArtifactInfo

Interface PackageArtifactInfo

registry/app/pkg/artifact_info.go:24–31  ·  view source on GitHub ↗

PackageArtifactInfo is an interface that must be implemented by all package-specific artifact info types. It ensures that all package artifact infos can be converted to the base ArtifactInfo type.

Source from the content-addressed store, hash-verified

22// artifact info types. It ensures that all package artifact infos can be converted to
23// the base ArtifactInfo type.
24type PackageArtifactInfo interface {
25 BaseArtifactInfo() ArtifactInfo
26 GetImageVersion() (bool, string)
27
28 GetVersion() string
29
30 GetFileName() string
31}
32
33// ArtifactInfoProvider is an interface that must be implemented by package handlers
34// to provide artifact information from HTTP requests.

Callers 16

GetPackageMetadataMethod · 0.65
SearchPackageMethod · 0.65
proxyInternalFunction · 0.65
filterRegsFunction · 0.65
CheckIfVersionExistsMethod · 0.65
DeletePackageMethod · 0.65
DeleteVersionMethod · 0.65
filterRegsFunction · 0.65
putFileToLocalMethod · 0.65
CheckIfVersionExistsMethod · 0.65
DeleteVersionMethod · 0.65

Implementers 9

GenericArtifactInforegistry/app/pkg/context.go
ArtifactInforegistry/app/pkg/types/npm/types.go
ArtifactInforegistry/app/pkg/types/python/types.go
ArtifactInforegistry/app/pkg/types/rpm/types.go
ArtifactInforegistry/app/pkg/types/cargo/types.go
ArtifactInforegistry/app/pkg/types/gopackage/types
ArtifactInforegistry/app/pkg/types/huggingface/typ
ArtifactInforegistry/app/pkg/types/commons/types.g
ArtifactInforegistry/app/pkg/types/nuget/types.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…