update

package
v0.0.0-...-63585a5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Registry      registry.Client
	GitAuth       transport.AuthMethod
	VersionsCache map[string][]*semver.Version
}

func (*Client) Update

func (c *Client) Update(s source.Source, current *semver.Version, constraints *semver.Constraints, useUrl bool) (*Update, error)

func (*Client) Versions

func (c *Client) Versions(s source.Source) ([]*semver.Version, error)

type Update

type Update struct {
	LatestMatchingVersion string
	LatestOverallVersion  string
	LatestMatchingUpdate  string
	LatestOverallUpdate   string
}

Jump to

Keyboard shortcuts

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