Documentation ¶
Index ¶
- Variables
- func AlternateDNS(domain string) []string
- func CalculateSizeInMB(humanReadableSize string) (int, error)
- func ChownR(path string, uid, gid int) error
- func ConvertBytesToMB(byteSize int64) int
- func ConvertMBToBytes(mbSize int) int64
- func ConvertUnsignedBytesToMB(byteSize uint64) int64
- func DNSIP(serviceCIDR string) (net.IP, error)
- func GenerateCACert(certPath, keyPath string, name string) error
- func GenerateSignedCert(certPath, keyPath, cn string, ips []net.IP, alternateDNS []string, ...) error
- func GetBinaryDownloadURL(version, platform, arch string) string
- func MaskProxyPassword(proxyURL string) string
- func MaskProxyPasswordWithKey(v string) string
- func MaybeChownDirRecursiveToMinikubeUser(dir string) error
- func ParseKubernetesVersion(version string) (semver.Version, error)
- func RemoveDuplicateStrings(initial []string) []string
- func ServiceClusterIP(serviceCIDR string) (net.IP, error)
Constants ¶
This section is empty.
Variables ¶
var DefaultAdmissionControllers = []string{
"NamespaceLifecycle",
"LimitRanger",
"ServiceAccount",
"DefaultStorageClass",
"DefaultTolerationSeconds",
"NodeRestriction",
"MutatingAdmissionWebhook",
"ValidatingAdmissionWebhook",
"ResourceQuota",
}
DefaultAdmissionControllers are admission controllers we default to
Functions ¶
func AlternateDNS ¶ added in v1.33.0
AlternateDNS returns a list of alternate names for a domain
func CalculateSizeInMB ¶ added in v1.3.0
CalculateSizeInMB returns the number of MB in the human readable string
func ConvertBytesToMB ¶ added in v1.14.0
ConvertBytesToMB converts bytes to MB
func ConvertMBToBytes ¶ added in v1.14.0
ConvertMBToBytes converts MB to bytes
func ConvertUnsignedBytesToMB ¶ added in v1.14.0
ConvertUnsignedBytesToMB converts bytes to MB
func GenerateCACert ¶ added in v0.6.0
GenerateCACert generates a CA certificate and RSA key for a common name
func GenerateSignedCert ¶ added in v0.6.0
func GenerateSignedCert(certPath, keyPath, cn string, ips []net.IP, alternateDNS []string, signerCertPath, signerKeyPath string, expiration time.Duration) error
GenerateSignedCert generates a signed certificate and key
func GetBinaryDownloadURL ¶ added in v0.26.0
GetBinaryDownloadURL returns a suitable URL for the platform and arch
func MaskProxyPassword ¶ added in v1.33.0
MaskProxyPassword masks the password in a proxy URL
func MaskProxyPasswordWithKey ¶ added in v1.33.0
MaskProxyPasswordWithKey masks the password in a proxy URL specified by a key-value pair
func MaybeChownDirRecursiveToMinikubeUser ¶ added in v0.21.0
MaybeChownDirRecursiveToMinikubeUser changes ownership of a dir, if requested
func ParseKubernetesVersion ¶ added in v1.8.2
ParseKubernetesVersion parses the Kubernetes version
func RemoveDuplicateStrings ¶ added in v1.27.0
RemoveDuplicateStrings takes a string slice and returns a slice without duplicates
Types ¶
This section is empty.