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 FakeK8sCniCncfIoV1

    type FakeK8sCniCncfIoV1 struct {
    	*testing.Fake
    }

    func (*FakeK8sCniCncfIoV1) NetworkAttachmentDefinitions

    func (c *FakeK8sCniCncfIoV1) NetworkAttachmentDefinitions(namespace string) v1.NetworkAttachmentDefinitionInterface

    func (*FakeK8sCniCncfIoV1) RESTClient

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

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

      type FakeNetworkAttachmentDefinitions

      type FakeNetworkAttachmentDefinitions struct {
      	Fake *FakeK8sCniCncfIoV1
      	// contains filtered or unexported fields
      }

        FakeNetworkAttachmentDefinitions implements NetworkAttachmentDefinitionInterface

        func (*FakeNetworkAttachmentDefinitions) Create

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

          func (*FakeNetworkAttachmentDefinitions) Delete

          func (c *FakeNetworkAttachmentDefinitions) Delete(name string, options *v1.DeleteOptions) error

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

            func (*FakeNetworkAttachmentDefinitions) DeleteCollection

            func (c *FakeNetworkAttachmentDefinitions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

              DeleteCollection deletes a collection of objects.

              func (*FakeNetworkAttachmentDefinitions) Get

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

                func (*FakeNetworkAttachmentDefinitions) List

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

                  func (*FakeNetworkAttachmentDefinitions) Patch

                  func (c *FakeNetworkAttachmentDefinitions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *k8scnicncfiov1.NetworkAttachmentDefinition, err error)

                    Patch applies the patch and returns the patched networkAttachmentDefinition.

                    func (*FakeNetworkAttachmentDefinitions) Update

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

                      func (*FakeNetworkAttachmentDefinitions) Watch

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