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