Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCA ¶
type FakeCA struct { SignedCert []byte SignErr error KeyCertBundle util.KeyCertBundle }
FakeCA is a mock of CertificateAuthority.
func (*FakeCA) GetCAKeyCertBundle ¶
func (ca *FakeCA) GetCAKeyCertBundle() util.KeyCertBundle
GetCAKeyCertBundle returns KeyCertBundle if KeyCertBundle is not nil, otherwise, it returns an empty FakeKeyCertBundle.
Click to show internal directories.
Click to hide internal directories.