Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAPISupported ¶
IsAPISupported returns true if the given API is supported for the given Kubernetes version. An API is only supported if it's a known API and its version range contains the given Kubernetes version.
Types ¶
type APIVersionRange ¶
type APIVersionRange struct { Required bool RequiredForWorkerless bool versionutils.VersionRange }
APIVersionRange represents a version range of type [AddedInVersion, RemovedInVersion). Required defines whether this APIVersion is required for a Shoot with workers. RequiredForWorkerless defines whether this APIVersion is required for Workerless Shoots. If an API is required for both Shoot types, then both booleans need to be set to true.
func (*APIVersionRange) SupportedVersionRange ¶
func (r *APIVersionRange) SupportedVersionRange() string
SupportedVersionRange returns the supported version range for the given API.
Click to show internal directories.
Click to hide internal directories.