Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthorizationV1beta1
- func (c *FakeAuthorizationV1beta1) LocalSubjectAccessReviews(namespace string) v1beta1.LocalSubjectAccessReviewInterface
- func (c *FakeAuthorizationV1beta1) RESTClient() rest.Interface
- func (c *FakeAuthorizationV1beta1) SelfSubjectAccessReviews() v1beta1.SelfSubjectAccessReviewInterface
- func (c *FakeAuthorizationV1beta1) SelfSubjectRulesReviews() v1beta1.SelfSubjectRulesReviewInterface
- func (c *FakeAuthorizationV1beta1) SubjectAccessReviews() v1beta1.SubjectAccessReviewInterface
- type FakeLocalSubjectAccessReviews
- func (c *FakeLocalSubjectAccessReviews) Create(sar *authorizationapi.LocalSubjectAccessReview) (result *authorizationapi.LocalSubjectAccessReview, err error)
- func (c *FakeLocalSubjectAccessReviews) CreateContext(ctx context.Context, sar *authorizationapi.LocalSubjectAccessReview) (result *authorizationapi.LocalSubjectAccessReview, err error)
- type FakeSelfSubjectAccessReviews
- func (c *FakeSelfSubjectAccessReviews) Create(sar *authorizationapi.SelfSubjectAccessReview) (result *authorizationapi.SelfSubjectAccessReview, err error)
- func (c *FakeSelfSubjectAccessReviews) CreateContext(ctx context.Context, sar *authorizationapi.SelfSubjectAccessReview) (result *authorizationapi.SelfSubjectAccessReview, err error)
- type FakeSelfSubjectRulesReviews
- func (c *FakeSelfSubjectRulesReviews) Create(srr *authorizationapi.SelfSubjectRulesReview) (result *authorizationapi.SelfSubjectRulesReview, err error)
- func (c *FakeSelfSubjectRulesReviews) CreateContext(ctx context.Context, srr *authorizationapi.SelfSubjectRulesReview) (result *authorizationapi.SelfSubjectRulesReview, err error)
- type FakeSubjectAccessReviews
- func (c *FakeSubjectAccessReviews) Create(sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error)
- func (c *FakeSubjectAccessReviews) CreateContext(ctx context.Context, sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthorizationV1beta1 ¶
func (*FakeAuthorizationV1beta1) LocalSubjectAccessReviews ¶
func (c *FakeAuthorizationV1beta1) LocalSubjectAccessReviews(namespace string) v1beta1.LocalSubjectAccessReviewInterface
func (*FakeAuthorizationV1beta1) RESTClient ¶
func (c *FakeAuthorizationV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAuthorizationV1beta1) SelfSubjectAccessReviews ¶
func (c *FakeAuthorizationV1beta1) SelfSubjectAccessReviews() v1beta1.SelfSubjectAccessReviewInterface
func (*FakeAuthorizationV1beta1) SelfSubjectRulesReviews ¶
func (c *FakeAuthorizationV1beta1) SelfSubjectRulesReviews() v1beta1.SelfSubjectRulesReviewInterface
func (*FakeAuthorizationV1beta1) SubjectAccessReviews ¶
func (c *FakeAuthorizationV1beta1) SubjectAccessReviews() v1beta1.SubjectAccessReviewInterface
type FakeLocalSubjectAccessReviews ¶
type FakeLocalSubjectAccessReviews struct { Fake *FakeAuthorizationV1beta1 // contains filtered or unexported fields }
FakeLocalSubjectAccessReviews implements LocalSubjectAccessReviewInterface
func (*FakeLocalSubjectAccessReviews) Create ¶
func (c *FakeLocalSubjectAccessReviews) Create(sar *authorizationapi.LocalSubjectAccessReview) (result *authorizationapi.LocalSubjectAccessReview, err error)
func (*FakeLocalSubjectAccessReviews) CreateContext ¶ added in v0.17.0
func (c *FakeLocalSubjectAccessReviews) CreateContext(ctx context.Context, sar *authorizationapi.LocalSubjectAccessReview) (result *authorizationapi.LocalSubjectAccessReview, err error)
type FakeSelfSubjectAccessReviews ¶
type FakeSelfSubjectAccessReviews struct {
Fake *FakeAuthorizationV1beta1
}
FakeSelfSubjectAccessReviews implements SelfSubjectAccessReviewInterface
func (*FakeSelfSubjectAccessReviews) Create ¶
func (c *FakeSelfSubjectAccessReviews) Create(sar *authorizationapi.SelfSubjectAccessReview) (result *authorizationapi.SelfSubjectAccessReview, err error)
func (*FakeSelfSubjectAccessReviews) CreateContext ¶ added in v0.17.0
func (c *FakeSelfSubjectAccessReviews) CreateContext(ctx context.Context, sar *authorizationapi.SelfSubjectAccessReview) (result *authorizationapi.SelfSubjectAccessReview, err error)
type FakeSelfSubjectRulesReviews ¶
type FakeSelfSubjectRulesReviews struct {
Fake *FakeAuthorizationV1beta1
}
FakeSelfSubjectRulesReviews implements SelfSubjectRulesReviewInterface
func (*FakeSelfSubjectRulesReviews) Create ¶
func (c *FakeSelfSubjectRulesReviews) Create(srr *authorizationapi.SelfSubjectRulesReview) (result *authorizationapi.SelfSubjectRulesReview, err error)
func (*FakeSelfSubjectRulesReviews) CreateContext ¶ added in v0.17.0
func (c *FakeSelfSubjectRulesReviews) CreateContext(ctx context.Context, srr *authorizationapi.SelfSubjectRulesReview) (result *authorizationapi.SelfSubjectRulesReview, err error)
type FakeSubjectAccessReviews ¶
type FakeSubjectAccessReviews struct {
Fake *FakeAuthorizationV1beta1
}
FakeSubjectAccessReviews implements SubjectAccessReviewInterface
func (*FakeSubjectAccessReviews) Create ¶
func (c *FakeSubjectAccessReviews) Create(sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error)
func (*FakeSubjectAccessReviews) CreateContext ¶ added in v0.17.0
func (c *FakeSubjectAccessReviews) CreateContext(ctx context.Context, sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error)
Source Files ¶
- doc.go
- fake_authorization_client.go
- fake_generated_expansion.go
- fake_localsubjectaccessreview.go
- fake_localsubjectaccessreview_expansion.go
- fake_selfsubjectaccessreview.go
- fake_selfsubjectaccessreview_expansion.go
- fake_selfsubjectrulesreview.go
- fake_selfsubjectrulesreview_expansion.go
- fake_subjectaccessreview.go
- fake_subjectaccessreview_expansion.go
Click to show internal directories.
Click to hide internal directories.