Documentation ¶
Index ¶
- type FakeRegistry
- func (f *FakeRegistry) AddClient(client *http.Client, uid string, config cmacme.ACMEIssuer, ...)
- func (f *FakeRegistry) GetClient(uid string) (acmecl.Interface, error)
- func (f *FakeRegistry) IsKeyCheckSumCached(lastPrivateKeyHash string, privateKey *rsa.PrivateKey) bool
- func (f *FakeRegistry) ListClients() map[string]acmecl.Interface
- func (f *FakeRegistry) RemoveClient(uid string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRegistry ¶
type FakeRegistry struct { AddClientFunc func(uid string, config cmacme.ACMEIssuer, privateKey *rsa.PrivateKey, userAgent string) RemoveClientFunc func(uid string) GetClientFunc func(uid string) (acmecl.Interface, error) ListClientsFunc func() map[string]acmecl.Interface IsKeyCheckSumCachedFunc func(lastPrivateKeyHash string, privateKey *rsa.PrivateKey) bool }
FakeRegistry implements the accounts.Registry interface using stub functions
func (*FakeRegistry) AddClient ¶
func (f *FakeRegistry) AddClient(client *http.Client, uid string, config cmacme.ACMEIssuer, privateKey *rsa.PrivateKey, userAgent string)
func (*FakeRegistry) GetClient ¶
func (f *FakeRegistry) GetClient(uid string) (acmecl.Interface, error)
func (*FakeRegistry) IsKeyCheckSumCached ¶ added in v1.12.0
func (f *FakeRegistry) IsKeyCheckSumCached(lastPrivateKeyHash string, privateKey *rsa.PrivateKey) bool
func (*FakeRegistry) ListClients ¶
func (f *FakeRegistry) ListClients() map[string]acmecl.Interface
func (*FakeRegistry) RemoveClient ¶
func (f *FakeRegistry) RemoveClient(uid string)
Click to show internal directories.
Click to hide internal directories.