version

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version added in v0.2.0

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

func New

func New(log *logrus.Entry, client client.ClientHandler, cacheTimeout time.Duration) *Version

func (*Version) Fetch added in v0.2.0

func (v *Version) Fetch(ctx context.Context, imageURL string, _ *api.Options) (interface{}, error)

Fetch returns the given image tags for a given image URL.

func (*Version) LatestTagFromImage added in v0.2.0

func (v *Version) LatestTagFromImage(ctx context.Context, imageURL string, opts *api.Options) (*api.ImageTag, error)

LatestTagFromImage will return the latest tag given an imageURL, according to the given options.

func (*Version) ResolveSHAToTag added in v0.9.1

func (v *Version) ResolveSHAToTag(ctx context.Context, imageURL string, imageSHA string) (string, error)

ResolveSHAToTag Resolve a SHA to a tag if possible

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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