package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Functions

InitFeatureGates must be called in test suites that have a --feature-gates parameter.
IsFeatureGateEnabled can be used during e2e tests to figure out if a certain feature gate is enabled.
Skipf skips with information about why the test is being skipped.
SkipIfAppArmorNotSupported skips if the AppArmor is not supported by the node OS distro.
SkipIfIPv6 skips if the cluster IP family is IPv6 and the provider is included in the unsupportedProviders.
SkipIfMultizone skips if the cluster has multizone.
SkipIfNodeOSDistroIs skips if the node OS distro is included in the unsupportedNodeOsDistros.
SkipIfProviderIs skips if the provider is included in the unsupportedProviders.
SkipUnlessAtLeast skips if the value is less than the minValue.
SkipUnlessAtLeastNZones skips if the cluster does not have n multizones.
SkipUnlessComponentRunsAsPodsAndClientCanDeleteThem run if the component run as pods and client can delete them.
SkipUnlessFeatureGateEnabled skips if the feature is disabled.
SkipUnlessMasterOSDistroIs skips if the master OS distro is not included in the supportedMasterOsDistros.
SkipUnlessMultizone skips if the cluster does not have multizone.
SkipUnlessNodeCountIsAtLeast skips if the number of nodes is less than the minNodeCount.
SkipUnlessNodeCountIsAtMost skips if the number of nodes is greater than the maxNodeCount.
SkipUnlessNodeOSArchIs skips if the node OS distro is not included in the supportedNodeOsArchs.
SkipUnlessNodeOSDistroIs skips if the node OS distro is not included in the supportedNodeOsDistros.
SkipUnlessProviderIs skips if the provider is not included in the supportedProviders.
SkipUnlessServerVersionGTE skips if the server version is less than v.
SkipUnlessSSHKeyPresent skips if no SSH key is found.

# Variables

AppArmorDistros are distros with AppArmor support.
Skip is an alias for ginkgo.Skip.