Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterEventSources
- func (c *FakeClusterEventSources) Create(clusterEventSource *v1alpha1.ClusterEventSource) (result *v1alpha1.ClusterEventSource, err error)
- func (c *FakeClusterEventSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterEventSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterEventSources) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterEventSource, err error)
- func (c *FakeClusterEventSources) List(opts v1.ListOptions) (result *v1alpha1.ClusterEventSourceList, err error)
- func (c *FakeClusterEventSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterEventSource, err error)
- func (c *FakeClusterEventSources) Update(clusterEventSource *v1alpha1.ClusterEventSource) (result *v1alpha1.ClusterEventSource, err error)
- func (c *FakeClusterEventSources) UpdateStatus(clusterEventSource *v1alpha1.ClusterEventSource) (*v1alpha1.ClusterEventSource, error)
- func (c *FakeClusterEventSources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterEventTypes
- func (c *FakeClusterEventTypes) Create(clusterEventType *v1alpha1.ClusterEventType) (result *v1alpha1.ClusterEventType, err error)
- func (c *FakeClusterEventTypes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterEventTypes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterEventTypes) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterEventType, err error)
- func (c *FakeClusterEventTypes) List(opts v1.ListOptions) (result *v1alpha1.ClusterEventTypeList, err error)
- func (c *FakeClusterEventTypes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterEventType, err error)
- func (c *FakeClusterEventTypes) Update(clusterEventType *v1alpha1.ClusterEventType) (result *v1alpha1.ClusterEventType, err error)
- func (c *FakeClusterEventTypes) UpdateStatus(clusterEventType *v1alpha1.ClusterEventType) (*v1alpha1.ClusterEventType, error)
- func (c *FakeClusterEventTypes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEventSources
- func (c *FakeEventSources) Create(eventSource *v1alpha1.EventSource) (result *v1alpha1.EventSource, err error)
- func (c *FakeEventSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEventSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEventSources) Get(name string, options v1.GetOptions) (result *v1alpha1.EventSource, err error)
- func (c *FakeEventSources) List(opts v1.ListOptions) (result *v1alpha1.EventSourceList, err error)
- func (c *FakeEventSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventSource, err error)
- func (c *FakeEventSources) Update(eventSource *v1alpha1.EventSource) (result *v1alpha1.EventSource, err error)
- func (c *FakeEventSources) UpdateStatus(eventSource *v1alpha1.EventSource) (*v1alpha1.EventSource, error)
- func (c *FakeEventSources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEventTypes
- func (c *FakeEventTypes) Create(eventType *v1alpha1.EventType) (result *v1alpha1.EventType, err error)
- func (c *FakeEventTypes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEventTypes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEventTypes) Get(name string, options v1.GetOptions) (result *v1alpha1.EventType, err error)
- func (c *FakeEventTypes) List(opts v1.ListOptions) (result *v1alpha1.EventTypeList, err error)
- func (c *FakeEventTypes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventType, err error)
- func (c *FakeEventTypes) Update(eventType *v1alpha1.EventType) (result *v1alpha1.EventType, err error)
- func (c *FakeEventTypes) UpdateStatus(eventType *v1alpha1.EventType) (*v1alpha1.EventType, error)
- func (c *FakeEventTypes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeFeeds
- func (c *FakeFeeds) Create(feed *v1alpha1.Feed) (result *v1alpha1.Feed, err error)
- func (c *FakeFeeds) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFeeds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFeeds) Get(name string, options v1.GetOptions) (result *v1alpha1.Feed, err error)
- func (c *FakeFeeds) List(opts v1.ListOptions) (result *v1alpha1.FeedList, err error)
- func (c *FakeFeeds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Feed, err error)
- func (c *FakeFeeds) Update(feed *v1alpha1.Feed) (result *v1alpha1.Feed, err error)
- func (c *FakeFeeds) UpdateStatus(feed *v1alpha1.Feed) (*v1alpha1.Feed, error)
- func (c *FakeFeeds) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeFeedsV1alpha1
- func (c *FakeFeedsV1alpha1) ClusterEventSources() v1alpha1.ClusterEventSourceInterface
- func (c *FakeFeedsV1alpha1) ClusterEventTypes() v1alpha1.ClusterEventTypeInterface
- func (c *FakeFeedsV1alpha1) EventSources(namespace string) v1alpha1.EventSourceInterface
- func (c *FakeFeedsV1alpha1) EventTypes(namespace string) v1alpha1.EventTypeInterface
- func (c *FakeFeedsV1alpha1) Feeds(namespace string) v1alpha1.FeedInterface
- func (c *FakeFeedsV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterEventSources ¶
type FakeClusterEventSources struct {
Fake *FakeFeedsV1alpha1
}
FakeClusterEventSources implements ClusterEventSourceInterface
func (*FakeClusterEventSources) Create ¶
func (c *FakeClusterEventSources) Create(clusterEventSource *v1alpha1.ClusterEventSource) (result *v1alpha1.ClusterEventSource, err error)
Create takes the representation of a clusterEventSource and creates it. Returns the server's representation of the clusterEventSource, and an error, if there is any.
func (*FakeClusterEventSources) Delete ¶
func (c *FakeClusterEventSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterEventSource and deletes it. Returns an error if one occurs.
func (*FakeClusterEventSources) DeleteCollection ¶
func (c *FakeClusterEventSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterEventSources) Get ¶
func (c *FakeClusterEventSources) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterEventSource, err error)
Get takes name of the clusterEventSource, and returns the corresponding clusterEventSource object, and an error if there is any.
func (*FakeClusterEventSources) List ¶
func (c *FakeClusterEventSources) List(opts v1.ListOptions) (result *v1alpha1.ClusterEventSourceList, err error)
List takes label and field selectors, and returns the list of ClusterEventSources that match those selectors.
func (*FakeClusterEventSources) Patch ¶
func (c *FakeClusterEventSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterEventSource, err error)
Patch applies the patch and returns the patched clusterEventSource.
func (*FakeClusterEventSources) Update ¶
func (c *FakeClusterEventSources) Update(clusterEventSource *v1alpha1.ClusterEventSource) (result *v1alpha1.ClusterEventSource, err error)
Update takes the representation of a clusterEventSource and updates it. Returns the server's representation of the clusterEventSource, and an error, if there is any.
func (*FakeClusterEventSources) UpdateStatus ¶
func (c *FakeClusterEventSources) UpdateStatus(clusterEventSource *v1alpha1.ClusterEventSource) (*v1alpha1.ClusterEventSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterEventSources) Watch ¶
func (c *FakeClusterEventSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterEventSources.
type FakeClusterEventTypes ¶
type FakeClusterEventTypes struct {
Fake *FakeFeedsV1alpha1
}
FakeClusterEventTypes implements ClusterEventTypeInterface
func (*FakeClusterEventTypes) Create ¶
func (c *FakeClusterEventTypes) Create(clusterEventType *v1alpha1.ClusterEventType) (result *v1alpha1.ClusterEventType, err error)
Create takes the representation of a clusterEventType and creates it. Returns the server's representation of the clusterEventType, and an error, if there is any.
func (*FakeClusterEventTypes) Delete ¶
func (c *FakeClusterEventTypes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterEventType and deletes it. Returns an error if one occurs.
func (*FakeClusterEventTypes) DeleteCollection ¶
func (c *FakeClusterEventTypes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterEventTypes) Get ¶
func (c *FakeClusterEventTypes) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterEventType, err error)
Get takes name of the clusterEventType, and returns the corresponding clusterEventType object, and an error if there is any.
func (*FakeClusterEventTypes) List ¶
func (c *FakeClusterEventTypes) List(opts v1.ListOptions) (result *v1alpha1.ClusterEventTypeList, err error)
List takes label and field selectors, and returns the list of ClusterEventTypes that match those selectors.
func (*FakeClusterEventTypes) Patch ¶
func (c *FakeClusterEventTypes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterEventType, err error)
Patch applies the patch and returns the patched clusterEventType.
func (*FakeClusterEventTypes) Update ¶
func (c *FakeClusterEventTypes) Update(clusterEventType *v1alpha1.ClusterEventType) (result *v1alpha1.ClusterEventType, err error)
Update takes the representation of a clusterEventType and updates it. Returns the server's representation of the clusterEventType, and an error, if there is any.
func (*FakeClusterEventTypes) UpdateStatus ¶
func (c *FakeClusterEventTypes) UpdateStatus(clusterEventType *v1alpha1.ClusterEventType) (*v1alpha1.ClusterEventType, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterEventTypes) Watch ¶
func (c *FakeClusterEventTypes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterEventTypes.
type FakeEventSources ¶
type FakeEventSources struct { Fake *FakeFeedsV1alpha1 // contains filtered or unexported fields }
FakeEventSources implements EventSourceInterface
func (*FakeEventSources) Create ¶
func (c *FakeEventSources) Create(eventSource *v1alpha1.EventSource) (result *v1alpha1.EventSource, err error)
Create takes the representation of a eventSource and creates it. Returns the server's representation of the eventSource, and an error, if there is any.
func (*FakeEventSources) Delete ¶
func (c *FakeEventSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the eventSource and deletes it. Returns an error if one occurs.
func (*FakeEventSources) DeleteCollection ¶
func (c *FakeEventSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEventSources) Get ¶
func (c *FakeEventSources) Get(name string, options v1.GetOptions) (result *v1alpha1.EventSource, err error)
Get takes name of the eventSource, and returns the corresponding eventSource object, and an error if there is any.
func (*FakeEventSources) List ¶
func (c *FakeEventSources) List(opts v1.ListOptions) (result *v1alpha1.EventSourceList, err error)
List takes label and field selectors, and returns the list of EventSources that match those selectors.
func (*FakeEventSources) Patch ¶
func (c *FakeEventSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventSource, err error)
Patch applies the patch and returns the patched eventSource.
func (*FakeEventSources) Update ¶
func (c *FakeEventSources) Update(eventSource *v1alpha1.EventSource) (result *v1alpha1.EventSource, err error)
Update takes the representation of a eventSource and updates it. Returns the server's representation of the eventSource, and an error, if there is any.
func (*FakeEventSources) UpdateStatus ¶
func (c *FakeEventSources) UpdateStatus(eventSource *v1alpha1.EventSource) (*v1alpha1.EventSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEventSources) Watch ¶
func (c *FakeEventSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eventSources.
type FakeEventTypes ¶
type FakeEventTypes struct { Fake *FakeFeedsV1alpha1 // contains filtered or unexported fields }
FakeEventTypes implements EventTypeInterface
func (*FakeEventTypes) Create ¶
func (c *FakeEventTypes) Create(eventType *v1alpha1.EventType) (result *v1alpha1.EventType, err error)
Create takes the representation of a eventType and creates it. Returns the server's representation of the eventType, and an error, if there is any.
func (*FakeEventTypes) Delete ¶
func (c *FakeEventTypes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the eventType and deletes it. Returns an error if one occurs.
func (*FakeEventTypes) DeleteCollection ¶
func (c *FakeEventTypes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEventTypes) Get ¶
func (c *FakeEventTypes) Get(name string, options v1.GetOptions) (result *v1alpha1.EventType, err error)
Get takes name of the eventType, and returns the corresponding eventType object, and an error if there is any.
func (*FakeEventTypes) List ¶
func (c *FakeEventTypes) List(opts v1.ListOptions) (result *v1alpha1.EventTypeList, err error)
List takes label and field selectors, and returns the list of EventTypes that match those selectors.
func (*FakeEventTypes) Patch ¶
func (c *FakeEventTypes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventType, err error)
Patch applies the patch and returns the patched eventType.
func (*FakeEventTypes) Update ¶
func (c *FakeEventTypes) Update(eventType *v1alpha1.EventType) (result *v1alpha1.EventType, err error)
Update takes the representation of a eventType and updates it. Returns the server's representation of the eventType, and an error, if there is any.
func (*FakeEventTypes) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEventTypes) Watch ¶
func (c *FakeEventTypes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eventTypes.
type FakeFeeds ¶
type FakeFeeds struct { Fake *FakeFeedsV1alpha1 // contains filtered or unexported fields }
FakeFeeds implements FeedInterface
func (*FakeFeeds) Create ¶
Create takes the representation of a feed and creates it. Returns the server's representation of the feed, and an error, if there is any.
func (*FakeFeeds) Delete ¶
func (c *FakeFeeds) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the feed and deletes it. Returns an error if one occurs.
func (*FakeFeeds) DeleteCollection ¶
func (c *FakeFeeds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFeeds) Get ¶
Get takes name of the feed, and returns the corresponding feed object, and an error if there is any.
func (*FakeFeeds) List ¶
List takes label and field selectors, and returns the list of Feeds that match those selectors.
func (*FakeFeeds) Patch ¶
func (c *FakeFeeds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Feed, err error)
Patch applies the patch and returns the patched feed.
func (*FakeFeeds) Update ¶
Update takes the representation of a feed and updates it. Returns the server's representation of the feed, and an error, if there is any.
func (*FakeFeeds) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeFeedsV1alpha1 ¶
func (*FakeFeedsV1alpha1) ClusterEventSources ¶
func (c *FakeFeedsV1alpha1) ClusterEventSources() v1alpha1.ClusterEventSourceInterface
func (*FakeFeedsV1alpha1) ClusterEventTypes ¶
func (c *FakeFeedsV1alpha1) ClusterEventTypes() v1alpha1.ClusterEventTypeInterface
func (*FakeFeedsV1alpha1) EventSources ¶
func (c *FakeFeedsV1alpha1) EventSources(namespace string) v1alpha1.EventSourceInterface
func (*FakeFeedsV1alpha1) EventTypes ¶
func (c *FakeFeedsV1alpha1) EventTypes(namespace string) v1alpha1.EventTypeInterface
func (*FakeFeedsV1alpha1) Feeds ¶
func (c *FakeFeedsV1alpha1) Feeds(namespace string) v1alpha1.FeedInterface
func (*FakeFeedsV1alpha1) RESTClient ¶
func (c *FakeFeedsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.