version

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateHashIndex

func CalculateHashIndex(imageURL string, opts *api.Options) (string, error)

CalculateHashIndex returns a hash index given an imageURL and options.

Types

type VersionGetter

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

func New

func New(log *logrus.Entry, client *client.Client, cacheTimeout time.Duration) *VersionGetter

func (*VersionGetter) LatestTagFromImage

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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