Documentation ¶
Overview ¶
Package fake moves fakes to their own sub-package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeCertificate ¶
func NewFakeCertificate() *certificate.Certificate
NewFakeCertificate is a helper creating Certificates for unit tests.
func NewFakeWithValidityDuration ¶
func NewFakeWithValidityDuration(getCertValidityDuration func() time.Duration, msgBroker *messaging.Broker, checkInterval time.Duration) *certificate.Manager
NewFakeWithValidityDuration constructs a fake certificate manager with specified cert validity duration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.