Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMPDClusters
- func (c *FakeMPDClusters) Create(mPDCluster *mpdv1.MPDCluster) (result *mpdv1.MPDCluster, err error)
- func (c *FakeMPDClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMPDClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMPDClusters) Get(name string, options v1.GetOptions) (result *mpdv1.MPDCluster, err error)
- func (c *FakeMPDClusters) List(opts v1.ListOptions) (result *mpdv1.MPDClusterList, err error)
- func (c *FakeMPDClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mpdv1.MPDCluster, err error)
- func (c *FakeMPDClusters) Update(mPDCluster *mpdv1.MPDCluster) (result *mpdv1.MPDCluster, err error)
- func (c *FakeMPDClusters) UpdateStatus(mPDCluster *mpdv1.MPDCluster) (*mpdv1.MPDCluster, error)
- func (c *FakeMPDClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMpdV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMPDClusters ¶
type FakeMPDClusters struct { Fake *FakeMpdV1 // contains filtered or unexported fields }
FakeMPDClusters implements MPDClusterInterface
func (*FakeMPDClusters) Create ¶
func (c *FakeMPDClusters) Create(mPDCluster *mpdv1.MPDCluster) (result *mpdv1.MPDCluster, err error)
Create takes the representation of a mPDCluster and creates it. Returns the server's representation of the mPDCluster, and an error, if there is any.
func (*FakeMPDClusters) Delete ¶
func (c *FakeMPDClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mPDCluster and deletes it. Returns an error if one occurs.
func (*FakeMPDClusters) DeleteCollection ¶
func (c *FakeMPDClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMPDClusters) Get ¶
func (c *FakeMPDClusters) Get(name string, options v1.GetOptions) (result *mpdv1.MPDCluster, err error)
Get takes name of the mPDCluster, and returns the corresponding mPDCluster object, and an error if there is any.
func (*FakeMPDClusters) List ¶
func (c *FakeMPDClusters) List(opts v1.ListOptions) (result *mpdv1.MPDClusterList, err error)
List takes label and field selectors, and returns the list of MPDClusters that match those selectors.
func (*FakeMPDClusters) Patch ¶
func (c *FakeMPDClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mpdv1.MPDCluster, err error)
Patch applies the patch and returns the patched mPDCluster.
func (*FakeMPDClusters) Update ¶
func (c *FakeMPDClusters) Update(mPDCluster *mpdv1.MPDCluster) (result *mpdv1.MPDCluster, err error)
Update takes the representation of a mPDCluster and updates it. Returns the server's representation of the mPDCluster, and an error, if there is any.
func (*FakeMPDClusters) UpdateStatus ¶
func (c *FakeMPDClusters) UpdateStatus(mPDCluster *mpdv1.MPDCluster) (*mpdv1.MPDCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMPDClusters) Watch ¶
func (c *FakeMPDClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mPDClusters.
type FakeMpdV1 ¶
func (*FakeMpdV1) MPDClusters ¶
func (c *FakeMpdV1) MPDClusters(namespace string) v1.MPDClusterInterface
func (*FakeMpdV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.