Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultLocalkubeDirectory = "/var/lib/localkube" DefaultCertPath = DefaultLocalkubeDirectory + "/certs/" DefaultServiceClusterIP = "10.0.0.1" DefaultDNSDomain = "cluster.local" DefaultDNSIP = "10.0.0.10" )
These constants are used by both minikube and localkube
Variables ¶
This section is empty.
Functions ¶
func CanReadFile ¶
If the file represented by path exists and readable, return true otherwise return false.
func GenerateSelfSignedCert ¶
You may also specify additional subject alt names (either ip or dns names) for the certificate The certificate will be created with file mode 0644. The key will be created with file mode 0600. If the certificate or key files already exist, they will be overwritten. Any parent directories of the certPath or keyPath will be created as needed with file mode 0755.
func GetAlternateDNS ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.