Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNFSServers
- func (c *FakeNFSServers) Create(nFSServer *v1alpha1.NFSServer) (result *v1alpha1.NFSServer, err error)
- func (c *FakeNFSServers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNFSServers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNFSServers) Get(name string, options v1.GetOptions) (result *v1alpha1.NFSServer, err error)
- func (c *FakeNFSServers) List(opts v1.ListOptions) (result *v1alpha1.NFSServerList, err error)
- func (c *FakeNFSServers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NFSServer, err error)
- func (c *FakeNFSServers) Update(nFSServer *v1alpha1.NFSServer) (result *v1alpha1.NFSServer, err error)
- func (c *FakeNFSServers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNfsV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNFSServers ¶
type FakeNFSServers struct { Fake *FakeNfsV1alpha1 // contains filtered or unexported fields }
FakeNFSServers implements NFSServerInterface
func (*FakeNFSServers) Create ¶
func (c *FakeNFSServers) Create(nFSServer *v1alpha1.NFSServer) (result *v1alpha1.NFSServer, err error)
Create takes the representation of a nFSServer and creates it. Returns the server's representation of the nFSServer, and an error, if there is any.
func (*FakeNFSServers) Delete ¶
func (c *FakeNFSServers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the nFSServer and deletes it. Returns an error if one occurs.
func (*FakeNFSServers) DeleteCollection ¶
func (c *FakeNFSServers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNFSServers) Get ¶
func (c *FakeNFSServers) Get(name string, options v1.GetOptions) (result *v1alpha1.NFSServer, err error)
Get takes name of the nFSServer, and returns the corresponding nFSServer object, and an error if there is any.
func (*FakeNFSServers) List ¶
func (c *FakeNFSServers) List(opts v1.ListOptions) (result *v1alpha1.NFSServerList, err error)
List takes label and field selectors, and returns the list of NFSServers that match those selectors.
func (*FakeNFSServers) Patch ¶
func (c *FakeNFSServers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NFSServer, err error)
Patch applies the patch and returns the patched nFSServer.
func (*FakeNFSServers) Update ¶
func (c *FakeNFSServers) Update(nFSServer *v1alpha1.NFSServer) (result *v1alpha1.NFSServer, err error)
Update takes the representation of a nFSServer and updates it. Returns the server's representation of the nFSServer, and an error, if there is any.
func (*FakeNFSServers) Watch ¶
func (c *FakeNFSServers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nFSServers.
type FakeNfsV1alpha1 ¶
func (*FakeNfsV1alpha1) NFSServers ¶
func (c *FakeNfsV1alpha1) NFSServers(namespace string) v1alpha1.NFSServerInterface
func (*FakeNfsV1alpha1) RESTClient ¶
func (c *FakeNfsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.