v0.13.1 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeChannels

type FakeChannels struct {
	Fake *FakeMessagingV1alpha1
	// contains filtered or unexported fields

FakeChannels implements ChannelInterface

func (*FakeChannels) Create

func (c *FakeChannels) Create(channel *v1alpha1.Channel) (result *v1alpha1.Channel, err error)

Create takes the representation of a channel and creates it. Returns the server's representation of the channel, and an error, if there is any.

func (*FakeChannels) Delete

func (c *FakeChannels) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the channel and deletes it. Returns an error if one occurs.

func (*FakeChannels) DeleteCollection

func (c *FakeChannels) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeChannels) Get

func (c *FakeChannels) Get(name string, options v1.GetOptions) (result *v1alpha1.Channel, err error)

Get takes name of the channel, and returns the corresponding channel object, and an error if there is any.

func (*FakeChannels) List

func (c *FakeChannels) List(opts v1.ListOptions) (result *v1alpha1.ChannelList, err error)

List takes label and field selectors, and returns the list of Channels that match those selectors.

func (*FakeChannels) Patch

func (c *FakeChannels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Channel, err error)

Patch applies the patch and returns the patched channel.

func (*FakeChannels) Update

func (c *FakeChannels) Update(channel *v1alpha1.Channel) (result *v1alpha1.Channel, err error)

Update takes the representation of a channel and updates it. Returns the server's representation of the channel, and an error, if there is any.

func (*FakeChannels) UpdateStatus

func (c *FakeChannels) UpdateStatus(channel *v1alpha1.Channel) (*v1alpha1.Channel, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeChannels) Watch

func (c *FakeChannels) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested channels.

type FakeMessagingV1alpha1

type FakeMessagingV1alpha1 struct {

func (*FakeMessagingV1alpha1) Channels

func (c *FakeMessagingV1alpha1) Channels(namespace string) v1alpha1.ChannelInterface

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL