Documentation

Overview

    Package fake has the automatically generated clients.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type FakeAuthenticationV1alpha1

    type FakeAuthenticationV1alpha1 struct {
    	*testing.Fake
    }

    func (*FakeAuthenticationV1alpha1) JWTAuthenticators

    func (*FakeAuthenticationV1alpha1) RESTClient

    func (c *FakeAuthenticationV1alpha1) RESTClient() rest.Interface

      RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

      func (*FakeAuthenticationV1alpha1) WebhookAuthenticators

      type FakeJWTAuthenticators

      type FakeJWTAuthenticators struct {
      	Fake *FakeAuthenticationV1alpha1
      }

        FakeJWTAuthenticators implements JWTAuthenticatorInterface

        func (*FakeJWTAuthenticators) Create

        func (c *FakeJWTAuthenticators) Create(ctx context.Context, jWTAuthenticator *v1alpha1.JWTAuthenticator, opts v1.CreateOptions) (result *v1alpha1.JWTAuthenticator, err error)

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

          func (*FakeJWTAuthenticators) Delete

          func (c *FakeJWTAuthenticators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

            Delete takes name of the jWTAuthenticator and deletes it. Returns an error if one occurs.

            func (*FakeJWTAuthenticators) DeleteCollection

            func (c *FakeJWTAuthenticators) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

              DeleteCollection deletes a collection of objects.

              func (*FakeJWTAuthenticators) Get

              func (c *FakeJWTAuthenticators) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.JWTAuthenticator, err error)

                Get takes name of the jWTAuthenticator, and returns the corresponding jWTAuthenticator object, and an error if there is any.

                func (*FakeJWTAuthenticators) List

                  List takes label and field selectors, and returns the list of JWTAuthenticators that match those selectors.

                  func (*FakeJWTAuthenticators) Patch

                  func (c *FakeJWTAuthenticators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.JWTAuthenticator, err error)

                    Patch applies the patch and returns the patched jWTAuthenticator.

                    func (*FakeJWTAuthenticators) Update

                    func (c *FakeJWTAuthenticators) Update(ctx context.Context, jWTAuthenticator *v1alpha1.JWTAuthenticator, opts v1.UpdateOptions) (result *v1alpha1.JWTAuthenticator, err error)

                      Update takes the representation of a jWTAuthenticator and updates it. Returns the server's representation of the jWTAuthenticator, and an error, if there is any.

                      func (*FakeJWTAuthenticators) UpdateStatus

                        UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

                        func (*FakeJWTAuthenticators) Watch

                          Watch returns a watch.Interface that watches the requested jWTAuthenticators.

                          type FakeWebhookAuthenticators

                          type FakeWebhookAuthenticators struct {
                          	Fake *FakeAuthenticationV1alpha1
                          }

                            FakeWebhookAuthenticators implements WebhookAuthenticatorInterface

                            func (*FakeWebhookAuthenticators) Create

                            func (c *FakeWebhookAuthenticators) Create(ctx context.Context, webhookAuthenticator *v1alpha1.WebhookAuthenticator, opts v1.CreateOptions) (result *v1alpha1.WebhookAuthenticator, err error)

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

                              func (*FakeWebhookAuthenticators) Delete

                                Delete takes name of the webhookAuthenticator and deletes it. Returns an error if one occurs.

                                func (*FakeWebhookAuthenticators) DeleteCollection

                                func (c *FakeWebhookAuthenticators) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

                                  DeleteCollection deletes a collection of objects.

                                  func (*FakeWebhookAuthenticators) Get

                                    Get takes name of the webhookAuthenticator, and returns the corresponding webhookAuthenticator object, and an error if there is any.

                                    func (*FakeWebhookAuthenticators) List

                                      List takes label and field selectors, and returns the list of WebhookAuthenticators that match those selectors.

                                      func (*FakeWebhookAuthenticators) Patch

                                      func (c *FakeWebhookAuthenticators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.WebhookAuthenticator, err error)

                                        Patch applies the patch and returns the patched webhookAuthenticator.

                                        func (*FakeWebhookAuthenticators) Update

                                        func (c *FakeWebhookAuthenticators) Update(ctx context.Context, webhookAuthenticator *v1alpha1.WebhookAuthenticator, opts v1.UpdateOptions) (result *v1alpha1.WebhookAuthenticator, err error)

                                          Update takes the representation of a webhookAuthenticator and updates it. Returns the server's representation of the webhookAuthenticator, and an error, if there is any.

                                          func (*FakeWebhookAuthenticators) UpdateStatus

                                            UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

                                            func (*FakeWebhookAuthenticators) Watch

                                              Watch returns a watch.Interface that watches the requested webhookAuthenticators.