client-go: k8s.io/client-go/kubernetes/typed/authorization/v1/fake Index | Files

package fake

import "k8s.io/client-go/kubernetes/typed/authorization/v1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_authorization_client.go fake_localsubjectaccessreview.go fake_selfsubjectaccessreview.go fake_selfsubjectrulesreview.go fake_subjectaccessreview.go

type FakeAuthorizationV1 Uses

type FakeAuthorizationV1 struct {
    *testing.Fake
}

func (*FakeAuthorizationV1) LocalSubjectAccessReviews Uses

func (c *FakeAuthorizationV1) LocalSubjectAccessReviews(namespace string) v1.LocalSubjectAccessReviewInterface

func (*FakeAuthorizationV1) RESTClient Uses

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 Uses

func (c *FakeAuthorizationV1) SelfSubjectAccessReviews() v1.SelfSubjectAccessReviewInterface

func (*FakeAuthorizationV1) SelfSubjectRulesReviews Uses

func (c *FakeAuthorizationV1) SelfSubjectRulesReviews() v1.SelfSubjectRulesReviewInterface

func (*FakeAuthorizationV1) SubjectAccessReviews Uses

func (c *FakeAuthorizationV1) SubjectAccessReviews() v1.SubjectAccessReviewInterface

type FakeLocalSubjectAccessReviews Uses

type FakeLocalSubjectAccessReviews struct {
    Fake *FakeAuthorizationV1
    // contains filtered or unexported fields
}

FakeLocalSubjectAccessReviews implements LocalSubjectAccessReviewInterface

func (*FakeLocalSubjectAccessReviews) Create Uses

func (c *FakeLocalSubjectAccessReviews) Create(ctx context.Context, localSubjectAccessReview *v1.LocalSubjectAccessReview, opts metav1.CreateOptions) (result *v1.LocalSubjectAccessReview, err error)

Create takes the representation of a localSubjectAccessReview and creates it. Returns the server's representation of the localSubjectAccessReview, and an error, if there is any.

type FakeSelfSubjectAccessReviews Uses

type FakeSelfSubjectAccessReviews struct {
    Fake *FakeAuthorizationV1
}

FakeSelfSubjectAccessReviews implements SelfSubjectAccessReviewInterface

func (*FakeSelfSubjectAccessReviews) Create Uses

func (c *FakeSelfSubjectAccessReviews) Create(ctx context.Context, selfSubjectAccessReview *v1.SelfSubjectAccessReview, opts metav1.CreateOptions) (result *v1.SelfSubjectAccessReview, err error)

Create takes the representation of a selfSubjectAccessReview and creates it. Returns the server's representation of the selfSubjectAccessReview, and an error, if there is any.

type FakeSelfSubjectRulesReviews Uses

type FakeSelfSubjectRulesReviews struct {
    Fake *FakeAuthorizationV1
}

FakeSelfSubjectRulesReviews implements SelfSubjectRulesReviewInterface

func (*FakeSelfSubjectRulesReviews) Create Uses

func (c *FakeSelfSubjectRulesReviews) Create(ctx context.Context, selfSubjectRulesReview *v1.SelfSubjectRulesReview, opts metav1.CreateOptions) (result *v1.SelfSubjectRulesReview, err error)

Create takes the representation of a selfSubjectRulesReview and creates it. Returns the server's representation of the selfSubjectRulesReview, and an error, if there is any.

type FakeSubjectAccessReviews Uses

type FakeSubjectAccessReviews struct {
    Fake *FakeAuthorizationV1
}

FakeSubjectAccessReviews implements SubjectAccessReviewInterface

func (*FakeSubjectAccessReviews) Create Uses

func (c *FakeSubjectAccessReviews) Create(ctx context.Context, subjectAccessReview *v1.SubjectAccessReview, opts metav1.CreateOptions) (result *v1.SubjectAccessReview, err error)

Create takes the representation of a subjectAccessReview and creates it. Returns the server's representation of the subjectAccessReview, and an error, if there is any.

Package fake imports 7 packages (graph) and is imported by 19 packages. Updated 2020-02-15. Refresh now. Tools for package owners.