Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateCaPems ¶ added in v0.19.110
CalculateCaPems takes the supplied caPems buffer as a set of PEM Certificates separated by new lines. Duplicate certificates are removed and the result is returned as a bytes.Buffer of PEM Certificates separated by new lines.
Types ¶
type Config ¶
type Config struct {
Enabled bool
Api Api
Enrollment Enrollment
// contains filtered or unexported fields
}
func LoadFromMap ¶
func (*Config) AddCaPems ¶ added in v0.19.110
AddCaPems adds a byte array of certificates to the current buffered list of CAs. The certificates should be in PEM format separated by new lines. RefreshCaPems should be called after all calls to AddCaPems are completed.
func (*Config) RefreshCaPems ¶ added in v0.19.110
func (c *Config) RefreshCaPems()
func (*Config) SessionTimeoutDuration ¶
type Enrollment ¶
type Enrollment struct {
SigningCert identity.Identity
SigningCertConfig identity.Config
SigningCertCaPem []byte
EdgeIdentity EnrollmentOption
EdgeRouter EnrollmentOption
}
type EnrollmentOption ¶
Click to show internal directories.
Click to hide internal directories.