Documentation ¶
Index ¶
- func DeleteCertificates(certDir *paths.Path)
- func GenerateAndInstallCertificates(certDir *paths.Path)
- func GenerateCertificates(certsDir *paths.Path)
- func GetDefaultBrowserName() string
- func GetExpirationDate() (string, error)
- func InstallCertificate(cert *paths.Path) error
- func MigrateCertificatesGeneratedWithOldAgentVersions(certsDir *paths.Path)
- func PromptExpiredCerts(certDir *paths.Path)
- func PromptInstallCertsSafari() bool
- func UninstallCertificates() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCertificates ¶
func DeleteCertificates(certDir *paths.Path)
DeleteCertificates will delete the certificates
func GenerateAndInstallCertificates ¶
func GenerateAndInstallCertificates(certDir *paths.Path)
GenerateAndInstallCertificates generates and installs the certificates
func GenerateCertificates ¶
func GenerateCertificates(certsDir *paths.Path)
GenerateCertificates will generate the required certificates useful for a HTTPS connection on localhost
func GetDefaultBrowserName ¶
func GetDefaultBrowserName() string
GetDefaultBrowserName won't do anything on unsupported Operative Systems
func GetExpirationDate ¶
GetExpirationDate won't do anything on unsupported Operative Systems
func InstallCertificate ¶
func InstallCertificate(cert *paths.Path) error
InstallCertificate won't do anything on unsupported Operative Systems
func MigrateCertificatesGeneratedWithOldAgentVersions ¶
func MigrateCertificatesGeneratedWithOldAgentVersions(certsDir *paths.Path)
MigrateCertificatesGeneratedWithOldAgentVersions checks if certificates generated with an old version of the Agent needs to be migrated to the current certificates directory, and performs the migration if needed.
func PromptExpiredCerts ¶
func PromptExpiredCerts(certDir *paths.Path)
PromptExpiredCerts prompts the user to update the HTTPS certificates if they are using Safari
func PromptInstallCertsSafari ¶
func PromptInstallCertsSafari() bool
PromptInstallCertsSafari prompts the user to install the HTTPS certificates if they are using Safari
func UninstallCertificates ¶
func UninstallCertificates() error
UninstallCertificates won't do anything on unsupported Operative Systems
Types ¶
This section is empty.