versioning

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: ISC Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCompatibleWithCurrentVersion

func IsCompatibleWithCurrentVersion(resourceType resources.Type, with Version) bool

func Register

func Register(resourceType resources.Type, version Version)

Types

type Version

type Version uint32

func FromString

func FromString(s string) Version

func GetCurrentVersion

func GetCurrentVersion(Type resources.Type) Version

func NewVersion

func NewVersion(major, minor, patch uint32) Version

func (Version) Major

func (v Version) Major() uint32

func (Version) Minor

func (v Version) Minor() uint32

func (Version) Patch

func (v Version) Patch() uint32

func (Version) String

func (v Version) String() string

Jump to

Keyboard shortcuts

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