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