Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeInbounds
- func (c *FakeInbounds) Create(inbound *v1alpha1.Inbound) (result *v1alpha1.Inbound, err error)
- func (c *FakeInbounds) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInbounds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInbounds) Get(name string, options v1.GetOptions) (result *v1alpha1.Inbound, err error)
- func (c *FakeInbounds) List(opts v1.ListOptions) (result *v1alpha1.InboundList, err error)
- func (c *FakeInbounds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Inbound, err error)
- func (c *FakeInbounds) Update(inbound *v1alpha1.Inbound) (result *v1alpha1.Inbound, err error)
- func (c *FakeInbounds) UpdateStatus(inbound *v1alpha1.Inbound) (*v1alpha1.Inbound, error)
- func (c *FakeInbounds) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeStreamProcessors
- func (c *FakeStreamProcessors) Create(streamProcessor *v1alpha1.StreamProcessor) (result *v1alpha1.StreamProcessor, err error)
- func (c *FakeStreamProcessors) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStreamProcessors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStreamProcessors) Get(name string, options v1.GetOptions) (result *v1alpha1.StreamProcessor, err error)
- func (c *FakeStreamProcessors) List(opts v1.ListOptions) (result *v1alpha1.StreamProcessorList, err error)
- func (c *FakeStreamProcessors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StreamProcessor, err error)
- func (c *FakeStreamProcessors) Update(streamProcessor *v1alpha1.StreamProcessor) (result *v1alpha1.StreamProcessor, err error)
- func (c *FakeStreamProcessors) UpdateStatus(streamProcessor *v1alpha1.StreamProcessor) (*v1alpha1.StreamProcessor, error)
- func (c *FakeStreamProcessors) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeStreamingV1alpha1
- func (c *FakeStreamingV1alpha1) Inbounds(namespace string) v1alpha1.InboundInterface
- func (c *FakeStreamingV1alpha1) RESTClient() rest.Interface
- func (c *FakeStreamingV1alpha1) StreamProcessors(namespace string) v1alpha1.StreamProcessorInterface
- func (c *FakeStreamingV1alpha1) Streams(namespace string) v1alpha1.StreamInterface
- type FakeStreams
- func (c *FakeStreams) Create(stream *v1alpha1.Stream) (result *v1alpha1.Stream, err error)
- func (c *FakeStreams) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStreams) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStreams) Get(name string, options v1.GetOptions) (result *v1alpha1.Stream, err error)
- func (c *FakeStreams) List(opts v1.ListOptions) (result *v1alpha1.StreamList, err error)
- func (c *FakeStreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Stream, err error)
- func (c *FakeStreams) Update(stream *v1alpha1.Stream) (result *v1alpha1.Stream, err error)
- func (c *FakeStreams) UpdateStatus(stream *v1alpha1.Stream) (*v1alpha1.Stream, error)
- func (c *FakeStreams) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeInbounds ¶
type FakeInbounds struct { Fake *FakeStreamingV1alpha1 // contains filtered or unexported fields }
FakeInbounds implements InboundInterface
func (*FakeInbounds) Create ¶
Create takes the representation of a inbound and creates it. Returns the server's representation of the inbound, and an error, if there is any.
func (*FakeInbounds) Delete ¶
func (c *FakeInbounds) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the inbound and deletes it. Returns an error if one occurs.
func (*FakeInbounds) DeleteCollection ¶
func (c *FakeInbounds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInbounds) Get ¶
func (c *FakeInbounds) Get(name string, options v1.GetOptions) (result *v1alpha1.Inbound, err error)
Get takes name of the inbound, and returns the corresponding inbound object, and an error if there is any.
func (*FakeInbounds) List ¶
func (c *FakeInbounds) List(opts v1.ListOptions) (result *v1alpha1.InboundList, err error)
List takes label and field selectors, and returns the list of Inbounds that match those selectors.
func (*FakeInbounds) Patch ¶
func (c *FakeInbounds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Inbound, err error)
Patch applies the patch and returns the patched inbound.
func (*FakeInbounds) Update ¶
Update takes the representation of a inbound and updates it. Returns the server's representation of the inbound, and an error, if there is any.
func (*FakeInbounds) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInbounds) Watch ¶
func (c *FakeInbounds) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested inbounds.
type FakeStreamProcessors ¶
type FakeStreamProcessors struct { Fake *FakeStreamingV1alpha1 // contains filtered or unexported fields }
FakeStreamProcessors implements StreamProcessorInterface
func (*FakeStreamProcessors) Create ¶
func (c *FakeStreamProcessors) Create(streamProcessor *v1alpha1.StreamProcessor) (result *v1alpha1.StreamProcessor, err error)
Create takes the representation of a streamProcessor and creates it. Returns the server's representation of the streamProcessor, and an error, if there is any.
func (*FakeStreamProcessors) Delete ¶
func (c *FakeStreamProcessors) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the streamProcessor and deletes it. Returns an error if one occurs.
func (*FakeStreamProcessors) DeleteCollection ¶
func (c *FakeStreamProcessors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStreamProcessors) Get ¶
func (c *FakeStreamProcessors) Get(name string, options v1.GetOptions) (result *v1alpha1.StreamProcessor, err error)
Get takes name of the streamProcessor, and returns the corresponding streamProcessor object, and an error if there is any.
func (*FakeStreamProcessors) List ¶
func (c *FakeStreamProcessors) List(opts v1.ListOptions) (result *v1alpha1.StreamProcessorList, err error)
List takes label and field selectors, and returns the list of StreamProcessors that match those selectors.
func (*FakeStreamProcessors) Patch ¶
func (c *FakeStreamProcessors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StreamProcessor, err error)
Patch applies the patch and returns the patched streamProcessor.
func (*FakeStreamProcessors) Update ¶
func (c *FakeStreamProcessors) Update(streamProcessor *v1alpha1.StreamProcessor) (result *v1alpha1.StreamProcessor, err error)
Update takes the representation of a streamProcessor and updates it. Returns the server's representation of the streamProcessor, and an error, if there is any.
func (*FakeStreamProcessors) UpdateStatus ¶
func (c *FakeStreamProcessors) UpdateStatus(streamProcessor *v1alpha1.StreamProcessor) (*v1alpha1.StreamProcessor, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStreamProcessors) Watch ¶
func (c *FakeStreamProcessors) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested streamProcessors.
type FakeStreamingV1alpha1 ¶
func (*FakeStreamingV1alpha1) Inbounds ¶
func (c *FakeStreamingV1alpha1) Inbounds(namespace string) v1alpha1.InboundInterface
func (*FakeStreamingV1alpha1) RESTClient ¶
func (c *FakeStreamingV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeStreamingV1alpha1) StreamProcessors ¶
func (c *FakeStreamingV1alpha1) StreamProcessors(namespace string) v1alpha1.StreamProcessorInterface
func (*FakeStreamingV1alpha1) Streams ¶
func (c *FakeStreamingV1alpha1) Streams(namespace string) v1alpha1.StreamInterface
type FakeStreams ¶
type FakeStreams struct { Fake *FakeStreamingV1alpha1 // contains filtered or unexported fields }
FakeStreams implements StreamInterface
func (*FakeStreams) Create ¶
Create takes the representation of a stream and creates it. Returns the server's representation of the stream, and an error, if there is any.
func (*FakeStreams) Delete ¶
func (c *FakeStreams) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the stream and deletes it. Returns an error if one occurs.
func (*FakeStreams) DeleteCollection ¶
func (c *FakeStreams) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStreams) Get ¶
func (c *FakeStreams) Get(name string, options v1.GetOptions) (result *v1alpha1.Stream, err error)
Get takes name of the stream, and returns the corresponding stream object, and an error if there is any.
func (*FakeStreams) List ¶
func (c *FakeStreams) List(opts v1.ListOptions) (result *v1alpha1.StreamList, err error)
List takes label and field selectors, and returns the list of Streams that match those selectors.
func (*FakeStreams) Patch ¶
func (c *FakeStreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Stream, err error)
Patch applies the patch and returns the patched stream.
func (*FakeStreams) Update ¶
Update takes the representation of a stream and updates it. Returns the server's representation of the stream, and an error, if there is any.
func (*FakeStreams) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStreams) Watch ¶
func (c *FakeStreams) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested streams.