package
1.5.0-alpha.0
Repository: https://github.com/squeed/kubernetes.git
Documentation: pkg.go.dev

# Functions

CertPoolFromFile returns an x509.CertPool containing the certificates in the given PEM-encoded file.
CertsFromPEM returns the x509.Certificates contained in the given PEM-encoded byte array Returns an error if a certificate could not be parsed, or if the data does not contain any certificates.
FoundCertOrKey returns true if the certificate or key files already exists, otherwise returns false.
GenerateSelfSignedCert creates a self-signed certificate and key for the given host.
WriteCertToPath writes the pem-encoded certificate data to certPath.
WriteKeyToPath writes the pem-encoded key data to keyPath.