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 FakeApisV1alpha1

    type FakeApisV1alpha1 struct {
    	*testing.Fake
    }

    func (*FakeApisV1alpha1) RESTClient

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

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

      func (*FakeApisV1alpha1) ResourceSigningProfiles

      func (c *FakeApisV1alpha1) ResourceSigningProfiles(namespace string) v1alpha1.ResourceSigningProfileInterface

      type FakeResourceSigningProfiles

      type FakeResourceSigningProfiles struct {
      	Fake *FakeApisV1alpha1
      	// contains filtered or unexported fields
      }

        FakeResourceSigningProfiles implements ResourceSigningProfileInterface

        func (*FakeResourceSigningProfiles) Create

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

          func (*FakeResourceSigningProfiles) Delete

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

            func (*FakeResourceSigningProfiles) DeleteCollection

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

              DeleteCollection deletes a collection of objects.

              func (*FakeResourceSigningProfiles) Get

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

                func (*FakeResourceSigningProfiles) List

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

                  func (*FakeResourceSigningProfiles) Patch

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

                    Patch applies the patch and returns the patched resourceSigningProfile.

                    func (*FakeResourceSigningProfiles) Update

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

                      func (*FakeResourceSigningProfiles) Watch

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