Documentation ¶
Index ¶
- Constants
- type FakeRotator
- func (f *FakeRotator) AddListener(listener certificate.RotatorListener) certificate.RotatorListenerRegistration
- func (f *FakeRotator) Certificate() *tls.Certificate
- func (f *FakeRotator) Check(_ *http.Request) error
- func (f *FakeRotator) EnqueueAll()
- func (f *FakeRotator) Init(ctx context.Context, force bool) error
- func (f *FakeRotator) Listeners() []certificate.RotatorListener
- func (f *FakeRotator) Name() string
- func (f *FakeRotator) RemoveListener(reg certificate.RotatorListenerRegistration)
- func (f *FakeRotator) SetCertificate(cert *tls.Certificate)
- func (f *FakeRotator) Start(ctx context.Context) error
- func (f *FakeRotator) Started() bool
- type FakeRotatorListenerHandle
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 (f *FakeRotator) AddListener(listener certificate.RotatorListener) certificate.RotatorListenerRegistration
func (*FakeRotator) Certificate ¶
func (f *FakeRotator) Certificate() *tls.Certificate
func (*FakeRotator) EnqueueAll ¶
func (f *FakeRotator) EnqueueAll()
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) Started ¶
func (f *FakeRotator) Started() bool
type FakeRotatorListenerHandle ¶
type FakeRotatorListenerHandle struct {
certificate.RotatorListener
}
Click to show internal directories.
Click to hide internal directories.