// Check number of memory required by kubeadm func (mc MemCheck) Check() (warnings, errorList []error) { … } // addOSValidator adds a new OSValidator func addOSValidator(validators []system.Validator, reporter *system.StreamReporter) []system.Validator { … } // addIPv6Checks adds IPv6 related checks func addIPv6Checks(checks []Checker) []Checker { … } // addIPv4Checks adds IPv4 related checks func addIPv4Checks(checks []Checker) []Checker { … } // addSwapCheck adds a swap check func addSwapCheck(checks []Checker) []Checker { … } // addExecChecks adds checks that verify if certain binaries are in PATH func addExecChecks(checks []Checker, execer utilsexec.Interface, k8sVersion string) []Checker { … }