package version
import "github.com/docker/docker/pkg/version"
Index ¶
Types ¶
type Version ¶
type Version string
Version provides utility methods for comparing versions.
func (Version) Equal ¶
Equal checks if a version is equal to another
func (Version) GreaterThan ¶
GreaterThan checks if a version is greater than another
func (Version) GreaterThanOrEqualTo ¶
GreaterThanOrEqualTo checks if a version is greater than or equal to another
func (Version) LessThan ¶
LessThan checks if a version is less than another
func (Version) LessThanOrEqualTo ¶
LessThanOrEqualTo checks if a version is less than or equal to another
func (Version) String ¶
String returns the version string
Source Files ¶
- Version
- v1.10.2-rc1
- Published
- Feb 20, 2016
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 4 minutes ago –
Tools for package owners.