fake

package
v1.2.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFake

func NewFake(msgBroker *messaging.Broker, checkInterval time.Duration) *certificate.Manager

NewFake constructs a fake certificate client using a certificate

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL