package versions

import "github.com/docker/docker/api/types/versions"

Index

Functions

func Equal

func Equal(v, other string) bool

Equal checks if a version is equal to another

func GreaterThan

func GreaterThan(v, other string) bool

GreaterThan checks if a version is greater than another

func GreaterThanOrEqualTo

func GreaterThanOrEqualTo(v, other string) bool

GreaterThanOrEqualTo checks if a version is greater than or equal to another

func LessThan

func LessThan(v, other string) bool

LessThan checks if a version is less than another

func LessThanOrEqualTo

func LessThanOrEqualTo(v, other string) bool

LessThanOrEqualTo checks if a version is less than or equal to another

Source Files

compare.go

Version
v28.1.1+incompatible (latest)
Published
Apr 18, 2025
Platform
js/wasm
Imports
2 packages
Last checked
4 hours ago

Tools for package owners.