Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultServerHosts ¶
DefaultServerHosts returns the hosts covered by the generated local certificate.
func EnsureSelfSignedCertificate ¶
EnsureSelfSignedCertificate creates or reuses a local self-signed server certificate. It returns true when a new certificate/key pair was written.
func LocalServerTLSConfig ¶
LocalServerTLSConfig returns the TLS settings for the embedded local API server.
Types ¶
type CertificatePaths ¶
func DefaultCertificatePaths ¶
func DefaultCertificatePaths(appName string) (CertificatePaths, error)
DefaultCertificatePaths returns the per-user auto-generated TLS certificate paths.
Click to show internal directories.
Click to hide internal directories.