version

package
v0.0.0-...-3a64406 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source interface {
	Versions() ([]*semver.Version, error)
}

Source is an object that returns a list of unordered versions. Typical implementations would be a git repository, or simply a hardcoded string.

type Static

type Static string

Static is a fixed tag that returns itself as the only tag with semver tag and empty hash.

func (Static) Versions

func (ss Static) Versions() ([]*semver.Version, error)

Versions attempts to parse the underlying string as a semver and returns it.

Jump to

Keyboard shortcuts

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