fake

package
v1.1.4-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package fake moves fakes to their own sub-package

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