Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDeprecated ¶
IsDeprecated returns true if obj implements APILifecycleDeprecated() and returns a major/minor version that is non-zero and is <= the specified current major/minor version.
func MajorMinor ¶
MajorMinor parses a numeric major/minor version from the provided version info. The minor version drops all characters after the first non-digit character:
version.Info{Major:"1", Minor:"2+"} -> 1,2 version.Info{Major:"1", Minor:"2.3-build4"} -> 1,2
func RemovedRelease ¶
RemovedRelease returns the major/minor version in which the given object is unavailable (in the form "<major>.<minor>") if the object implements APILifecycleRemoved() to indicate a non-zero removal version, and returns an empty string otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.