Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactGraph ¶
ArtifactGraph is a map of [artifact image : artifact definition]
func ToArtifactGraph ¶
func ToArtifactGraph(artifacts []*latest.Artifact) ArtifactGraph
ToArtifactGraph creates an instance of `ArtifactGraph` from `[]*latest.Artifact`
func (ArtifactGraph) Dependencies ¶
func (g ArtifactGraph) Dependencies(a *latest.Artifact) []*latest.Artifact
Dependencies returns the de-referenced slice of required artifacts for a given artifact
type TransitiveSourceDependenciesCache ¶
type TransitiveSourceDependenciesCache interface { ResolveForArtifact(ctx context.Context, a *latest.Artifact) ([]string, error) Reset() }
TransitiveSourceDependenciesCache provides an interface to evaluate and cache the source dependencies for artifacts. This additionally includes the source dependencies from all other artifacts that are in the transitive closure of its artifact dependencies.
func NewTransitiveSourceDependenciesCache ¶
func NewTransitiveSourceDependenciesCache(cfg docker.Config, r docker.ArtifactResolver, g ArtifactGraph) TransitiveSourceDependenciesCache
Click to show internal directories.
Click to hide internal directories.