Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + const CgroupDriverCgroupfs + const CgroupDriverSystemd + const DefaultErrorExitCode + const PreFlightExitCode + const ValidationExitCode + func BuildArgumentListFromMap(baseArguments map[string]string, overrideArguments map[string]string) []string + func CheckErr(err error) + func Chroot(rootfs string) error + func CopyDir(src string, dst string) error + func FormatErrMsg(errs []error) string + func GetCgroupDriverDocker(execer utilsexec.Interface) (string, error) + func GetControlPlaneEndpoint(controlPlaneEndpoint string, localEndpoint *kubeadmapi.APIEndpoint) (string, error) + func GetHostname(hostnameOverride string) (string, error) + func GroupVersionKindsFromBytes(b []byte) ([]schema.GroupVersionKind, error) + func GroupVersionKindsHasClusterConfiguration(gvks ...schema.GroupVersionKind) bool + func GroupVersionKindsHasInitConfiguration(gvks ...schema.GroupVersionKind) bool + func GroupVersionKindsHasJoinConfiguration(gvks ...schema.GroupVersionKind) bool + func GroupVersionKindsHasKind(gvks []schema.GroupVersionKind, kind string) bool + func KubernetesIsCIVersion(version string) bool + func KubernetesReleaseVersion(version string) (string, error) + func KubernetesVersionToImageTag(version string) string + func MarshalToYaml(obj runtime.Object, gv schema.GroupVersion) ([]byte, error) + func MarshalToYamlForCodecs(obj runtime.Object, gv schema.GroupVersion, codecs serializer.CodecFactory) ([]byte, error) + func ParseArgumentListToMap(arguments []string) map[string]string + func ParseHostPort(hostport string) (string, string, error) + func ParsePort(port string) (int, error) + func ParseTemplate(strtmpl string, obj interface{}) ([]byte, error) + func ReplaceArgument(command []string, argMutateFunc func(map[string]string) map[string]string) []string + func SplitYAMLDocuments(yamlBytes []byte) (map[schema.GroupVersionKind][]byte, error) + func UnmarshalFromYaml(buffer []byte, gv schema.GroupVersion) (runtime.Object, error) + func UnmarshalFromYamlForCodecs(buffer []byte, gv schema.GroupVersion, codecs serializer.CodecFactory) (runtime.Object, error)