Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertManager ¶
type CertManager struct {
// contains filtered or unexported fields
}
CertManager holds certificates from filesystem watched for changes
func (*CertManager) GetTLSConfig ¶
func (c *CertManager) GetTLSConfig() *tls.Config
GetTLSConfig returns tls configuration for clients
type Config ¶
type Config struct { CAPool interface{} `yaml:"caPool" json:"caPool" description:"file path to the root certificates in PEM format"` KeyFile urischeme.URIScheme `yaml:"keyFile" json:"keyFile" description:"file name of private key in PEM format"` CertFile urischeme.URIScheme `yaml:"certFile" json:"certFile" description:"file name of certificate in PEM format"` UseSystemCAPool bool `yaml:"useSystemCAPool" json:"useSystemCaPool" description:"use system certification pool"` // contains filtered or unexported fields }
Config provides configuration of a file based Server Certificate manager. CAPool can be a string or an array of strings.
func (*Config) CAPoolArray ¶ added in v2.6.1
func (*Config) CAPoolFilePathArray ¶ added in v2.13.0
Click to show internal directories.
Click to hide internal directories.