Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthorizationV1
- func (c *FakeAuthorizationV1) LocalSubjectAccessReviews(namespace string) v1.LocalSubjectAccessReviewInterface
- func (c *FakeAuthorizationV1) RESTClient() rest.Interface
- func (c *FakeAuthorizationV1) SelfSubjectAccessReviews() v1.SelfSubjectAccessReviewInterface
- func (c *FakeAuthorizationV1) SelfSubjectRulesReviews() v1.SelfSubjectRulesReviewInterface
- func (c *FakeAuthorizationV1) SubjectAccessReviews() v1.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 FakeAuthorizationV1 ¶
func (*FakeAuthorizationV1) LocalSubjectAccessReviews ¶
func (c *FakeAuthorizationV1) LocalSubjectAccessReviews(namespace string) v1.LocalSubjectAccessReviewInterface
func (*FakeAuthorizationV1) RESTClient ¶
func (c *FakeAuthorizationV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAuthorizationV1) SelfSubjectAccessReviews ¶
func (c *FakeAuthorizationV1) SelfSubjectAccessReviews() v1.SelfSubjectAccessReviewInterface
func (*FakeAuthorizationV1) SelfSubjectRulesReviews ¶
func (c *FakeAuthorizationV1) SelfSubjectRulesReviews() v1.SelfSubjectRulesReviewInterface
func (*FakeAuthorizationV1) SubjectAccessReviews ¶
func (c *FakeAuthorizationV1) SubjectAccessReviews() v1.SubjectAccessReviewInterface
type FakeLocalSubjectAccessReviews ¶
type FakeLocalSubjectAccessReviews struct { Fake *FakeAuthorizationV1 // 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 *FakeAuthorizationV1
}
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 *FakeAuthorizationV1
}
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 *FakeAuthorizationV1
}
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_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.