Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByDeprecationFunc ¶
func ByDeprecationFunc(deprecation declcfg.Deprecation) func(a, b declcfg.Bundle) int
func ByVersionAndRelease ¶ added in v1.8.0
ByVersionAndRelease is a comparison function that compares bundles by version and release. Bundles with lower versions/releases are considered less than bundles with higher versions/releases.
func NewVersionRange ¶ added in v1.8.0
NewVersionRange returns a function that tests whether a semver version is in the provided versionRange. The versionRange provided to this function can be any valid semver version string or any range constraint.
When the provided version range is a valid semver version then the returned function will match any version that matches the semver version, ignoring the build metadata of matched versions.
This function is intended to be used to parse the ClusterExtension.spec.source.catalog.version field. See the API documentation for more details on the supported syntax.
Types ¶
This section is empty.