version

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: EUPL-1.2 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseImage

func ParseImage(image string) (string, *semver.Version)

func ParseTag

func ParseTag(tag string) (string, *semver.Version)

func ShouldUpgrade

func ShouldUpgrade(o Object) bool

Types

type ImagedObject

type ImagedObject interface {
	GetImage() string
}

type Object

type Object interface {
	ImagedObject
	VersionnedObject
}

type VersionnedObject

type VersionnedObject interface {
	GetVersion() string
	SetVersion(string)
}

Jump to

Keyboard shortcuts

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