Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeChannels
- func (c *FakeChannels) Create(channel *v1alpha1.Channel) (result *v1alpha1.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 *v1alpha1.Channel, err error)
- func (c *FakeChannels) List(opts v1.ListOptions) (result *v1alpha1.ChannelList, err error)
- func (c *FakeChannels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) Update(channel *v1alpha1.Channel) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) UpdateStatus(channel *v1alpha1.Channel) (*v1alpha1.Channel, error)
- func (c *FakeChannels) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDecorators
- func (c *FakeDecorators) Create(decorator *v1alpha1.Decorator) (result *v1alpha1.Decorator, err error)
- func (c *FakeDecorators) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDecorators) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDecorators) Get(name string, options v1.GetOptions) (result *v1alpha1.Decorator, err error)
- func (c *FakeDecorators) List(opts v1.ListOptions) (result *v1alpha1.DecoratorList, err error)
- func (c *FakeDecorators) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Decorator, err error)
- func (c *FakeDecorators) Update(decorator *v1alpha1.Decorator) (result *v1alpha1.Decorator, err error)
- func (c *FakeDecorators) UpdateStatus(decorator *v1alpha1.Decorator) (*v1alpha1.Decorator, error)
- func (c *FakeDecorators) 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 FakeChannels ¶
type FakeChannels struct { Fake *FakeMessagingV1alpha1 // 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 *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 ¶
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 FakeDecorators ¶ added in v0.8.1
type FakeDecorators struct { Fake *FakeMessagingV1alpha1 // contains filtered or unexported fields }
FakeDecorators implements DecoratorInterface
func (*FakeDecorators) Create ¶ added in v0.8.1
func (c *FakeDecorators) Create(decorator *v1alpha1.Decorator) (result *v1alpha1.Decorator, err error)
Create takes the representation of a decorator and creates it. Returns the server's representation of the decorator, and an error, if there is any.
func (*FakeDecorators) Delete ¶ added in v0.8.1
func (c *FakeDecorators) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the decorator and deletes it. Returns an error if one occurs.
func (*FakeDecorators) DeleteCollection ¶ added in v0.8.1
func (c *FakeDecorators) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDecorators) Get ¶ added in v0.8.1
func (c *FakeDecorators) Get(name string, options v1.GetOptions) (result *v1alpha1.Decorator, err error)
Get takes name of the decorator, and returns the corresponding decorator object, and an error if there is any.
func (*FakeDecorators) List ¶ added in v0.8.1
func (c *FakeDecorators) List(opts v1.ListOptions) (result *v1alpha1.DecoratorList, err error)
List takes label and field selectors, and returns the list of Decorators that match those selectors.
func (*FakeDecorators) Patch ¶ added in v0.8.1
func (c *FakeDecorators) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Decorator, err error)
Patch applies the patch and returns the patched decorator.
func (*FakeDecorators) Update ¶ added in v0.8.1
func (c *FakeDecorators) Update(decorator *v1alpha1.Decorator) (result *v1alpha1.Decorator, err error)
Update takes the representation of a decorator and updates it. Returns the server's representation of the decorator, and an error, if there is any.
func (*FakeDecorators) UpdateStatus ¶ added in v0.8.1
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDecorators) Watch ¶ added in v0.8.1
func (c *FakeDecorators) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested decorators.
type FakeMessagingV1alpha1 ¶
func (*FakeMessagingV1alpha1) Channels ¶
func (c *FakeMessagingV1alpha1) Channels(namespace string) v1alpha1.ChannelInterface
func (*FakeMessagingV1alpha1) Decorators ¶ added in v0.8.1
func (c *FakeMessagingV1alpha1) Decorators(namespace string) v1alpha1.DecoratorInterface
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.