Documentation ¶
Index ¶
Constants ¶
View Source
const ( CertificateFileName = "edge-orchestration.crt" KeyFileName = "edge-orchestration.key" )
File names of certificate and private key
Variables ¶
This section is empty.
Functions ¶
func SetCertFilePath ¶
func SetCertFilePath(path string)
SetCertFilePath stores a certificate file path
Types ¶
type CertificateSetter ¶
type CertificateSetter interface {
SetCertificateFilePath(path string)
}
CertificateSetter interface provides setting the certificate file path
type HasCertificate ¶
type HasCertificate struct {
IsSetCert bool
}
HasCertificate indicates presence of the certificate
func (*HasCertificate) GetCertificateFilePath ¶
func (h *HasCertificate) GetCertificateFilePath() string
GetCertificateFilePath gets a certificate via handler
func (*HasCertificate) SetCertificateFilePath ¶
func (h *HasCertificate) SetCertificateFilePath(path string)
SetCertificateFilePath stores a certificate via handler
Click to show internal directories.
Click to hide internal directories.