Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGcpPubSubSources
- func (c *FakeGcpPubSubSources) Create(gcpPubSubSource *v1alpha1.GcpPubSubSource) (result *v1alpha1.GcpPubSubSource, err error)
- func (c *FakeGcpPubSubSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGcpPubSubSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGcpPubSubSources) Get(name string, options v1.GetOptions) (result *v1alpha1.GcpPubSubSource, err error)
- func (c *FakeGcpPubSubSources) List(opts v1.ListOptions) (result *v1alpha1.GcpPubSubSourceList, err error)
- func (c *FakeGcpPubSubSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GcpPubSubSource, err error)
- func (c *FakeGcpPubSubSources) Update(gcpPubSubSource *v1alpha1.GcpPubSubSource) (result *v1alpha1.GcpPubSubSource, err error)
- func (c *FakeGcpPubSubSources) UpdateStatus(gcpPubSubSource *v1alpha1.GcpPubSubSource) (*v1alpha1.GcpPubSubSource, error)
- func (c *FakeGcpPubSubSources) 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 FakeGcpPubSubSources ¶
type FakeGcpPubSubSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeGcpPubSubSources implements GcpPubSubSourceInterface
func (*FakeGcpPubSubSources) Create ¶
func (c *FakeGcpPubSubSources) Create(gcpPubSubSource *v1alpha1.GcpPubSubSource) (result *v1alpha1.GcpPubSubSource, err error)
Create takes the representation of a gcpPubSubSource and creates it. Returns the server's representation of the gcpPubSubSource, and an error, if there is any.
func (*FakeGcpPubSubSources) Delete ¶
func (c *FakeGcpPubSubSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the gcpPubSubSource and deletes it. Returns an error if one occurs.
func (*FakeGcpPubSubSources) DeleteCollection ¶
func (c *FakeGcpPubSubSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGcpPubSubSources) Get ¶
func (c *FakeGcpPubSubSources) Get(name string, options v1.GetOptions) (result *v1alpha1.GcpPubSubSource, err error)
Get takes name of the gcpPubSubSource, and returns the corresponding gcpPubSubSource object, and an error if there is any.
func (*FakeGcpPubSubSources) List ¶
func (c *FakeGcpPubSubSources) List(opts v1.ListOptions) (result *v1alpha1.GcpPubSubSourceList, err error)
List takes label and field selectors, and returns the list of GcpPubSubSources that match those selectors.
func (*FakeGcpPubSubSources) Patch ¶
func (c *FakeGcpPubSubSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GcpPubSubSource, err error)
Patch applies the patch and returns the patched gcpPubSubSource.
func (*FakeGcpPubSubSources) Update ¶
func (c *FakeGcpPubSubSources) Update(gcpPubSubSource *v1alpha1.GcpPubSubSource) (result *v1alpha1.GcpPubSubSource, err error)
Update takes the representation of a gcpPubSubSource and updates it. Returns the server's representation of the gcpPubSubSource, and an error, if there is any.
func (*FakeGcpPubSubSources) UpdateStatus ¶
func (c *FakeGcpPubSubSources) UpdateStatus(gcpPubSubSource *v1alpha1.GcpPubSubSource) (*v1alpha1.GcpPubSubSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGcpPubSubSources) Watch ¶
func (c *FakeGcpPubSubSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gcpPubSubSources.
type FakeSourcesV1alpha1 ¶
func (*FakeSourcesV1alpha1) GcpPubSubSources ¶
func (c *FakeSourcesV1alpha1) GcpPubSubSources(namespace string) v1alpha1.GcpPubSubSourceInterface
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.