Documentation ¶
Index ¶
- Constants
- func GetAllowedCNIPluginVersions(cniPluginType kubermaticv1.CNIPluginType) (sets.String, error)
- func GetDefaultCNIPluginVersion(cniPluginType kubermaticv1.CNIPluginType) string
- func GetSupportedCNIPluginVersions(cniPluginType kubermaticv1.CNIPluginType) (sets.String, error)
- func GetSupportedCNIPlugins() sets.String
- func IsSupportedCNIPluginTypeAndVersion(cni *kubermaticv1.CNIPluginSettings) bool
Constants ¶
const CanalCNILastUnspecifiedVersion = "v3.8"
CanalCNILastUnspecifiedVersion is the last Canal CNI version applied in KKP user-clusters started in KKP before v2.18 release. If cluster.spec.cniPlugin is not set, it means Canal of this version.
Variables ¶
This section is empty.
Functions ¶
func GetAllowedCNIPluginVersions ¶
func GetAllowedCNIPluginVersions(cniPluginType kubermaticv1.CNIPluginType) (sets.String, error)
GetAllowedCNIPluginVersions returns all allowed CNI versions for a CNI type (supported + deprecated).
func GetDefaultCNIPluginVersion ¶
func GetDefaultCNIPluginVersion(cniPluginType kubermaticv1.CNIPluginType) string
GetDefaultCNIPluginVersion returns the default CNI versions for a CNI type, empty string if no default version set.
func GetSupportedCNIPluginVersions ¶
func GetSupportedCNIPluginVersions(cniPluginType kubermaticv1.CNIPluginType) (sets.String, error)
GetSupportedCNIPluginVersions returns currently supported CNI versions for a CNI type.
func GetSupportedCNIPlugins ¶
GetSupportedCNIPlugins returns currently supported CNI Plugin types.
func IsSupportedCNIPluginTypeAndVersion ¶
func IsSupportedCNIPluginTypeAndVersion(cni *kubermaticv1.CNIPluginSettings) bool
IsSupportedCNIPluginTypeAndVersion returns true if the given CNI plugin is of supported type and version.
Types ¶
This section is empty.