Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeChannels
- func (c *FakeChannels) Create(channel *v1beta1.Channel) (result *v1beta1.Channel, err error)
- func (c *FakeChannels) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeChannels) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeChannels) Get(name string, options v1.GetOptions) (result *v1beta1.Channel, err error)
- func (c *FakeChannels) List(opts v1.ListOptions) (result *v1beta1.ChannelList, err error)
- func (c *FakeChannels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Channel, err error)
- func (c *FakeChannels) Update(channel *v1beta1.Channel) (result *v1beta1.Channel, err error)
- func (c *FakeChannels) UpdateStatus(channel *v1beta1.Channel) (*v1beta1.Channel, error)
- func (c *FakeChannels) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeInMemoryChannels
- func (c *FakeInMemoryChannels) Create(inMemoryChannel *v1beta1.InMemoryChannel) (result *v1beta1.InMemoryChannel, err error)
- func (c *FakeInMemoryChannels) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInMemoryChannels) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInMemoryChannels) Get(name string, options v1.GetOptions) (result *v1beta1.InMemoryChannel, err error)
- func (c *FakeInMemoryChannels) List(opts v1.ListOptions) (result *v1beta1.InMemoryChannelList, err error)
- func (c *FakeInMemoryChannels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.InMemoryChannel, err error)
- func (c *FakeInMemoryChannels) Update(inMemoryChannel *v1beta1.InMemoryChannel) (result *v1beta1.InMemoryChannel, err error)
- func (c *FakeInMemoryChannels) UpdateStatus(inMemoryChannel *v1beta1.InMemoryChannel) (*v1beta1.InMemoryChannel, error)
- func (c *FakeInMemoryChannels) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMessagingV1beta1
- func (c *FakeMessagingV1beta1) Channels(namespace string) v1beta1.ChannelInterface
- func (c *FakeMessagingV1beta1) InMemoryChannels(namespace string) v1beta1.InMemoryChannelInterface
- func (c *FakeMessagingV1beta1) RESTClient() rest.Interface
- func (c *FakeMessagingV1beta1) Subscriptions(namespace string) v1beta1.SubscriptionInterface
- type FakeSubscriptions
- func (c *FakeSubscriptions) Create(subscription *v1beta1.Subscription) (result *v1beta1.Subscription, err error)
- func (c *FakeSubscriptions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSubscriptions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSubscriptions) Get(name string, options v1.GetOptions) (result *v1beta1.Subscription, err error)
- func (c *FakeSubscriptions) List(opts v1.ListOptions) (result *v1beta1.SubscriptionList, err error)
- func (c *FakeSubscriptions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Subscription, err error)
- func (c *FakeSubscriptions) Update(subscription *v1beta1.Subscription) (result *v1beta1.Subscription, err error)
- func (c *FakeSubscriptions) UpdateStatus(subscription *v1beta1.Subscription) (*v1beta1.Subscription, error)
- func (c *FakeSubscriptions) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeChannels ¶
type FakeChannels struct { Fake *FakeMessagingV1beta1 // contains filtered or unexported fields }
FakeChannels implements ChannelInterface
func (*FakeChannels) Create ¶
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 *v1beta1.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 *v1beta1.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 *v1beta1.Channel, err error)
Patch applies the patch and returns the patched channel.
func (*FakeChannels) Update ¶
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 ¶
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 FakeInMemoryChannels ¶
type FakeInMemoryChannels struct { Fake *FakeMessagingV1beta1 // contains filtered or unexported fields }
FakeInMemoryChannels implements InMemoryChannelInterface
func (*FakeInMemoryChannels) Create ¶
func (c *FakeInMemoryChannels) Create(inMemoryChannel *v1beta1.InMemoryChannel) (result *v1beta1.InMemoryChannel, err error)
Create takes the representation of a inMemoryChannel and creates it. Returns the server's representation of the inMemoryChannel, and an error, if there is any.
func (*FakeInMemoryChannels) Delete ¶
func (c *FakeInMemoryChannels) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the inMemoryChannel and deletes it. Returns an error if one occurs.
func (*FakeInMemoryChannels) DeleteCollection ¶
func (c *FakeInMemoryChannels) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInMemoryChannels) Get ¶
func (c *FakeInMemoryChannels) Get(name string, options v1.GetOptions) (result *v1beta1.InMemoryChannel, err error)
Get takes name of the inMemoryChannel, and returns the corresponding inMemoryChannel object, and an error if there is any.
func (*FakeInMemoryChannels) List ¶
func (c *FakeInMemoryChannels) List(opts v1.ListOptions) (result *v1beta1.InMemoryChannelList, err error)
List takes label and field selectors, and returns the list of InMemoryChannels that match those selectors.
func (*FakeInMemoryChannels) Patch ¶
func (c *FakeInMemoryChannels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.InMemoryChannel, err error)
Patch applies the patch and returns the patched inMemoryChannel.
func (*FakeInMemoryChannels) Update ¶
func (c *FakeInMemoryChannels) Update(inMemoryChannel *v1beta1.InMemoryChannel) (result *v1beta1.InMemoryChannel, err error)
Update takes the representation of a inMemoryChannel and updates it. Returns the server's representation of the inMemoryChannel, and an error, if there is any.
func (*FakeInMemoryChannels) UpdateStatus ¶
func (c *FakeInMemoryChannels) UpdateStatus(inMemoryChannel *v1beta1.InMemoryChannel) (*v1beta1.InMemoryChannel, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInMemoryChannels) Watch ¶
func (c *FakeInMemoryChannels) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested inMemoryChannels.
type FakeMessagingV1beta1 ¶
func (*FakeMessagingV1beta1) Channels ¶
func (c *FakeMessagingV1beta1) Channels(namespace string) v1beta1.ChannelInterface
func (*FakeMessagingV1beta1) InMemoryChannels ¶
func (c *FakeMessagingV1beta1) InMemoryChannels(namespace string) v1beta1.InMemoryChannelInterface
func (*FakeMessagingV1beta1) RESTClient ¶
func (c *FakeMessagingV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMessagingV1beta1) Subscriptions ¶
func (c *FakeMessagingV1beta1) Subscriptions(namespace string) v1beta1.SubscriptionInterface
type FakeSubscriptions ¶
type FakeSubscriptions struct { Fake *FakeMessagingV1beta1 // contains filtered or unexported fields }
FakeSubscriptions implements SubscriptionInterface
func (*FakeSubscriptions) Create ¶
func (c *FakeSubscriptions) Create(subscription *v1beta1.Subscription) (result *v1beta1.Subscription, err error)
Create takes the representation of a subscription and creates it. Returns the server's representation of the subscription, and an error, if there is any.
func (*FakeSubscriptions) Delete ¶
func (c *FakeSubscriptions) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the subscription and deletes it. Returns an error if one occurs.
func (*FakeSubscriptions) DeleteCollection ¶
func (c *FakeSubscriptions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubscriptions) Get ¶
func (c *FakeSubscriptions) Get(name string, options v1.GetOptions) (result *v1beta1.Subscription, err error)
Get takes name of the subscription, and returns the corresponding subscription object, and an error if there is any.
func (*FakeSubscriptions) List ¶
func (c *FakeSubscriptions) List(opts v1.ListOptions) (result *v1beta1.SubscriptionList, err error)
List takes label and field selectors, and returns the list of Subscriptions that match those selectors.
func (*FakeSubscriptions) Patch ¶
func (c *FakeSubscriptions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Subscription, err error)
Patch applies the patch and returns the patched subscription.
func (*FakeSubscriptions) Update ¶
func (c *FakeSubscriptions) Update(subscription *v1beta1.Subscription) (result *v1beta1.Subscription, err error)
Update takes the representation of a subscription and updates it. Returns the server's representation of the subscription, and an error, if there is any.
func (*FakeSubscriptions) UpdateStatus ¶
func (c *FakeSubscriptions) UpdateStatus(subscription *v1beta1.Subscription) (*v1beta1.Subscription, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSubscriptions) Watch ¶
func (c *FakeSubscriptions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested subscriptions.