Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
- type FakeReviewer
- func (f *FakeReviewer) Create(ctx context.Context, req *authv1.TokenReview, co metav1.CreateOptions) (*authv1.TokenReview, error)
- func (f *FakeReviewer) CreateContext(ctx context.Context, req *authv1.TokenReview) (*authv1.TokenReview, error)
- func (f *FakeReviewer) WithCreate(req *authv1.TokenReview, err error) *FakeReviewer
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(ctx context.Context, req *authv1.TokenReview, co metav1.CreateOptions) (*authv1.TokenReview, error)
func (*FakeReviewer) CreateContext ¶
func (f *FakeReviewer) CreateContext(ctx context.Context, 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.