Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NebulaCertificate ¶
type NebulaCertificate struct {
Certinfo NebulaCertificateInfo
Crt string
Key string
}
type NebulaCertificateInfo ¶
type NebulaCertificateInfo struct {
Details struct {
Groups []string `json:"groups"`
Ips []string `json:"ips"`
Isca bool `json:"isCa"`
Issuer string `json:"issuer"`
Name string `json:"name"`
Notafter time.Time `json:"notAfter"`
Notbefore time.Time `json:"notBefore"`
Publickey string `json:"publicKey"`
Subnets []interface{} `json:"subnets"`
} `json:"details"`
Fingerprint string `json:"fingerprint"`
Signature string `json:"signature"`
}
func GetCACert ¶
func GetCACert() (NebulaCertificateInfo, string, error)
Click to show internal directories.
Click to hide internal directories.