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