Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityConfig ¶
type IdentityConfig struct { CertPath string `help:"path to the certificate chain for this identity" default:"" user:"true" path:"true"` KeyPath string `help:"path to the private key for this identity" default:"" user:"true" path:"true"` }
IdentityConfig is an intentional copy of identity.Config that has empty defaults.
func (*IdentityConfig) LoadPEMs ¶
func (c *IdentityConfig) LoadPEMs() (certPEM, keyPEM []byte, err error)
LoadPEMs loads files and returns their byte strings if set. A possible return value of this function is nil, nil, nil.
Click to show internal directories.
Click to hide internal directories.