Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Logger log.ZapLogger
)
Functions ¶
func LoadCertificates ¶
func LoadCertificates(config *install.ProxyConfig) (certFile string, certKey string, err error)
func LoadTLSServerConfig ¶
func LoadTLSServerConfig(config *install.ProxyConfig) (*tls.Config, error)
Types ¶
type CertProvider ¶
type CertProvider interface {
LoadCertificates(config *install.ProxyConfig) (certFile string, certKey string, err error)
}
type MkCert ¶
type MkCert struct {
// contains filtered or unexported fields
}
MkCert provides tooling for generating auto-certified certificate
func (*MkCert) GeneratedResources ¶
GeneratedResources returns all files generated during certificate creation
type MkCertCache ¶
type MkCertCache struct {
// contains filtered or unexported fields
}
func GetMkCertCache ¶
func GetMkCertCache() *MkCertCache
func (*MkCertCache) LoadCertificates ¶
func (m *MkCertCache) LoadCertificates(config *install.ProxyConfig) (certFile string, keyFile string, err error)
func (*MkCertCache) Uuid ¶
func (m *MkCertCache) Uuid(hosts []string) string
Click to show internal directories.
Click to hide internal directories.