testing

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const FakeRotatorName = "fake-rotator"

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRotator

type FakeRotator struct {
	// contains filtered or unexported fields
}

func NewFakeRotator

func NewFakeRotator() *FakeRotator

func (*FakeRotator) AddListener

func (*FakeRotator) Certificate

func (f *FakeRotator) Certificate() *tls.Certificate

func (*FakeRotator) Check

func (f *FakeRotator) Check(_ *http.Request) error

func (*FakeRotator) EnqueueAll

func (f *FakeRotator) EnqueueAll()

func (*FakeRotator) Init

func (f *FakeRotator) Init(ctx context.Context, force bool) error

func (*FakeRotator) Listeners

func (f *FakeRotator) Listeners() []certificate.RotatorListener

func (*FakeRotator) Name

func (f *FakeRotator) Name() string

func (*FakeRotator) RemoveListener

func (f *FakeRotator) RemoveListener(reg certificate.RotatorListenerRegistration)

func (*FakeRotator) SetCertificate

func (f *FakeRotator) SetCertificate(cert *tls.Certificate)

func (*FakeRotator) Start

func (f *FakeRotator) Start(ctx context.Context) error

func (*FakeRotator) Started

func (f *FakeRotator) Started() bool

type FakeRotatorListenerHandle

type FakeRotatorListenerHandle struct {
	certificate.RotatorListener
}

Jump to

Keyboard shortcuts

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