Documentation ¶
Overview ¶
Package compatibility provides some a way to enable/disable features based on Kubernetes version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version semver.Version
Version is the Kubernetes version to have running.
func VersionFromImageRef ¶
VersionFromImageRef parses container image ref to return just Kubernetes version.
If the version can't be parsed, assume latest version.
func (Version) FeatureFlagSeccompDefaultEnabledByDefault ¶
FeatureFlagSeccompDefaultEnabledByDefault returns true if a SeccompDefault feature flag is enabled by default.
func (Version) KubeSchedulerConfigurationAPIVersion ¶ added in v0.2.8
KubeSchedulerConfigurationAPIVersion returns the API version of the kube-scheduler configuration.
func (Version) SupportsKubeletConfigContainerRuntimeEndpoint ¶
SupportsKubeletConfigContainerRuntimeEndpoint returns true if kubelet supports ContainerRuntimEndpoint in kubelet config.
Click to show internal directories.
Click to hide internal directories.