Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeManager ¶
type FakeManager struct {
// contains filtered or unexported fields
}
FakeManager is a testing manager designed to mock managers with a determined response.
func NewFakeManager ¶
func NewFakeManager() *FakeManager
func (*FakeManager) Review ¶
func (f *FakeManager) Review(ctx context.Context, cr *cmapi.CertificateRequest) (manager.ReviewResponse, error)
func (*FakeManager) WithReview ¶
func (f *FakeManager) WithReview(fn func(context.Context, *cmapi.CertificateRequest) (manager.ReviewResponse, error)) *FakeManager
Click to show internal directories.
Click to hide internal directories.