Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApiServerSources
- func (c *FakeApiServerSources) Create(ctx context.Context, apiServerSource *sourcesv1.ApiServerSource, ...) (result *sourcesv1.ApiServerSource, err error)
- func (c *FakeApiServerSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApiServerSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApiServerSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *sourcesv1.ApiServerSource, err error)
- func (c *FakeApiServerSources) List(ctx context.Context, opts v1.ListOptions) (result *sourcesv1.ApiServerSourceList, err error)
- func (c *FakeApiServerSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *sourcesv1.ApiServerSource, err error)
- func (c *FakeApiServerSources) Update(ctx context.Context, apiServerSource *sourcesv1.ApiServerSource, ...) (result *sourcesv1.ApiServerSource, err error)
- func (c *FakeApiServerSources) UpdateStatus(ctx context.Context, apiServerSource *sourcesv1.ApiServerSource, ...) (*sourcesv1.ApiServerSource, error)
- func (c *FakeApiServerSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeContainerSources
- func (c *FakeContainerSources) Create(ctx context.Context, containerSource *sourcesv1.ContainerSource, ...) (result *sourcesv1.ContainerSource, err error)
- func (c *FakeContainerSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeContainerSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeContainerSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *sourcesv1.ContainerSource, err error)
- func (c *FakeContainerSources) List(ctx context.Context, opts v1.ListOptions) (result *sourcesv1.ContainerSourceList, err error)
- func (c *FakeContainerSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *sourcesv1.ContainerSource, err error)
- func (c *FakeContainerSources) Update(ctx context.Context, containerSource *sourcesv1.ContainerSource, ...) (result *sourcesv1.ContainerSource, err error)
- func (c *FakeContainerSources) UpdateStatus(ctx context.Context, containerSource *sourcesv1.ContainerSource, ...) (*sourcesv1.ContainerSource, error)
- func (c *FakeContainerSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSinkBindings
- func (c *FakeSinkBindings) Create(ctx context.Context, sinkBinding *sourcesv1.SinkBinding, opts v1.CreateOptions) (result *sourcesv1.SinkBinding, err error)
- func (c *FakeSinkBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSinkBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSinkBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *sourcesv1.SinkBinding, err error)
- func (c *FakeSinkBindings) List(ctx context.Context, opts v1.ListOptions) (result *sourcesv1.SinkBindingList, err error)
- func (c *FakeSinkBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *sourcesv1.SinkBinding, err error)
- func (c *FakeSinkBindings) Update(ctx context.Context, sinkBinding *sourcesv1.SinkBinding, opts v1.UpdateOptions) (result *sourcesv1.SinkBinding, err error)
- func (c *FakeSinkBindings) UpdateStatus(ctx context.Context, sinkBinding *sourcesv1.SinkBinding, opts v1.UpdateOptions) (*sourcesv1.SinkBinding, error)
- func (c *FakeSinkBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSourcesV1
- func (c *FakeSourcesV1) ApiServerSources(namespace string) v1.ApiServerSourceInterface
- func (c *FakeSourcesV1) ContainerSources(namespace string) v1.ContainerSourceInterface
- func (c *FakeSourcesV1) RESTClient() rest.Interface
- func (c *FakeSourcesV1) SinkBindings(namespace string) v1.SinkBindingInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApiServerSources ¶
type FakeApiServerSources struct { Fake *FakeSourcesV1 // contains filtered or unexported fields }
FakeApiServerSources implements ApiServerSourceInterface
func (*FakeApiServerSources) Create ¶
func (c *FakeApiServerSources) Create(ctx context.Context, apiServerSource *sourcesv1.ApiServerSource, opts v1.CreateOptions) (result *sourcesv1.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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApiServerSources) Get ¶
func (c *FakeApiServerSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *sourcesv1.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(ctx context.Context, opts v1.ListOptions) (result *sourcesv1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *sourcesv1.ApiServerSource, err error)
Patch applies the patch and returns the patched apiServerSource.
func (*FakeApiServerSources) Update ¶
func (c *FakeApiServerSources) Update(ctx context.Context, apiServerSource *sourcesv1.ApiServerSource, opts v1.UpdateOptions) (result *sourcesv1.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(ctx context.Context, apiServerSource *sourcesv1.ApiServerSource, opts v1.UpdateOptions) (*sourcesv1.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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apiServerSources.
type FakeContainerSources ¶
type FakeContainerSources struct { Fake *FakeSourcesV1 // contains filtered or unexported fields }
FakeContainerSources implements ContainerSourceInterface
func (*FakeContainerSources) Create ¶
func (c *FakeContainerSources) Create(ctx context.Context, containerSource *sourcesv1.ContainerSource, opts v1.CreateOptions) (result *sourcesv1.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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerSources) Get ¶
func (c *FakeContainerSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *sourcesv1.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(ctx context.Context, opts v1.ListOptions) (result *sourcesv1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *sourcesv1.ContainerSource, err error)
Patch applies the patch and returns the patched containerSource.
func (*FakeContainerSources) Update ¶
func (c *FakeContainerSources) Update(ctx context.Context, containerSource *sourcesv1.ContainerSource, opts v1.UpdateOptions) (result *sourcesv1.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(ctx context.Context, containerSource *sourcesv1.ContainerSource, opts v1.UpdateOptions) (*sourcesv1.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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerSources.
type FakeSinkBindings ¶
type FakeSinkBindings struct { Fake *FakeSourcesV1 // contains filtered or unexported fields }
FakeSinkBindings implements SinkBindingInterface
func (*FakeSinkBindings) Create ¶
func (c *FakeSinkBindings) Create(ctx context.Context, sinkBinding *sourcesv1.SinkBinding, opts v1.CreateOptions) (result *sourcesv1.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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSinkBindings) Get ¶
func (c *FakeSinkBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *sourcesv1.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(ctx context.Context, opts v1.ListOptions) (result *sourcesv1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *sourcesv1.SinkBinding, err error)
Patch applies the patch and returns the patched sinkBinding.
func (*FakeSinkBindings) Update ¶
func (c *FakeSinkBindings) Update(ctx context.Context, sinkBinding *sourcesv1.SinkBinding, opts v1.UpdateOptions) (result *sourcesv1.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(ctx context.Context, sinkBinding *sourcesv1.SinkBinding, opts v1.UpdateOptions) (*sourcesv1.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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sinkBindings.
type FakeSourcesV1 ¶
func (*FakeSourcesV1) ApiServerSources ¶
func (c *FakeSourcesV1) ApiServerSources(namespace string) v1.ApiServerSourceInterface
func (*FakeSourcesV1) ContainerSources ¶
func (c *FakeSourcesV1) ContainerSources(namespace string) v1.ContainerSourceInterface
func (*FakeSourcesV1) RESTClient ¶
func (c *FakeSourcesV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSourcesV1) SinkBindings ¶
func (c *FakeSourcesV1) SinkBindings(namespace string) v1.SinkBindingInterface