Documentation
¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeReviewer ¶
type FakeReviewer struct {
CreateFn func(*authv1.TokenReview) (*authv1.TokenReview, error)
}
func New ¶
func New() *FakeReviewer
func (*FakeReviewer) Create ¶
func (f *FakeReviewer) Create(req *authv1.TokenReview) (*authv1.TokenReview, error)
func (*FakeReviewer) WithCreate ¶
func (f *FakeReviewer) WithCreate(req *authv1.TokenReview, err error) *FakeReviewer
Click to show internal directories.
Click to hide internal directories.