version_compat_tree

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entries

type Entries []IEntry

type ICompatQueryAnchor

type ICompatQueryAnchor interface {
	Version() *semver.SemVer
}

type ICompatQueryResult

type ICompatQueryResult interface {
	LatestVersion() IEntry
	CanUpdateVersion() IEntry
}

type IEntry

type IEntry interface {
	CompatVersion() *semver.SemVer
	Version() *semver.SemVer
}

type ITree

type ITree interface {
	Publish(entries ...IEntry)
	StrictCompat(anchor ICompatQueryAnchor) ICompatQueryResult
}

func NewVersionCompatTree

func NewVersionCompatTree() ITree

Jump to

Keyboard shortcuts

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