container

package
v0.0.0-...-d93204c Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreparePackage

func PreparePackage(
	ctx context.Context,
	cfg *viper.Viper,
	hc hub.HTTPClient,
	is img.Store,
	sc hub.OCISignatureChecker,
	r *hub.Repository,
	tag string,
) (*hub.Package, error)

PreparePackage prepares a package version from the metadata available in the container image identified by the tag provided.

Types

type TrackerSource

type TrackerSource struct {
	// contains filtered or unexported fields
}

TrackerSource is a hub.TrackerSource implementation for containers images repositories.

func NewTrackerSource

func NewTrackerSource(i *hub.TrackerSourceInput) *TrackerSource

NewTrackerSource creates a new TrackerSource instance.

func (*TrackerSource) GetPackagesAvailable

func (s *TrackerSource) GetPackagesAvailable() (map[string]*hub.Package, error)

GetPackagesAvailable implements the TrackerSource interface.

Jump to

Keyboard shortcuts

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