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