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