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