Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestCaCert ¶
func NewTestCaCert(before, after time.Time, ips, subnets []netip.Prefix, groups []string) (*cert.NebulaCertificate, []byte, []byte, []byte)
NewTestCaCert will generate a CA cert
func NewTestCert ¶
func NewTestCert(ca *cert.NebulaCertificate, key []byte, name string, before, after time.Time, ip netip.Prefix, subnets []netip.Prefix, groups []string) (*cert.NebulaCertificate, []byte, []byte, []byte)
NewTestCert will generate a signed certificate with the provided details. Expiry times are defaulted if you do not pass them in
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.